lib.addPassthru: removed as scheduled

This commit is contained in:
Vladimír Čunát
2018-03-03 17:57:38 +01:00
parent 183f77f85f
commit 7b2cf5b12e
3 changed files with 2 additions and 8 deletions
-6
View File
@@ -155,12 +155,6 @@ rec {
outPath = assert condition; drv.outPath;
};
/* Add attributes to each output of a derivation without changing
the derivation itself. */
addPassthru =
lib.warn "`addPassthru drv passthru` is deprecated, replace with `extendDerivation true passthru drv`"
(drv: passthru: extendDerivation true passthru drv);
/* Strip a derivation of all non-essential attributes, returning
only those needed by hydra-eval-jobs. Also strictly evaluate the
result to ensure that there are no thunks kept alive to prevent