Installer test: fix nix-push call

http://hydra.nixos.org/build/3331147
This commit is contained in:
Eelco Dolstra 2012-11-16 16:34:22 +01:00
parent 722a3a7147
commit fe7b3b7f9b

View file

@ -107,11 +107,9 @@ let
# to simulate the Nixpkgs channel.
$webserver->start;
$webserver->waitForUnit("httpd");
$webserver->succeed("mkdir /tmp/channel");
$webserver->succeed(
"nix-push file:///tmp/channel " .
"http://nixos.org/channels/nixos-unstable " .
"file:///tmp/channel/MANIFEST ${toString channelContents} >&2");
"nix-push --bzip2 --dest /tmp/channel --manifest --url-prefix http://nixos.org/channels/nixos-unstable " .
"${toString channelContents} >&2");
''}
# Make sure that we get a login prompt etc.