liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

shell.nix (535B)


      1 let
      2   nixpkgs = <nixpkgs>;
      3   liminix = (
      4     import ./default.nix {
      5       device = (import ./devices/qemu);
      6       liminix-config = ./vanilla-configuration.nix;
      7     }
      8   );
      9   here = builtins.toString ./.;
     10 in
     11 liminix.buildEnv.overrideAttrs (o: {
     12   nativeBuildInputs = o.nativeBuildInputs ++ [ (import nixpkgs { }).sphinx ];
     13   shellHook = ''
     14     publish(){  make -C doc html && rsync -azv doc/_build/html/ myhtic.telent.net:/var/www/blogs/www.liminix.org/_site/doc; }
     15   '';
     16   FENNEL_PATH = "${here}/pkgs/?/init.fnl;${here}/pkgs/?.fnl";
     17 })