From 6802a750764e82eb883f951a0f7226178a60ec70 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 3 Aug 2009 12:36:15 +0000 Subject: [PATCH] * nixos-rebuild: replaced some environment variables with options (e.g. --install-grub instead of $NIXOS_INSTALL_GRUB). Also support some nix-build options (e.g. --show-trace and -j). svn path=/nixos/branches/modular-nixos/; revision=16560 --- modules/installer/tools/nixos-rebuild.sh | 55 ++++++++++++++++++------ modules/system/etc/etc.nix | 2 +- 2 files changed, 43 insertions(+), 14 deletions(-) diff --git a/modules/installer/tools/nixos-rebuild.sh b/modules/installer/tools/nixos-rebuild.sh index cd6a3569895f..99da4e1431a2 100644 --- a/modules/installer/tools/nixos-rebuild.sh +++ b/modules/installer/tools/nixos-rebuild.sh @@ -11,20 +11,34 @@ showSyntax() { # !!! more or less cut&paste from # system/switch-to-configuration.sh (which we call, of course). cat <