mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-05 09:11:39 -05:00
Dont strip binary wheels
This commit is contained in:
parent
719f74ef4c
commit
224973c59c
1 changed files with 7 additions and 1 deletions
|
@ -84,14 +84,20 @@ pythonPackages.callPackage (
|
||||||
|
|
||||||
baseBuildInputs = lib.optional (name != "setuptools_scm" && name != "setuptools-scm") pythonPackages.setuptools_scm;
|
baseBuildInputs = lib.optional (name != "setuptools_scm" && name != "setuptools-scm") pythonPackages.setuptools_scm;
|
||||||
|
|
||||||
|
format = if isLocal then "pyproject" else if isGit then "setuptools" else fileInfo.format;
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
buildPythonPackage {
|
buildPythonPackage {
|
||||||
pname = name;
|
pname = name;
|
||||||
version = version;
|
version = version;
|
||||||
|
|
||||||
|
inherit format;
|
||||||
|
|
||||||
doCheck = false; # We never get development deps
|
doCheck = false; # We never get development deps
|
||||||
format = if isLocal then "pyproject" else if isGit then "setuptools" else fileInfo.format;
|
|
||||||
|
# Stripping pre-built wheels lead to `ELF load command address/offset not properly aligned`
|
||||||
|
dontStrip = format == "wheel";
|
||||||
|
|
||||||
nativeBuildInputs = if (!isSource && (getManyLinuxDeps fileInfo.name).str != null) then [ autoPatchelfHook ] else [];
|
nativeBuildInputs = if (!isSource && (getManyLinuxDeps fileInfo.name).str != null) then [ autoPatchelfHook ] else [];
|
||||||
buildInputs = (
|
buildInputs = (
|
||||||
|
|
Loading…
Add table
Reference in a new issue