summaryrefslogtreecommitdiff
path: root/gnu/packages/embedded.scm
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@friendly-machines.com>2025-05-11 00:44:20 +0200
committerDanny Milosavljevic <dannym@friendly-machines.com>2025-05-11 11:31:22 +0200
commitf6363db18636172f959e2709982bbe09b411c3d8 (patch)
tree697eba6ea3b0861fdd221660143b1249bb3544c2 /gnu/packages/embedded.scm
parentea5abd73818cb3a8f8286222a870643de47fc227 (diff)
gnu: ebusd: Update to 25.1.
* gnu/packages/embedded.scm (ebusd): Update to 25.1. [arguments]<#:phases>[patch]: Make it find the local configs. Change-Id: Id862e3139b9590846eac0c8f4bbc156ef84b15d6
Diffstat (limited to 'gnu/packages/embedded.scm')
-rw-r--r--gnu/packages/embedded.scm10
1 files changed, 8 insertions, 2 deletions
diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm
index a118db3551b..6a1d47c4e9b 100644
--- a/gnu/packages/embedded.scm
+++ b/gnu/packages/embedded.scm
@@ -1863,7 +1863,7 @@ debugging them, and more.")
(define-public ebusd
(package
(name "ebusd")
- (version "23.2")
+ (version "25.1")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -1872,12 +1872,18 @@ debugging them, and more.")
(file-name (string-append name "-" version "-checkout"))
(sha256
(base32
- "1zqnxk6vgszlf410pypsjjliiy9wawy585fm7v25mka47i6iqafq"))))
+ "1k85vzjhhya7r41nid5yylr7jyvl09455hpny6wrjkipz68icgdf"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags '("--localstatedir=/var")
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'patch
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "src/ebusd/main.h"
+ (("#define CONFIG_PATH .*")
+ (string-append "#define CONFIG_PATH \"" (assoc-ref inputs "config")
+ "/ebusd-2.1.x/\"\n")))))
(add-after 'install 'install-config
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((config-destination