mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2025-12-12 16:10:03 +01:00
Merge pull request #282 from soispha/master
disko cli: fix error about impurity with nix
This commit is contained in:
commit
8002e7cb89
1 changed files with 2 additions and 0 deletions
2
disko
2
disko
|
|
@ -116,8 +116,10 @@ else
|
||||||
abort "disko config must be an existing file or flake must be set"
|
abort "disko config must be an existing file or flake must be set"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# The "--impure" is still pure, as the path is withing the nix store.
|
||||||
script=$(nix-build "${libexec_dir}"/cli.nix \
|
script=$(nix-build "${libexec_dir}"/cli.nix \
|
||||||
--no-out-link \
|
--no-out-link \
|
||||||
|
--impure \
|
||||||
--argstr mode "$mode" \
|
--argstr mode "$mode" \
|
||||||
"${nix_args[@]}"
|
"${nix_args[@]}"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue