set FENNEL_PATH using absolute paths
This commit is contained in:
parent
12e25722fa
commit
7fc5d2934d
1 changed files with 2 additions and 1 deletions
|
@ -5,10 +5,11 @@ let
|
||||||
liminix-config = ./vanilla-configuration.nix;
|
liminix-config = ./vanilla-configuration.nix;
|
||||||
inherit nixpkgs;
|
inherit nixpkgs;
|
||||||
});
|
});
|
||||||
|
here = builtins.toString ./.;
|
||||||
in liminix.buildEnv.overrideAttrs (o: {
|
in liminix.buildEnv.overrideAttrs (o: {
|
||||||
nativeBuildInputs = o.nativeBuildInputs ++ [ (import nixpkgs {}).sphinx ] ;
|
nativeBuildInputs = o.nativeBuildInputs ++ [ (import nixpkgs {}).sphinx ] ;
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
publish(){ make -C doc html && rsync -azv doc/_build/html/ myhtic.telent.net:/var/www/blogs/www.liminix.org/_site/doc; }
|
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";
|
FENNEL_PATH = "${here}/pkgs/?/init.fnl;${here}/pkgs/?.fnl";
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue