From 7fc5d2934dad50eaf0cd464d867684c94ed6132e Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Fri, 8 Sep 2023 21:01:39 +0100 Subject: [PATCH] set FENNEL_PATH using absolute paths --- shell.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shell.nix b/shell.nix index 071224ec..02b7cd8c 100644 --- a/shell.nix +++ b/shell.nix @@ -5,10 +5,11 @@ let liminix-config = ./vanilla-configuration.nix; inherit nixpkgs; }); + here = builtins.toString ./.; 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"; + FENNEL_PATH = "${here}/pkgs/?/init.fnl;${here}/pkgs/?.fnl"; })