mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
treewide: replace addPassthru
This commit is contained in:
parent
8606dd8556
commit
85cd22cf7d
2 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ rec {
|
|||
overrideDerivation = drv: f:
|
||||
let
|
||||
newDrv = derivation (drv.drvAttrs // (f drv));
|
||||
in lib.flip addPassthru newDrv (
|
||||
in lib.flip (extendDerivation true) newDrv (
|
||||
{ meta = drv.meta or {};
|
||||
passthru = if drv ? passthru then drv.passthru else {};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue