diff options
| author | Evgeny Pisemsky <mail@pisemsky.site> | 2025-05-07 23:05:28 +0300 |
|---|---|---|
| committer | Zheng Junjie <z572@z572.online> | 2025-05-08 13:31:19 +0800 |
| commit | ee0a39cc03abc67555cd2c8a907a1122e70be9a6 (patch) | |
| tree | 801acf6ee5f184d2e791eca9c0ea5e32efb14de9 | |
| parent | 64ac509eb24ff347934f80f9956018db158ae53b (diff) | |
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>
| -rw-r--r-- | gnu/packages/guile-xyz.scm | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 28a94dc83a7..12796749eca 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -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") |
