home-manager: allow overriding pkgs with --arg(str) (#1889)
This commit is contained in:
parent
cbf0667037
commit
90223cf3eb
|
@ -421,6 +421,7 @@ function doHelp() {
|
||||||
echo
|
echo
|
||||||
echo "Options passed on to nix-build(1)"
|
echo "Options passed on to nix-build(1)"
|
||||||
echo
|
echo
|
||||||
|
echo " --arg(str) NAME VALUE Override inputs passed to home-manager.nix"
|
||||||
echo " --cores NUM"
|
echo " --cores NUM"
|
||||||
echo " --keep-failed"
|
echo " --keep-failed"
|
||||||
echo " --keep-going"
|
echo " --keep-going"
|
||||||
|
@ -497,7 +498,7 @@ while [[ $# -gt 0 ]]; do
|
||||||
-n|--dry-run)
|
-n|--dry-run)
|
||||||
export DRY_RUN=1
|
export DRY_RUN=1
|
||||||
;;
|
;;
|
||||||
--option)
|
--option|--arg|--argstr)
|
||||||
PASSTHROUGH_OPTS+=("$opt" "$1" "$2")
|
PASSTHROUGH_OPTS+=("$opt" "$1" "$2")
|
||||||
shift 2
|
shift 2
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue