Fix eval-flake for paths containing spaces

This commit is contained in:
Manuel Thalmann 2024-09-13 15:07:22 +02:00
parent ad22040fbb
commit 66bc662e54

View file

@ -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" \