Fix eval-flake
for paths containing spaces
This commit is contained in:
parent
aadc8c87f8
commit
939ca1082e
|
@ -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" \
|
||||
|
|
Loading…
Reference in a new issue