Maybe using the actual overridden packages will work?
svn path=/nixpkgs/trunk/; revision=17312
This commit is contained in:
parent
9d1a48de59
commit
b13ead6f28
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user