about summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2018-06-25 22:29:26 +0200
committerGitHub <noreply@github.com>2018-06-25 22:29:26 +0200
commit6946361408333f6f39ab767d07031cd32b31dca1 (patch)
treedd44a60a65ecb6671314bd579ae5467de8c77ed4 /pkgs/development
parent68bf1063f02d7c1e6b2caa7cf725b884f1865296 (diff)
parent2f2e79be39e8c0ca2a520b2a2352ff59a99b1797 (diff)
downloadnixlib-6946361408333f6f39ab767d07031cd32b31dca1.tar
nixlib-6946361408333f6f39ab767d07031cd32b31dca1.tar.gz
nixlib-6946361408333f6f39ab767d07031cd32b31dca1.tar.bz2
nixlib-6946361408333f6f39ab767d07031cd32b31dca1.tar.lz
nixlib-6946361408333f6f39ab767d07031cd32b31dca1.tar.xz
nixlib-6946361408333f6f39ab767d07031cd32b31dca1.tar.zst
nixlib-6946361408333f6f39ab767d07031cd32b31dca1.zip
Merge pull request #42584 from Profpatsch/haskell-ghc-heap-size-profiling
haskellPackages: disable profiling ghc-heap-view ghc-datasize
Diffstat (limited to 'pkgs/development')
-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;