summaryrefslogtreecommitdiff
path: root/pkgs
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2020-10-18 17:45:17 +0200
committerDaiderd Jordan <daiderd@gmail.com>2020-10-21 18:30:57 +0200
commite4c3940e2d00eab06ba5aa0f23fbbc2181d1b3ea (patch)
tree2ec0e1ecde0f3b39675943fb9eaa68edcc949ab4 /pkgs
parent362c04011b2d5ca81ffa060e7b8b00fccd4f7edf (diff)
add --impure flag for flakes
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/nix-tools/darwin-rebuild.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/nix-tools/darwin-rebuild.sh b/pkgs/nix-tools/darwin-rebuild.sh
index c325103..6d67c20 100644
--- a/pkgs/nix-tools/darwin-rebuild.sh
+++ b/pkgs/nix-tools/darwin-rebuild.sh
@@ -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)