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 {};
|
||||
}
|
||||
|
|
|
@ -134,7 +134,7 @@ let
|
|||
passthru = kernel.passthru // (removeAttrs passthru [ "passthru" ]);
|
||||
};
|
||||
|
||||
addPassthru' = lib.addPassthru passthru;
|
||||
addPassthru' = lib.extendDerivation true passthru;
|
||||
|
||||
nativeDrv = addPassthru' kernel.nativeDrv;
|
||||
|
||||
|
|
Loading…
Reference in a new issue