mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-19 07:01:12 +00:00
python2Packages.buildPythonPackage: port respect user-specified passthru attrs
Port to python2/mk-python-derivation.nix commit d6a757bb01
("buildPython*: prioritize user-specified passthru attrs").
This commit is contained in:
@@ -272,14 +272,17 @@ let
|
||||
|
||||
outputs = outputs ++ lib.optional withDistOutput "dist";
|
||||
|
||||
passthru.updateScript =
|
||||
let
|
||||
filename = builtins.head (lib.splitString ":" self.meta.position);
|
||||
in
|
||||
attrs.passthru.updateScript or [
|
||||
update-python-libraries
|
||||
filename
|
||||
];
|
||||
passthru = {
|
||||
updateScript =
|
||||
let
|
||||
filename = builtins.head (lib.splitString ":" self.meta.position);
|
||||
in
|
||||
[
|
||||
update-python-libraries
|
||||
filename
|
||||
];
|
||||
}
|
||||
// passthru;
|
||||
|
||||
meta = {
|
||||
# default to python's platforms
|
||||
|
||||
Reference in New Issue
Block a user