graalvmCEPackages.ruby-installable-svm: run patchelf only in Linux

This commit is contained in:
Thiago Kenji Okada 2023-02-14 16:53:34 +00:00
parent a065de41ac
commit eaa3e39cc0

View File

@ -18,7 +18,7 @@ graalvmCEPackages.buildGraalvmProduct rec {
openssl
];
preFixup = ''
preFixup = lib.optionalString stdenv.isLinux ''
patchelf $out/languages/ruby/lib/mri/openssl.so \
--replace-needed libssl.so.10 libssl.so \
--replace-needed libcrypto.so.10 libcrypto.so