From 110fb9b4b599c3624e9582db54792af96780882f Mon Sep 17 00:00:00 2001 From: Magnus Viernickel Date: Mon, 1 Jul 2024 17:48:40 +0200 Subject: [PATCH] haskell.lib.compose: don't disable library profiling in justStaticExecutables --- pkgs/development/haskell-modules/lib/compose.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/lib/compose.nix b/pkgs/development/haskell-modules/lib/compose.nix index 492091ef35fc..8d09dcf5bea1 100644 --- a/pkgs/development/haskell-modules/lib/compose.nix +++ b/pkgs/development/haskell-modules/lib/compose.nix @@ -292,7 +292,7 @@ rec { */ justStaticExecutables = overrideCabal (drv: { enableSharedExecutables = false; - enableLibraryProfiling = false; + enableLibraryProfiling = drv.enableExecutableProfiling or false; isLibrary = false; doHaddock = false; postFixup = drv.postFixup or "" + ''