forked from mirrors/nixpkgs
Merge pull request #177888 from Artturin/python3fixcross
python3: fix wrong platform libs when cross-compiling
This commit is contained in:
commit
6ac66ecd71
|
@ -82,7 +82,7 @@ let
|
|||
|
||||
passthru = let
|
||||
# When we override the interpreter we also need to override the spliced versions of the interpreter
|
||||
inputs' = lib.filterAttrs (_: v: ! lib.isDerivation v) inputs;
|
||||
inputs' = lib.filterAttrs (n: v: ! lib.isDerivation v && n != "passthruFun") inputs;
|
||||
override = attr: let python = attr.override (inputs' // { self = python; }); in python;
|
||||
in passthruFun rec {
|
||||
inherit self sourceVersion packageOverrides;
|
||||
|
|
Loading…
Reference in a new issue