Merge pull request #282 from soispha/master

disko cli: fix error about impurity with nix
This commit is contained in:
Lassulus 2023-06-28 23:02:44 +07:00 committed by GitHub
commit 8002e7cb89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
disko
View file

@ -116,8 +116,10 @@ else
abort "disko config must be an existing file or flake must be set"
fi
# The "--impure" is still pure, as the path is withing the nix store.
script=$(nix-build "${libexec_dir}"/cli.nix \
--no-out-link \
--impure \
--argstr mode "$mode" \
"${nix_args[@]}"
)