nixos-rebuild: Support Nix's --repair flag

This commit is contained in:
Eelco Dolstra 2013-07-15 13:06:21 +02:00
parent 69eeb83039
commit 986e236068

View file

@ -71,7 +71,7 @@ while [ "$#" -gt 0 ]; do
--upgrade)
upgrade=1
;;
--show-trace|--no-build-hook|--keep-failed|-K|--keep-going|-k|--verbose|-v|--fallback)
--show-trace|--no-build-hook|--keep-failed|-K|--keep-going|-k|--verbose|-v|--fallback|--repair)
extraBuildFlags+=("$i")
;;
--max-jobs|-j|--cores|-I)