about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-common.nix
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2018-06-25 22:05:53 +0200
committerProfpatsch <mail@profpatsch.de>2018-06-25 22:06:50 +0200
commit2f2e79be39e8c0ca2a520b2a2352ff59a99b1797 (patch)
tree316dd24ae27dabebaf32111332387d74f1de6db6 /pkgs/development/haskell-modules/configuration-common.nix
parente0918b2550f78fc987451d451f03189e552cd237 (diff)
downloadnixlib-2f2e79be39e8c0ca2a520b2a2352ff59a99b1797.tar
nixlib-2f2e79be39e8c0ca2a520b2a2352ff59a99b1797.tar.gz
nixlib-2f2e79be39e8c0ca2a520b2a2352ff59a99b1797.tar.bz2
nixlib-2f2e79be39e8c0ca2a520b2a2352ff59a99b1797.tar.lz
nixlib-2f2e79be39e8c0ca2a520b2a2352ff59a99b1797.tar.xz
nixlib-2f2e79be39e8c0ca2a520b2a2352ff59a99b1797.tar.zst
nixlib-2f2e79be39e8c0ca2a520b2a2352ff59a99b1797.zip
haskellPackages: disable profiling ghc-heap-view ghc-datasize
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 20a908858e9c..439e033acb0d 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -61,6 +61,10 @@ self: super: {
   statistics = dontCheck super.statistics;
   vector-builder = dontCheck super.vector-builder;
 
+  # These packages (and their reverse deps) cannot be built with profiling enabled.
+  ghc-heap-view = disableLibraryProfiling super.ghc-heap-view;
+  ghc-datasize = disableLibraryProfiling super.ghc-datasize;
+
   # This test keeps being aborted because it runs too quietly for too long
   Lazy-Pbkdf2 = if pkgs.stdenv.isi686 then dontCheck super.Lazy-Pbkdf2 else super.Lazy-Pbkdf2;