@@ -157,7 +157,8 @@ rec {
157157
158158 /* Add attributes to each output of a derivation without changing
159159 the derivation itself. */
160− addPassthru = extendDerivation true;
160+ addPassthru = lib.warn "`addPassthru` is deprecated, replace with `extendDerivation true`"
161+ (extendDerivation true);
161162
162163 /* Strip a derivation of all non-essential attributes, returning
163164 only those needed by hydra-eval-jobs. Also strictly evaluate the