mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: ghc-basement: Fix compilation on 32-bit platforms.
* gnu/packages/patches/ghc-basement-fix-32-bit.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/haskell-xyz.scm (ghc-basement)[arguments]: New field. Change-Id: I4d462754cad3daf8328e7d3c95c184a9e12a45cd
This commit is contained in:
parent
5d6c55d364
commit
a4f64b30b0
3 changed files with 239 additions and 0 deletions
|
@ -800,6 +800,18 @@ than @code{base-compat}, which has no dependencies.")
|
|||
(sha256
|
||||
(base32 "00332i4n98gh06x8ii4p8mhjpq0ch1bdan9hxmdblxpgk8j7xdvz"))))
|
||||
(build-system haskell-build-system)
|
||||
(arguments
|
||||
(if (target-64bit?)
|
||||
'()
|
||||
(list #:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-for-32-bit-system
|
||||
(lambda _
|
||||
(define patch
|
||||
#$(local-file
|
||||
(search-patch "ghc-basement-fix-32-bit.patch")))
|
||||
|
||||
(invoke "patch" "-p1" "--force" "-i" patch)))))))
|
||||
(properties '((upstream-name . "basement")))
|
||||
(home-page "https://github.com/haskell-foundation/foundation#readme")
|
||||
(synopsis "Basic primitives for Foundation starter pack")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue