1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-14 11:00:36 +02:00

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.
This commit is contained in:
Danny Milosavljevic 2018-02-15 17:19:28 +01:00 committed by Leo Famulari
parent 4aa0a1df2d
commit f6cccefed5
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08
3 changed files with 64 additions and 1 deletions

View file

@ -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"))