Fix the rebuildCD test

http://hydra.nixos.org/build/5500743
This commit is contained in:
Eelco Dolstra 2013-07-09 15:29:29 +02:00
parent e962c62162
commit 60f1424cde

View File

@ -25,6 +25,7 @@ let
pkgs.docbook5_xsl
pkgs.grub
pkgs.perlPackages.XMLLibXML
pkgs.unionfs-fuse
];
}
];
@ -334,8 +335,7 @@ in {
"sed -i 's,^}\$,jobs.sshd.startOn = pkgs.lib.mkOverride 0 \"startup\"; },' /etc/nixos/configuration.nix"
);
my $cfg = $machine->succeed("cat /etc/nixos/configuration.nix");
print STDERR "New CD config:\n$cfg\n";
$machine->succeed("cat /etc/nixos/configuration.nix >&2");
# Apply the new CD configuration.
$machine->succeed("nixos-rebuild test");