python3: don't use sysconfigdataHook on darwin
Resolves issue when building wheels which is a regression introduced by
1a65c5df5f
```
AssertionError: would build wheel with unsupported tag ('cp38', 'cp38',
'darwin_x86_64')
```
This commit is contained in:
parent
67bbf2c845
commit
5c8df2235a
1 changed files with 1 additions and 1 deletions
|
@ -370,7 +370,7 @@ in with passthru; stdenv.mkDerivation {
|
|||
|
||||
# Add CPython specific setup-hook that configures distutils.sysconfig to
|
||||
# always load sysconfigdata from host Python.
|
||||
postFixup = ''
|
||||
postFixup = stdenv.lib.optionalString (!stdenv.hostPlatform.isDarwin) ''
|
||||
cat << "EOF" >> "$out/nix-support/setup-hook"
|
||||
${sysconfigdataHook}
|
||||
EOF
|
||||
|
|
Loading…
Reference in a new issue