mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-24 11:39:46 -05:00
gnu: glib: Reference dbus-launch by its absolute path.
* gnu/packages/glib.scm (glib)[phases]{patch-dbus-launch-path}: New phase.
This commit is contained in:
parent
47f4df157f
commit
7da3e81aa1
1 changed files with 8 additions and 0 deletions
|
@ -201,6 +201,14 @@ (define glib
|
|||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-dbus-launch-path
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((dbus (assoc-ref inputs "dbus")))
|
||||
(substitute* "gio/gdbusaddress.c"
|
||||
(("command_line = g_strdup_printf \\(\"dbus-launch")
|
||||
(string-append "command_line = g_strdup_printf (\""
|
||||
dbus "/bin/dbus-launch")))
|
||||
#t)))
|
||||
(add-before 'build 'pre-build
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
;; For tests/gdatetime.c.
|
||||
|
|
Loading…
Reference in a new issue