From 94ed14ccef2638055ceee46f88d17698ef1e262f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Fri, 22 Jan 2010 14:59:27 +0000 Subject: [PATCH] Trying to add a cross build to hydra: bisonSheevaplug svn path=/nixpkgs/branches/stdenv-updates/; revision=19614 --- pkgs/top-level/release.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/pkgs/top-level/release.nix b/pkgs/top-level/release.nix index 52851a27dd8..bbae904b04e 100644 --- a/pkgs/top-level/release.nix +++ b/pkgs/top-level/release.nix @@ -4,6 +4,15 @@ let pkgs = allPackages {}; + pkgsSheevaplug = allPackages { + crossSystem = { + config = "armv5tel-unknown-linux-gnueabi"; + bigEndian = false; + arch = "arm"; + float = "soft"; + }; + }; + /* Set the Hydra scheduling priority for a job. The default priority (100) should be used for most jobs. A different priority should only be used for a few particularly interesting @@ -78,6 +87,12 @@ in { tarball = import ./make-tarball.nix; + bisonSheevaplug = let + system = builtins.currentSystem; + in + assert (system == "i686-linux" || system == "x86_64-linux"); + pkgsSheevaplug.bison.hostDrv; + } // (mapTestOn ((packagesWithMetaPlatform pkgs) // rec { MPlayer = linux;