From 21f317aab2368ec6ef341dc23b4257ffa24946af Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Thu, 16 Feb 2023 20:52:49 +0900 Subject: Use symlink instead of meta refresh redirect I couldn't figure out a way to disable caching for the latter. --- shell.nix | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 shell.nix (limited to 'shell.nix') 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 {}; +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 + ''; +} -- cgit 1.4.1