Update channel URLs

This commit is contained in:
Eelco Dolstra
2012-11-12 09:18:59 +01:00
parent d5aae18587
commit 08e6c0cb7c
5 changed files with 11 additions and 9 deletions

View File

@@ -79,7 +79,7 @@ let
{ services.httpd.enable = true;
services.httpd.adminAddr = "foo@example.org";
services.httpd.servedDirs = singleton
{ urlPath = "/releases/nixos/channels/nixos-unstable";
{ urlPath = "/channels/nixos-unstable";
dir = "/tmp/channel";
};
@@ -114,7 +114,7 @@ let
$webserver->succeed("mkdir /tmp/channel");
$webserver->succeed(
"nix-push file:///tmp/channel " .
"http://nixos.org/releases/nixos/channels/nixos-unstable " .
"http://nixos.org/channels/nixos-unstable " .
"file:///tmp/channel/MANIFEST ${toString channelContents} >&2");
''}