mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: guile-mqtt: Patch extension path.
* gnu/packages/guile-xyz.scm (guile-mqtt): Patch extension path. [arguments]: Add 'patch-extension-path phase. Change-Id: Ifbbd0adebcf82a36f674ab3fded3db5ba04b98b0 Signed-off-by: Zheng Junjie <z572@z572.online>
This commit is contained in:
committed by
Zheng Junjie
parent
64ac509eb2
commit
ee0a39cc03
@@ -1658,7 +1658,18 @@ the Guile compiler tower to generate the DSL from AWS JSON specifications.")
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:make-flags #~(list "GUILE_AUTO_COMPILE=0")))
|
||||
#:make-flags
|
||||
#~(list "GUILE_AUTO_COMPILE=0")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-extension-path
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* "module/ffi/mosquitto.scm"
|
||||
(("list #f \"libmosquitto\"")
|
||||
(string-append
|
||||
"list #f \""
|
||||
(search-input-file inputs "/lib/libmosquitto.so")
|
||||
"\""))))))))
|
||||
(native-inputs (list guile-3.0 pkg-config))
|
||||
(inputs (list mosquitto))
|
||||
(home-page "https://github.com/mdjurfeldt/guile-mqtt")
|
||||
|
||||
Reference in New Issue
Block a user