Merge pull request #177888 from Artturin/python3fixcross

python3: fix wrong platform libs when cross-compiling
main
adisbladis 2 years ago committed by GitHub
commit 6ac66ecd71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkgs/development/interpreters/python/cpython/default.nix

@ -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…
Cancel
Save