diff options
author | Jan Malakhovski <oxij@oxij.org> | 2018-01-14 19:54:47 +0000 |
---|---|---|
committer | Jan Malakhovski <oxij@oxij.org> | 2018-01-14 19:54:47 +0000 |
commit | 41df99400149a6747b31c8ed1049f556c9c0e0ed (patch) | |
tree | bc456c3f6a032f401e6f3423930f30107d9024fa /lib/customisation.nix | |
parent | 85cd22cf7df997c35192b28fa3b8f37320ffbe5e (diff) | |
download | nixpkgs-41df99400149a6747b31c8ed1049f556c9c0e0ed.tar nixpkgs-41df99400149a6747b31c8ed1049f556c9c0e0ed.tar.gz nixpkgs-41df99400149a6747b31c8ed1049f556c9c0e0ed.tar.bz2 nixpkgs-41df99400149a6747b31c8ed1049f556c9c0e0ed.tar.lz nixpkgs-41df99400149a6747b31c8ed1049f556c9c0e0ed.tar.xz nixpkgs-41df99400149a6747b31c8ed1049f556c9c0e0ed.tar.zst nixpkgs-41df99400149a6747b31c8ed1049f556c9c0e0ed.zip |
lib: deprecate `addPassthru`
Diffstat (limited to 'lib/customisation.nix')
-rw-r--r-- | lib/customisation.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/customisation.nix b/lib/customisation.nix index 32bc1b34683..fb78335ea1c 100644 --- a/lib/customisation.nix +++ b/lib/customisation.nix @@ -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 |