diff options
Diffstat (limited to 'pkgs/development/compilers/graalvm/community-edition/buildGraalvmProduct.nix')
-rw-r--r-- | pkgs/development/compilers/graalvm/community-edition/buildGraalvmProduct.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/development/compilers/graalvm/community-edition/buildGraalvmProduct.nix b/pkgs/development/compilers/graalvm/community-edition/buildGraalvmProduct.nix index aad60e13d308c..6037435d3aec4 100644 --- a/pkgs/development/compilers/graalvm/community-edition/buildGraalvmProduct.nix +++ b/pkgs/development/compilers/graalvm/community-edition/buildGraalvmProduct.nix @@ -74,6 +74,17 @@ stdenv.mkDerivation ({ runHook postUnpack ''; + # Allow autoPatchelf to automatically fix lib references between products + fixupPhase = '' + runHook preFixup + + mkdir -p $out/lib + shopt -s globstar + ln -s $out/languages/**/lib/*.so $out/lib + + runHook postFixup + ''; + dontInstall = true; dontBuild = true; dontStrip = true; |