Skip to content

Commit

Permalink
lib.hydraJob: Accept __cleanAttrs packages
Browse files Browse the repository at this point in the history
  • Loading branch information
roberth committed Feb 20, 2023
1 parent 8cc5bbe commit f4823d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/customisation.nix
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,8 @@ rec {
outputs = drv.outputs or ["out"];

commonAttrs =
{ inherit (drv) name system meta; inherit outputs; }
{ inherit (drv) name meta; inherit outputs; }
// lib.optionalAttrs (drv?system) { inherit (drv) system; }
// lib.optionalAttrs (drv._hydraAggregate or false) {
_hydraAggregate = true;
constituents = map hydraJob (lib.flatten drv.constituents);
Expand Down

0 comments on commit f4823d6

Please sign in to comment.