nixos-rebuild: passthru accept-flake-config

This commit is contained in:
Sandro Jäckel 2023-01-04 23:43:28 +01:00
parent 6dd2f029a7
commit 89ef7b76f3
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 3 additions and 1 deletions

View File

@ -34,6 +34,7 @@
.Op Fl -show-trace
.Op Fl I Va NIX_PATH
.Op Fl -verbose | v
.Op Fl -accept-flake-config
.Op Fl -impure
.Op Fl -max-jobs | j Va number
.Op Fl -keep-failed | K
@ -393,6 +394,7 @@ accepts various Nix-related flags, including
.Fl -max-jobs Ns ,
.Fl j Ns ,
.Fl I Ns ,
.Fl -accept-flake-config Ns ,
.Fl -show-trace Ns ,
.Fl -keep-failed Ns ,
.Fl -keep-going Ns ,

View File

@ -82,7 +82,7 @@ while [ "$#" -gt 0 ]; do
j="$1"; shift 1
extraBuildFlags+=("$i" "$j")
;;
-j*|--quiet|--print-build-logs|-L|--no-build-output|-Q| --show-trace|--keep-going|-k|--keep-failed|-K|--fallback|--refresh|--repair|--impure|--offline|--no-net)
--accept-flake-config|-j*|--quiet|--print-build-logs|-L|--no-build-output|-Q| --show-trace|--keep-going|-k|--keep-failed|-K|--fallback|--refresh|--repair|--impure|--offline|--no-net)
extraBuildFlags+=("$i")
;;
--verbose|-v|-vv|-vvv|-vvvv|-vvvvv)