mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 15:58:36 +00:00
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;
|
||||
}));
|
||||
|
||||
passthru = {
|
||||
updateScript = let
|
||||
passthru.updateScript = let
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue