diff options
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/default.nix b/default.nix index c8d1af9d5472..832cc2448105 100644 --- a/default.nix +++ b/default.nix @@ -115,10 +115,9 @@ readTree.fix (self: (readDepot { }); # Derivation that gcroots all depot targets. - ci.gcroot = with self.third_party.nixpkgs; makeSetupHook - { - name = "depot-gcroot"; - depsTargetTargetPropagated = self.ci.targets; - } - emptyFile; + ci.gcroot = with self.third_party.nixpkgs; writeText "depot-gcroot" + (builtins.concatStringsSep "\n" + (lib.flatten + (map (p: map (o: p.${o}) p.outputs or [ ]) # list all outputs of each drv + self.ci.targets))); }) |