mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
lib: deprecate addPassthru
This commit is contained in:
parent
85cd22cf7d
commit
41df994001
1 changed files with 2 additions and 1 deletions
|
@ -157,7 +157,8 @@ rec {
|
|||
|
||||
/* Add attributes to each output of a derivation without changing
|
||||
the derivation itself. */
|
||||
addPassthru = extendDerivation true;
|
||||
addPassthru = lib.warn "`addPassthru` is deprecated, replace with `extendDerivation true`"
|
||||
(extendDerivation true);
|
||||
|
||||
/* Strip a derivation of all non-essential attributes, returning
|
||||
only those needed by hydra-eval-jobs. Also strictly evaluate the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue