Update the tarball mirror to use 14.12
Eelco Dolstra committed
Feb 3, 2015 at 15:18 UTC
5d508b42e96cd549d28f34449e0cbdf1921d00fb
1 file changed
+4
-2
nixos-org/webserver.nix
+4
-2
@@ -6,6 +6,8 @@ let
6
7
sshKeys = import ../ssh-keys.nix;
8
9
+ nixosRelease = "14.12";
10
+
11
nixosVHostConfig =
12
{ hostName = "nixos.org";
13
serverAliases = [ "test.nixos.org" "test2.nixos.org" "ipv6.nixos.org" "localhost" ];
@@ -30,7 +32,7 @@ let
32
dir = "/releases/channels/nixpkgs-unstable/manual";
33
}
34
{ urlPath = "/nixos/manual-raw";
33
- dir = "/releases/channels/nixos-14.04/manual";
35
+ dir = "/releases/channels/nixos-${nixosRelease}/manual";
36
}
37
{ urlPath = "/new";
38
dir = "/home/eelco/nixos-homepage-new";
@@ -300,7 +302,7 @@ in
302
''
303
export NIX_CURL_FLAGS="--silent --show-error --connect-timeout 30"
304
cd /home/tarball-mirror/nixpkgs
303
- git checkout release-14.04
305
+ git checkout release-${nixosRelease}
306
git pull
307
exec /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/maintainers/scripts/copy-tarballs.pl
308
'';