From eaa3e39cc0e870e38d9d2ac6d105458b4df45830 Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Tue, 14 Feb 2023 16:53:34 +0000 Subject: [PATCH] graalvmCEPackages.ruby-installable-svm: run patchelf only in Linux --- .../graalvm/community-edition/ruby-installable-svm.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/graalvm/community-edition/ruby-installable-svm.nix b/pkgs/development/compilers/graalvm/community-edition/ruby-installable-svm.nix index 381c895c2b3a..a9cc5d92257b 100644 --- a/pkgs/development/compilers/graalvm/community-edition/ruby-installable-svm.nix +++ b/pkgs/development/compilers/graalvm/community-edition/ruby-installable-svm.nix @@ -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