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) (use-modules ((guix build-system haskell) #:select (hackage-uri haskell-build-system))
(gnu packages haskell-web) ((guix download) #:select (url-fetch))
(guix build-system haskell) ((guix licenses) #:select (bsd-3))
(guix download) ((guix packages) #:select (base32 origin package)))
(guix gexp)
(guix git-download)
(guix licenses)
(guix packages))
(package (package
(name "ghc-template") (name "ghc-template")

View File

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