Compare commits

...

2 Commits

Author SHA1 Message Date
Rachel Lambda Samuelsson 47be859ef7 fix flake 2023-08-02 17:04:41 +02:00
Rachel Lambda Samuelsson cd5df7b956 add flake 2023-08-02 17:01:40 +02:00
4 changed files with 37 additions and 1 deletions

View File

@ -13,6 +13,8 @@ exclude:
- "readme.md"
- "LICENSE"
- "shell.nix"
- "flake.nix"
- "flake.lock"
katex:
rendering_options:

24
flake.lock 100644
View File

@ -0,0 +1,24 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1690630041,
"narHash": "sha256-gbnvqm5goS9DSKAqGFpq3398aOpwejmq4qWikqmQyRo=",
"path": "/nix/store/qxgp86sdhxwzj0k89kz2aaw0xw7d8f6i-source",
"rev": "d57e8c535d4cbb07f441c30988ce52eec69db7a8",
"type": "path"
},
"original": {
"id": "nixpkgs",
"type": "indirect"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

9
flake.nix 100644
View File

@ -0,0 +1,9 @@
{
description = "My website";
outputs = { self, nixpkgs }: {
devShells.x86_64-linux.default = import ./shell.nix {
pkgs = nixpkgs.legacyPackages."x86_64-linux";
};
};
}

View File

@ -1,4 +1,5 @@
with import <nixpkgs> {}; let
{ pkgs, ... }:
with pkgs; let
json-minify = (buildRubyGem {
gemName = "json-minify";