From 06256e22d80978882939471383e7108488198fde Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 11 Dec 2006 01:03:26 +0000 Subject: [PATCH] * A script to test configurations, i.e., make them current without making them the boot default. So if we screw up, we can just reset to get back to normal. svn path=/nixos/trunk/; revision=7303 --- configuration/boot-environment.nix | 2 +- test.sh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100755 test.sh diff --git a/configuration/boot-environment.nix b/configuration/boot-environment.nix index 5ffe95760267..4c4092bf3c97 100644 --- a/configuration/boot-environment.nix +++ b/configuration/boot-environment.nix @@ -271,8 +271,8 @@ rec { pkgs.nettools pkgs.perl pkgs.procps + pkgs.pwdutils pkgs.rsync - pkgs.shadowutils pkgs.strace pkgs.sysklogd pkgs.udev diff --git a/test.sh b/test.sh new file mode 100755 index 000000000000..6bb66bf742ea --- /dev/null +++ b/test.sh @@ -0,0 +1,4 @@ +#! /bin/sh +set -e +nix-build configuration/system-configuration.nix -A systemConfiguration -K -k +./result/bin/switch-to-configuration test