summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2022-11-10 12:34:45 +0100
committerlassulus <lassulus@lassul.us>2022-11-10 12:34:45 +0100
commit90178d4391643e349565cb953d5f6e212ad6061d (patch)
tree89ca50b07a18f1acaccab8061d70c842b28cc48c
parentd61fd1522b0477b376418edb9dc1ea336af29f89 (diff)
disko: enable flakes if flake was given
-rwxr-xr-xdisko1
1 files changed, 1 insertions, 0 deletions
diff --git a/disko b/disko
index a1c106b..6cb869a 100755
--- a/disko
+++ b/disko
@@ -98,6 +98,7 @@ if [[ ! -z "${flake+x}" ]]; then
fi
nix_args+=("--arg" "flake" "$flake")
nix_args+=("--argstr" "flakeAttr" "$flakeAttr")
+ nix_args+=(--extra-experimental-features flakes)
elif [[ ! -z "${disko_config+x}" ]] && [[ -e "$disko_config" ]]; then
nix_args+=("--arg" "diskoFile" "$disko_config")
else