mirror of
https://github.com/nix-community/disko.git
synced 2024-09-17 09:37:17 +03:00
fix: unquoted flake ref
This commit is contained in:
parent
f43f106e91
commit
dd142cd8a2
2
disko
2
disko
@ -118,7 +118,7 @@ if [[ -n "${flake+x}" ]]; then
|
|||||||
echo "For example, to use the output diskoConfigurations.foo from the flake.nix, append \"#foo\" to the flake-uri."
|
echo "For example, to use the output diskoConfigurations.foo from the flake.nix, append \"#foo\" to the flake-uri."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
nix_args+=("--arg" "flake" "$flake")
|
nix_args+=("--arg" "flake" "\"$flake\"")
|
||||||
nix_args+=("--argstr" "flakeAttr" "$flakeAttr")
|
nix_args+=("--argstr" "flakeAttr" "$flakeAttr")
|
||||||
nix_args+=(--extra-experimental-features flakes)
|
nix_args+=(--extra-experimental-features flakes)
|
||||||
elif [[ -n "${disko_config+x}" ]] && [[ -e "$disko_config" ]]; then
|
elif [[ -n "${disko_config+x}" ]] && [[ -e "$disko_config" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user