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. # to simulate the Nixpkgs channel.
$webserver->start; $webserver->start;
$webserver->waitForJob("httpd"); $webserver->waitForJob("httpd");
$webserver->mustSucceed("mkdir /tmp/channel"); $webserver->succeed(
$webserver->mustSucceed( "nix-push --bzip2 --dest /tmp/channel --manifest --url-prefix http://nixos.org/channels/nixos-unstable " .
"nix-push file:///tmp/channel " . "${toString channelContents} >&2");
"http://nixos.org/releases/nixos/channels/nixos-unstable " .
"file:///tmp/channel/MANIFEST ${toString channelContents} >&2");
''} ''}
# Make sure that we get a login prompt etc. # Make sure that we get a login prompt etc.