gnu: ghc-basement: Fix build on i686-linux.

* gnu/packages/haskell-xyz.scm (ghc-basement)[source]: Add patch.
* gnu/packages/patches/ghc-basement-fix-32bit.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Change-Id: Ife75c651d4b9cffa14ec1c5165a9254cfee3f09f
This commit is contained in:
Efraim Flashner 2023-11-15 11:26:30 +02:00
parent bc71be1a1d
commit 4c46dc9a4a
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351
3 changed files with 180 additions and 1 deletions

View file

@ -781,7 +781,8 @@ than @code{base-compat}, which has no dependencies.")
(uri (hackage-uri "basement" version))
(sha256
(base32
"1d2xj5dmjps7nc7rwp5s0kyjcg9v8xfql6ik4yk1d3affnvazhjn"))))
"1d2xj5dmjps7nc7rwp5s0kyjcg9v8xfql6ik4yk1d3affnvazhjn"))
(patches (search-patches "ghc-basement-fix-32bit.patch"))))
(build-system haskell-build-system)
(properties '((upstream-name . "basement")))
(home-page "https://github.com/haskell-foundation/foundation#readme")