about summary refs log tree commit diff homepage
path: root/live.nix
blob: b18b5ad323b660ced50468c116e69a12e12e57e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
with import <nixpkgs> {};
mkShell {
  packages = [ busybox epeg libxslt webfs ];
  shellHook = ''
    make -j $(nproc) live
    webfsd -p 28792 -f index.xml
    trap "kill $(pgrep -f 'webfsd -p 28792')" EXIT INT TERM
  '';
}