mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-14 19:05:10 -05:00
gnu: ghc-foundation: Update to 0.0.21.
* gnu/packages/haskell.scm (ghc-foundation): Update to 0.0.21. [arguments]: Add a phase to create missing "Setup.hs" file.
This commit is contained in:
parent
e95cc1087a
commit
95415545ab
1 changed files with 12 additions and 2 deletions
|
@ -9233,7 +9233,7 @@ (define-public ghc-basement
|
||||||
(define-public ghc-foundation
|
(define-public ghc-foundation
|
||||||
(package
|
(package
|
||||||
(name "ghc-foundation")
|
(name "ghc-foundation")
|
||||||
(version "0.0.20")
|
(version "0.0.21")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -9241,8 +9241,18 @@ (define-public ghc-foundation
|
||||||
"foundation/foundation-" version ".tar.gz"))
|
"foundation/foundation-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0bg4g0xf4pb2vmahnfp8c4f0a3v0av73lb5g8bwnp170khxfcsms"))))
|
"1q43y8wfj0wf9gdq2kzphwjwq6m5pvryy1lqgk954aq5z3ks1lsf"))))
|
||||||
(build-system haskell-build-system)
|
(build-system haskell-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'add-setup-script
|
||||||
|
(lambda _
|
||||||
|
;; The usual "Setup.hs" script is missing from the source.
|
||||||
|
(with-output-to-file "Setup.hs"
|
||||||
|
(lambda ()
|
||||||
|
(format #t "import Distribution.Simple~%")
|
||||||
|
(format #t "main = defaultMain~%"))))))))
|
||||||
(inputs `(("ghc-basement" ,ghc-basement)))
|
(inputs `(("ghc-basement" ,ghc-basement)))
|
||||||
(home-page "https://github.com/haskell-foundation/foundation")
|
(home-page "https://github.com/haskell-foundation/foundation")
|
||||||
(synopsis "Alternative prelude with batteries and no dependencies")
|
(synopsis "Alternative prelude with batteries and no dependencies")
|
||||||
|
|
Loading…
Reference in a new issue