fix(v1/python): don't include autoPatchelfHook for darwin

This commit is contained in:
DavHau 2023-05-01 23:02:47 +02:00
parent b49c9bb57f
commit df07956cc5
2 changed files with 4 additions and 4 deletions

View File

@ -235,9 +235,8 @@ in {
dontPatchELF = l.mkDefault true;
dontStrip = l.mkDefault true;
nativeBuildInputs = [
config.deps.autoPatchelfHook
];
nativeBuildInputs =
l.optionals config.deps.stdenv.isLinux [config.deps.autoPatchelfHook];
buildInputs =
l.optionals config.deps.stdenv.isLinux [config.deps.manylinuxPackages];

View File

@ -60,7 +60,8 @@
src = l.mkDefault (l.fetchurl {inherit (metadata.${config.name}) url sha256;});
doCheck = l.mkDefault false;
nativeBuildInputs = [config.deps.autoPatchelfHook];
nativeBuildInputs =
l.optionals config.deps.stdenv.isLinux [config.deps.autoPatchelfHook];
buildInputs =
l.optionals config.deps.stdenv.isLinux [config.deps.manylinux1];
propagatedBuildInputs =