about summary refs log tree commit diff homepage
path: root/shell.nix
blob: 667fe4128e0ed97f984c9cb674762a1fc0fb96c4 (plain) (blame)
1
2
3
4
5
6
7
8
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
  '';
}