diff options
Diffstat (limited to '.builds/shell.nix')
-rw-r--r-- | .builds/shell.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.builds/shell.nix b/.builds/shell.nix new file mode 100644 index 0000000..3f21d40 --- /dev/null +++ b/.builds/shell.nix @@ -0,0 +1,12 @@ +with import <nixpkgs> {}; +mkShell { + nativeBuildInputs = [ + julia-bin nodejs nodePackages.katex + ] ++ (with python3Packages; [ bleach markdown ]); + + shellHook = '' + npm install highlight.js # https://github.com/NixOS/nixpkgs/issues/152201 + ln -fns ${nodePackages.katex}/lib/node_modules/katex/dist _libs/katex + ln -fs _libs/katex/{fonts,katex.min.css} _css + ''; +} |