diff options
Diffstat (limited to 'shell.nix')
-rw-r--r-- | shell.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..3d46a11 --- /dev/null +++ b/shell.nix @@ -0,0 +1,9 @@ +{ pkgs ? import <nixpkgs> { } }: +pkgs.mkShell { + buildInputs = [ + (pkgs.writers.writeDashBin "develop" '' + set -efu + find src | entr -rs '( cd $(nix-build --no-out-link -A nomath-website) && python -m http.server )' + '') + ]; +} |