Use Guile-zlib package.

* README (Requirements): Add Guile-zlib.
* build-aux/guix.scm: Ditto.
* src/cuirass/base.scm: Use Guile-zlib instead of (guix zlib).
This commit is contained in:
Mathieu Othacehe 2020-08-25 16:33:09 +02:00
parent 1bcccbab76
commit f2984c7230
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
3 changed files with 5 additions and 1 deletions

1
README
View File

@ -12,6 +12,7 @@ Cuirass currently depends on the following packages:
- Guile-JSON 3.x
- Guile-SQLite3
- Guile-Git
- Guile-zlib
- Fibers
A convenient way to install those dependencies is to install Guix and execute

View File

@ -68,9 +68,11 @@
(let* ((out (assoc-ref outputs "out"))
(json (assoc-ref inputs "guile-json"))
(sqlite (assoc-ref inputs "guile-sqlite3"))
(zlib (assoc-ref inputs "guile-zlib"))
(guix (assoc-ref inputs "guix"))
(mods (string-append json "/share/guile/site/3.0:"
sqlite "/share/guile/site/3.0:"
zlib "/share/guile/site/3.0:"
guix "/share/guile/site/3.0")))
(wrap-program (string-append out "/bin/cuirass")
`("GUILE_LOAD_PATH" ":" prefix (,mods))
@ -82,6 +84,7 @@
"guile-json"
"guile-sqlite3"
"guile-git"
"guile-zlib"
"guix")))
(native-inputs
(map spec+package-list

View File

@ -32,7 +32,7 @@
#:use-module (guix store)
#:use-module (guix git)
#:use-module (guix cache)
#:use-module (guix zlib)
#:use-module (zlib)
#:use-module ((guix config) #:select (%state-directory))
#:use-module (git)
#:use-module (ice-9 binary-ports)