Add note about leaking into RPATH

This commit is contained in:
Alexandre Esteves
2025-06-11 00:57:38 +01:00
parent 3799b9e061
commit 4fe25a0493
@@ -85,7 +85,7 @@ in
enableSharedLibraries ?
!stdenv.hostPlatform.isStatic
&& (ghc.enableShared or false)
&& !stdenv.hostPlatform.useAndroidPrebuilt,
&& !stdenv.hostPlatform.useAndroidPrebuilt, # TODO: figure out why /build leaks into RPATH
enableDeadCodeElimination ? (!stdenv.hostPlatform.isDarwin), # TODO: use -dead_strip for darwin
# Disabling this for ghcjs prevents this crash: https://gitlab.haskell.org/ghc/ghc/-/issues/23235
enableStaticLibraries ?