summary refs log tree commit diff
path: root/nixos/modules/installer/tools/nixos-install.sh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-05-08 21:04:58 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-05-09 00:51:48 +0200
commite0e656ef46851f40b581153facc7bca506143656 (patch)
tree693ee676621d039c3ed9d11b9cce38ad29f96954 /nixos/modules/installer/tools/nixos-install.sh
parent4b7c606589be8440c982dc19bc9497b13e82abce (diff)
downloadnixpkgs-e0e656ef46851f40b581153facc7bca506143656.tar
nixpkgs-e0e656ef46851f40b581153facc7bca506143656.tar.gz
nixpkgs-e0e656ef46851f40b581153facc7bca506143656.tar.bz2
nixpkgs-e0e656ef46851f40b581153facc7bca506143656.tar.lz
nixpkgs-e0e656ef46851f40b581153facc7bca506143656.tar.xz
nixpkgs-e0e656ef46851f40b581153facc7bca506143656.tar.zst
nixpkgs-e0e656ef46851f40b581153facc7bca506143656.zip
nixos-install: Don't pass --show-trace by default
Diffstat (limited to 'nixos/modules/installer/tools/nixos-install.sh')
-rw-r--r--nixos/modules/installer/tools/nixos-install.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/nixos/modules/installer/tools/nixos-install.sh b/nixos/modules/installer/tools/nixos-install.sh
index 359ac43c7d0..b9dffb2bf17 100644
--- a/nixos/modules/installer/tools/nixos-install.sh
+++ b/nixos/modules/installer/tools/nixos-install.sh
@@ -18,6 +18,9 @@ while [ "$#" -gt 0 ]; do
             absolute_path=$(readlink -m $given_path)
             extraBuildFlags+=("$i" "/mnt$absolute_path")
             ;;
+        --show-trace)
+            extraBuildFlags+=("$i")
+            ;;
         --help)
             exec man nixos-install
             exit 1
@@ -198,7 +201,7 @@ mount --bind $(readlink -f $(nix-instantiate --find-file nixpkgs)) $mountPoint/m
 echo "building the system configuration..."
 NIX_PATH="nixpkgs=/mnt-nixpkgs:nixos=/mnt-nixpkgs/nixos:nixos-config=$NIXOS_CONFIG" NIXOS_CONFIG= \
     chroot $mountPoint @nix@/bin/nix-env \
-    "${extraBuildFlags[@]}" -p /nix/var/nix/profiles/system -f '<nixos>' --set -A system --show-trace
+    "${extraBuildFlags[@]}" -p /nix/var/nix/profiles/system -f '<nixos>' --set -A system
 
 
 # Copy the NixOS/Nixpkgs sources to the target as the initial contents