julia-bin: autoPatchelf manually to avoid mangling cache (#362412)
This commit is contained in:
@@ -85,11 +85,17 @@ stdenv.mkDerivation {
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
cp -r . $out
|
||||
'' + lib.optionalString stdenv.hostPlatform.isLinux ''
|
||||
# "$out/share" is intentionally omitted since it contains
|
||||
# julia package images and patchelf would break them
|
||||
autoPatchelf "$out/bin" "$out/lib" "$out/libexec"
|
||||
'' + ''
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
# Breaks backtraces, etc.
|
||||
dontStrip = true;
|
||||
dontAutoPatchelf = true;
|
||||
|
||||
doInstallCheck = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user