summary refs log tree commit diff
path: root/gnu/packages/haskell.scm
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2018-02-15 17:19:28 +0100
committerLeo Famulari <leo@famulari.name>2018-02-16 12:41:01 -0500
commitf6cccefed599e06a814b702aa79b8a09f01ec41c (patch)
treeb66a3487ad79bb59b716ff10088490d15fc8c843 /gnu/packages/haskell.scm
parent4aa0a1df2dd89ba0e5f76d33b37383fdb530e0b8 (diff)
downloadguix-f6cccefed599e06a814b702aa79b8a09f01ec41c.tar.gz
gnu: ghc: Make memory allocator decommit memory on Linux < 4.5.
* gnu/packages/patches/ghc-8.0-fall-back-to-madv_dontneed.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/haskell.scm (ghc-8): Use it.
Diffstat (limited to 'gnu/packages/haskell.scm')
-rw-r--r--gnu/packages/haskell.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index b5950051a5..e0ac1b8544 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -328,7 +328,8 @@ interactive environment for the functional language Haskell.")
        (base32 "1c8qc4fhkycynk4g1f9hvk53dj6a1vvqi6bklqznns6hw59m8qhi"))
       (patches
        (search-patches
-        "ghc-dont-pass-linker-flags-via-response-files.patch"))))
+        "ghc-dont-pass-linker-flags-via-response-files.patch"
+        "ghc-8.0-fall-back-to-madv_dontneed.patch"))))
     (build-system gnu-build-system)
     (supported-systems '("i686-linux" "x86_64-linux"))
     (outputs '("out" "doc"))