Fix devel package for hablo, clean package for ghc-template and add unitJS as a runtime dependency

This commit is contained in:
Tissevert 2023-08-04 16:33:06 +02:00
parent c256f96ab4
commit 6780a18764
2 changed files with 7 additions and 10 deletions

View File

@ -1,11 +1,7 @@
(use-modules (gnu packages haskell-xyz)
(gnu packages haskell-web)
(guix build-system haskell)
(guix download)
(guix gexp)
(guix git-download)
(guix licenses)
(guix packages))
(use-modules ((guix build-system haskell) #:select (hackage-uri haskell-build-system))
((guix download) #:select (url-fetch))
((guix licenses) #:select (bsd-3))
((guix packages) #:select (base32 origin package)))
(package
(name "ghc-template")

View File

@ -19,6 +19,7 @@
#:recursive? #t
#:select? (git-predicate %source-dir)))
(build-system haskell-build-system)
(propagated-inputs (list sjw-unitjs))
(inputs
(list ghc-aeson
ghc-attoparsec
@ -32,8 +33,8 @@
(arguments
`(#:phases
(modify-phases %standard-phases
(insert-after 'install 'copy-static-resources
(lambda* #:key outputs #:allow-other-keys
(add-after 'install 'copy-static-resources
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(copy-recursively "share" (string-append out "/share/hablo"))))))))
(native-search-paths