scrubDrv: Don't scrub the system and meta attributes

This commit is contained in:
Eelco Dolstra 2014-09-22 16:58:02 +02:00
parent d49991e40a
commit a2971118ac

View File

@ -11,7 +11,7 @@ let
forAllSystems = pkgs.lib.genAttrs supportedSystems;
scrubDrv = drv: let res = { inherit (drv) drvPath outPath type name; outputName = "out"; out = res; }; in res;
scrubDrv = drv: let res = { inherit (drv) drvPath outPath type name system meta; outputName = "out"; out = res; }; in res;
callTest = fn: args: forAllSystems (system: scrubDrv (import fn ({ inherit system; } // args)));