liminix/shell.nix

15 lines
494 B
Nix
Raw Normal View History

let
nixpkgs = <nixpkgs>;
liminix = (import ./default.nix {
device = (import ./devices/qemu);
liminix-config = ./vanilla-configuration.nix;
inherit nixpkgs;
});
2023-02-17 21:41:55 +01:00
in liminix.buildEnv.overrideAttrs (o: {
nativeBuildInputs = o.nativeBuildInputs ++ [ (import nixpkgs {}).sphinx ] ;
shellHook = ''
publish(){ make -C doc html && rsync -azv doc/_build/html/ myhtic.telent.net:/var/www/blogs/www.liminix.org/_site/doc; }
'';
FENNEL_PATH = "pkgs/?/init.fnl;pkgs/?.fnl";
2023-02-17 21:41:55 +01:00
})