@@ -36,7 +36,7 @@ rec {
3636 overrideDerivation = drv: f:
3737 let
3838 newDrv = derivation (drv.drvAttrs // (f drv));
39− in addPassthru newDrv (
39+ in lib.flip addPassthru newDrv (
4040 { meta = drv.meta or {};
4141 passthru = if drv ? passthru then drv.passthru else {};
4242 }
@@ -157,7 +157,7 @@ rec {
157157
158158 /* Add attributes to each output of a derivation without changing
159159 the derivation itself. */
160− addPassthru = drv: passthru: extendDerivation true passthru drv;
160+ addPassthru = extendDerivation true;
161161
162162 /* Strip a derivation of all non-essential attributes, returning
163163 only those needed by hydra-eval-jobs. Also strictly evaluate the