summary refs log tree commit diff
path: root/pkgs/top-level/release-lib.nix
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-03-09 16:31:36 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-03-09 16:31:36 +0000
commit70b2dd393c6822c86070dacfdc9bd1487d03a1f8 (patch)
treeecaab5d64b9b7c17d8744e4c43141dc1855e6477 /pkgs/top-level/release-lib.nix
parentd9b48d35fbd884bc9682362197f92e7571433f61 (diff)
parent5b90cc5b6288f5ce3ae4e478bc07038e00d221f9 (diff)
Updating from trunk (to get uclibc changes...)
I want to cross-build utillinux and coreutils, and that play will have to go in stdenv-updates I think.


svn path=/nixpkgs/branches/stdenv-updates/; revision=20506
Diffstat (limited to 'pkgs/top-level/release-lib.nix')
-rw-r--r--pkgs/top-level/release-lib.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/top-level/release-lib.nix b/pkgs/top-level/release-lib.nix
index 91f99c59bfe2a..64530930ee50d 100644
--- a/pkgs/top-level/release-lib.nix
+++ b/pkgs/top-level/release-lib.nix
@@ -52,13 +52,13 @@ rec {
     (path: value:
       let
         job = toJob value;
-        getPkg = pkgs: setCrossMaintainers
-          (pkgs.lib.addMetaAttrs { schedulingPriority = toString job.schedulingPriority; }
-          (pkgs.lib.getAttrFromPath (path ++ ["hostDrv"]) pkgs));
+        getPkg = pkgs: (pkgs.lib.addMetaAttrs {
+            schedulingPriority = toString job.schedulingPriority;
+            maintainers = crossMaintainers; 
+          }
+          (pkgs.lib.getAttrFromPath path pkgs));
       in testOnCross crossSystem job.systems getPkg);
 
-  setCrossMaintainers = pkg: pkg // { meta.maintainers = crossMaintainers; };
-
   /* Find all packages that have a meta.platforms field listing the
      supported platforms. */
   packagesWithMetaPlatform = attrSet: