From 3e89d56999d58ae9c8ad75e919dc51b7a78d041c Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Fri, 28 Aug 2009 06:57:08 +0000 Subject: [PATCH] Trying meta-based selection again svn path=/nixpkgs/trunk/; revision=16885 --- pkgs/top-level/release.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/top-level/release.nix b/pkgs/top-level/release.nix index a5202947bc9..c3ea3845a44 100644 --- a/pkgs/top-level/release.nix +++ b/pkgs/top-level/release.nix @@ -33,7 +33,7 @@ let (pkgs.lib.getAttrFromPath path pkgs); in testOn job.systems getPkg); -/* selectMaintained = attrSet: let + selectMaintained = attrSet: let pairs = pkgs.lib.concatMap (x: let val = builtins.tryEval (processPackage (builtins.getAttr x attrSet)); in if val.success && val.value != [] then [{name=x; value=val.value;}] else []) @@ -48,7 +48,7 @@ let if attrSet.meta.maintainers != [] then attrSet.meta.platforms else - []; */ + []; /* Common platform groups on which to test packages. */ inherit (pkgs.lib.platforms) linux darwin cygwin allBut all; @@ -62,7 +62,7 @@ in { tarball = import ./make-tarball.nix; -} // (mapTestOn (/*(selectMaintained pkgs) // */ rec { +} // (mapTestOn ((selectMaintained pkgs) // rec { MPlayer = linux; abcde = linux;