Author: viric
Date: Thu Oct  7 21:16:05 2010
New Revision: 24154
URL: https://svn.nixos.org/websvn/nix/?rev=24154&sc=1

Log:
Set assertions requiring specific systems for some system tarballs.

Modified:
   nixos/branches/stdenv-updates/release.nix

Modified: nixos/branches/stdenv-updates/release.nix
==============================================================================
--- nixos/branches/stdenv-updates/release.nix   Thu Oct  7 21:03:23 2010        
(r24153)
+++ nixos/branches/stdenv-updates/release.nix   Thu Oct  7 21:16:05 2010        
(r24154)
@@ -135,11 +135,15 @@
       module = ./modules/installer/cd-dvd/system-tarball-pc.nix;
     };
 
-    system_tarball_fuloong2f = makeSystemTarball {
+    system_tarball_fuloong2f =
+        assert builtins.currentSystem == "mips64-linux";
+      makeSystemTarball {
       module = ./modules/installer/cd-dvd/system-tarball-fuloong2f.nix;
     } { system = "mips64-linux"; };
 
-    system_tarball_sheevaplug = makeSystemTarball {
+    system_tarball_sheevaplug =
+        assert builtins.currentSystem == "armv5tel-linux";
+      makeSystemTarball {
       module = ./modules/installer/cd-dvd/system-tarball-sheevaplug.nix;
     } { system = "armv5tel-linux"; };
 
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to