buildPython*: don't override custom updateScript
This commit is contained in:
parent
b46276658f
commit
3d5025ba79
@ -110,9 +110,7 @@ let self = toPythonModule (python.stdenv.mkDerivation (builtins.removeAttrs attr
|
|||||||
} // meta;
|
} // meta;
|
||||||
}));
|
}));
|
||||||
|
|
||||||
passthru = {
|
passthru.updateScript = let
|
||||||
updateScript = let
|
|
||||||
filename = builtins.head (lib.splitString ":" self.meta.position);
|
filename = builtins.head (lib.splitString ":" self.meta.position);
|
||||||
in [ update-python-libraries filename ];
|
in attrs.passthru.updateScript or [ update-python-libraries filename ];
|
||||||
};
|
|
||||||
in lib.extendDerivation true passthru self
|
in lib.extendDerivation true passthru self
|
||||||
|
Loading…
x
Reference in New Issue
Block a user