diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2023-02-16 20:52:49 +0900 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2023-02-16 20:52:49 +0900 |
commit | 21f317aab2368ec6ef341dc23b4257ffa24946af (patch) | |
tree | f525eb1f04c031dc5b3d3817e7588f860d0cad3f /shell.nix | |
parent | e24d423e566d3cc688acd359991359d59990e3cb (diff) | |
download | px-21f317aab2368ec6ef341dc23b4257ffa24946af.tar.gz |
Use symlink instead of meta refresh redirect
I couldn't figure out a way to disable caching for the latter.
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..667fe41 --- /dev/null +++ b/shell.nix @@ -0,0 +1,9 @@ +with import <nixpkgs> {}; +mkShell { + packages = [ busybox epeg inotify-tools libxslt webfs ]; + shellHook = '' + make -j $(nproc) live + webfsd -p 28792 -f index.xml + trap "kill $(pgrep -f 'webfsd -p 28792')" EXIT INT TERM + ''; +} |