liminix

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

shell.nix (542B)


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