diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2018-03-03 17:57:20 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2018-03-03 17:57:38 +0100 |
commit | 7b2cf5b12ee972888f987d9c0ca7a7c09a08c0d7 (patch) | |
tree | fada224a83281921d114006af814451f768e3743 /lib/customisation.nix | |
parent | 183f77f85f2aeeefff4b6fc1a92577542548c8a3 (diff) | |
download | nixpkgs-7b2cf5b12ee972888f987d9c0ca7a7c09a08c0d7.tar nixpkgs-7b2cf5b12ee972888f987d9c0ca7a7c09a08c0d7.tar.gz nixpkgs-7b2cf5b12ee972888f987d9c0ca7a7c09a08c0d7.tar.bz2 nixpkgs-7b2cf5b12ee972888f987d9c0ca7a7c09a08c0d7.tar.lz nixpkgs-7b2cf5b12ee972888f987d9c0ca7a7c09a08c0d7.tar.xz nixpkgs-7b2cf5b12ee972888f987d9c0ca7a7c09a08c0d7.tar.zst nixpkgs-7b2cf5b12ee972888f987d9c0ca7a7c09a08c0d7.zip |
lib.addPassthru: removed as scheduled
Diffstat (limited to 'lib/customisation.nix')
-rw-r--r-- | lib/customisation.nix | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/customisation.nix b/lib/customisation.nix index 823395f04d4..d942f54ee79 100644 --- a/lib/customisation.nix +++ b/lib/customisation.nix @@ -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 |