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 860cbf7890
commit 2b4715d3ef

View file

@ -111,11 +111,9 @@ let
# to simulate the Nixpkgs channel.
$webserver->start;
$webserver->waitForJob("httpd");
$webserver->mustSucceed("mkdir /tmp/channel");
$webserver->mustSucceed(
"nix-push file:///tmp/channel " .
"http://nixos.org/releases/nixos/channels/nixos-unstable " .
"file:///tmp/channel/MANIFEST ${toString channelContents} >&2");
$webserver->succeed(
"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.