From 939ca1082e47d245095554148044c37ab2f6acf0 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Fri, 13 Sep 2024 15:07:22 +0200 Subject: [PATCH] Fix `eval-flake` for paths containing spaces --- scripts/Common/Scripts/eval-flake.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Common/Scripts/eval-flake.fish b/scripts/Common/Scripts/eval-flake.fish index f3f22600..c9585e1d 100755 --- a/scripts/Common/Scripts/eval-flake.fish +++ b/scripts/Common/Scripts/eval-flake.fish @@ -15,7 +15,7 @@ function evalFlake --argument-names config property if [ -n "$config" ] set config ".$config" - set _flag_apply "_: ($_flag_apply) ((import $(status dirname)/../../../lib/eval-attribute.nix) _)" + set _flag_apply "_: ($_flag_apply) ((import $(realpath --relative-to (pwd) "$(status dirname)/../../../lib/eval-attribute.nix")) _)" end PROPERTY="$property" \