From 4fe25a04939a00a83bb75bc3abc7063a5295edf9 Mon Sep 17 00:00:00 2001 From: Alexandre Esteves Date: Wed, 11 Jun 2025 00:57:38 +0100 Subject: [PATCH] Add note about leaking into RPATH --- pkgs/development/haskell-modules/generic-builder.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/generic-builder.nix b/pkgs/development/haskell-modules/generic-builder.nix index 4c7db9d149e9..fd96aa1a5c4e 100644 --- a/pkgs/development/haskell-modules/generic-builder.nix +++ b/pkgs/development/haskell-modules/generic-builder.nix @@ -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 ?