From 7eb7abdfd21c09530c76ab966850f71f7795fca2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Thu, 7 Oct 2010 21:16:05 +0000 Subject: [PATCH] Set assertions requiring specific systems for some system tarballs. svn path=/nixos/branches/stdenv-updates/; revision=24154 --- release.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/release.nix b/release.nix index 8a48f46ad35..aa1fdb8469e 100644 --- a/release.nix +++ b/release.nix @@ -135,11 +135,15 @@ let 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"; };