From e430f14da39ab40bbd8f5c58d9fe7fb38fca88bb Mon Sep 17 00:00:00 2001 From: Rickard Nilsson Date: Mon, 1 Feb 2016 10:54:58 +0100 Subject: [PATCH] nixos-rebuild: Don't propagate --no-out-link arg to nix-store --- nixos/modules/installer/tools/nixos-rebuild.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nixos/modules/installer/tools/nixos-rebuild.sh b/nixos/modules/installer/tools/nixos-rebuild.sh index f758c08d3b75..e0e79f63fab7 100644 --- a/nixos/modules/installer/tools/nixos-rebuild.sh +++ b/nixos/modules/installer/tools/nixos-rebuild.sh @@ -149,10 +149,11 @@ nixBuild() { local j="$1"; shift 1 instArgs+=("$i" "$j") ;; - -I) - # We don't want this in buildArgs + -I) # We don't want this in buildArgs shift 1 ;; + --no-out-link) # We don't want this in buildArgs + ;; "<"*) # nix paths instArgs+=("$i") ;;