mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
add --impure flag for flakes
This commit is contained in:
parent
362c04011b
commit
e4c3940e2d
1 changed files with 3 additions and 2 deletions
|
@ -11,7 +11,8 @@ showSyntax() {
|
|||
echo " [-Q] [{--max-jobs | -j} number] [--cores number] [--dry-run]" >&1
|
||||
echo " [--keep-going] [-k] [--keep-failed] [-K] [--fallback] [--show-trace]" >&2
|
||||
echo " [-I path] [--option name value] [--arg name value] [--argstr name value]" >&2
|
||||
echo " [--flake flake] [--update-input input flake] [--recreate-lock-file] [--no-update-lock-file] ..." >&2
|
||||
echo " [--flake flake] [--update-input input flake] [--impure] [--recreate-lock-file]"
|
||||
echo " [--no-update-lock-file] ..." >&2
|
||||
exec man darwin-rebuild
|
||||
exit 1
|
||||
}
|
||||
|
@ -62,7 +63,7 @@ while [ $# -gt 0 ]; do
|
|||
flake=$1
|
||||
shift 1
|
||||
;;
|
||||
--recreate-lock-file|--no-update-lock-file|--no-write-lock-file|--no-registries|--commit-lock-file)
|
||||
--impure|--recreate-lock-file|--no-update-lock-file|--no-write-lock-file|--no-registries|--commit-lock-file)
|
||||
extraLockFlags+=("$i")
|
||||
;;
|
||||
--update-input)
|
||||
|
|
Loading…
Reference in a new issue