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