From 90223cf3eb33863dff50fc240a5728ebdf249303 Mon Sep 17 00:00:00 2001 From: Sandro Date: Wed, 31 Mar 2021 19:40:37 +0200 Subject: [PATCH] home-manager: allow overriding pkgs with --arg(str) (#1889) --- home-manager/home-manager | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home-manager/home-manager b/home-manager/home-manager index 56caebeb..d1007c9d 100644 --- a/home-manager/home-manager +++ b/home-manager/home-manager @@ -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 ;;