Maybe using the actual overridden packages will work?

svn path=/nixpkgs/trunk/; revision=17312
This commit is contained in:
Michael Raskin 2009-09-20 20:30:00 +00:00
parent 9d1a48de59
commit b13ead6f28

View File

@ -18,7 +18,7 @@ let
for the platform in question. */ for the platform in question. */
testOn = systems: f: {system ? builtins.currentSystem}: testOn = systems: f: {system ? builtins.currentSystem}:
if pkgs.lib.elem system systems if pkgs.lib.elem system systems
then f (allPackages {inherit system;}) then f (pkgs {inherit system;})
else {}; else {};
/* Map an attribute of the form `foo = [platforms...]' to `testOn /* Map an attribute of the form `foo = [platforms...]' to `testOn