haskellPackages.mkDerivation: fix logic error

Co-authored-by: sternenseemann <sternenseemann@systemli.org>
This commit is contained in:
Slava Gorbunov 2024-04-22 12:58:46 +02:00 committed by sternenseemann
parent e102133fa1
commit 78667e9c1b
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ in
, enableSharedExecutables ? false
, enableSharedLibraries ? !stdenv.hostPlatform.isStatic && (ghc.enableShared or false)
, enableDeadCodeElimination ? (!stdenv.isDarwin) # TODO: use -dead_strip for darwin
, enableStaticLibraries ? !(stdenv.hostPlatform.isWindows or stdenv.hostPlatform.isWasm)
, enableStaticLibraries ? !(stdenv.hostPlatform.isWindows || stdenv.hostPlatform.isWasm)
, enableHsc2hsViaAsm ? stdenv.hostPlatform.isWindows
, extraLibraries ? [], librarySystemDepends ? [], executableSystemDepends ? []
# On macOS, statically linking against system frameworks is not supported;