mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
haskell.generic-builder: disable library profiling on wasm
Template Haskell in profiled wasm builds requires profiled dynamic objects, which Cabal does not build by default.
This commit is contained in:
@@ -122,7 +122,8 @@ in
|
||||
doHaddockQuickjump ? doHoogle,
|
||||
doInstallIntermediates ? false,
|
||||
editedCabalFile ? null,
|
||||
enableLibraryProfiling ? !stdenv.hostPlatform.isGhcjs,
|
||||
# Cabal does not build the profiled dynamic objects required by wasm TH.
|
||||
enableLibraryProfiling ? !stdenv.hostPlatform.isGhcjs && !stdenv.hostPlatform.isWasm,
|
||||
enableExecutableProfiling ? false,
|
||||
profilingDetail ? "exported-functions",
|
||||
# TODO enable shared libs for cross-compiling
|
||||
|
||||
Reference in New Issue
Block a user