fix(pip): don't set addAutoPatchelfSearchPath on darwin

This commit is contained in:
DavHau 2023-09-14 17:04:06 +02:00
parent 7a07ef5a41
commit 398fd949e1

View File

@ -94,7 +94,7 @@
l.optionals config.deps.stdenv.isLinux [config.deps.manylinux1];
# This is required for autoPatchelfHook to find .so files from other
# python dependencies, like for example libcublas.so.11 from nvidia-cublas-cu11.
preFixup = ''
preFixup = lib.optionalString config.deps.stdenv.isLinux ''
addAutoPatchelfSearchPath ${toString (config.mkDerivation.propagatedBuildInputs)}
'';
propagatedBuildInputs = let