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 New Issue
Block a user