From dd142cd8a255bc078189e19f7950770d4d0c2e5b Mon Sep 17 00:00:00 2001 From: Gerg-L Date: Thu, 21 Sep 2023 22:50:14 -0400 Subject: [PATCH] fix: unquoted flake ref --- disko | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disko b/disko index b274ebe..845b204 100755 --- a/disko +++ b/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." exit 1 fi - nix_args+=("--arg" "flake" "$flake") + nix_args+=("--arg" "flake" "\"$flake\"") nix_args+=("--argstr" "flakeAttr" "$flakeAttr") nix_args+=(--extra-experimental-features flakes) elif [[ -n "${disko_config+x}" ]] && [[ -e "$disko_config" ]]; then