mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: guile-mqtt: Use the latest nyacc.
* gnu/packages/guile-xyz.scm (guile-mqtt): Use the latest nyacc. [origin]: patch make file to properly compile ffi. [arguments]: remove make flags (setenv in phases instead), disable parallel build. [native-inputs]: replace nyacc-2.01 with nyacc. Change-Id: I572164ed06d614b45ccd2d65603397ef7c0cd62d Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
3278f30795
commit
b8cbc0dda4
1 changed files with 9 additions and 5 deletions
|
@ -1961,17 +1961,21 @@ the Guile compiler tower to generate the DSL from AWS JSON specifications.")
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1lvxic93cyzhdq7gb22pfz5j5pf7b1pcv0ahblkan8jbhzpqxvm0"))))
|
(base32 "1lvxic93cyzhdq7gb22pfz5j5pf7b1pcv0ahblkan8jbhzpqxvm0"))
|
||||||
|
;; FIXME: report upstream and remove when fixed.
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet '(substitute* "module/Makefile.am"
|
||||||
|
(("compile-ffi -o mosquitto-nyacc.scm")
|
||||||
|
"compile-ffi -X -o $(srcdir)/ffi/mosquitto-nyacc.scm")))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:make-flags
|
#:parallel-build? #f
|
||||||
#~(list "GUILE_AUTO_COMPILE=0")
|
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-before 'build 'patch-extension-path
|
(add-before 'build 'patch-extension-path
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(setenv "HOME" "/tmp")
|
(setenv "GUILE_AUTO_COMPILE" "0")
|
||||||
(with-directory-excursion "module"
|
(with-directory-excursion "module"
|
||||||
(invoke "make" "ffi/mosquitto.scm")
|
(invoke "make" "ffi/mosquitto.scm")
|
||||||
(substitute* "ffi/mosquitto.scm"
|
(substitute* "ffi/mosquitto.scm"
|
||||||
|
@ -1983,7 +1987,7 @@ the Guile compiler tower to generate the DSL from AWS JSON specifications.")
|
||||||
(native-inputs (list autoconf
|
(native-inputs (list autoconf
|
||||||
automake
|
automake
|
||||||
guile-3.0
|
guile-3.0
|
||||||
nyacc-2.01
|
nyacc
|
||||||
pkg-config
|
pkg-config
|
||||||
texinfo))
|
texinfo))
|
||||||
(inputs (list mosquitto))
|
(inputs (list mosquitto))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue