me
/
guix
Archived
1
0
Fork 0

gnu: gnome-control-center: Patch file name of 'nm-connection-editor'.

* gnu/packages/gnome.scm (gnome-control-center)[argument]: In
'patch-paths' phase, provide absolute file name to
'nm-connection-editor' in panels/network/*.c
master
Ludovic Courtès 2019-05-07 15:41:35 +02:00
parent 1df38cfcc7
commit 341225ac6c
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 8 additions and 1 deletions

View File

@ -5838,7 +5838,8 @@ devices using the GNOME desktop.")
(lambda* (#:key inputs #:allow-other-keys)
(let ((libc (assoc-ref inputs "libc"))
(tzdata (assoc-ref inputs "tzdata"))
(libgnomekbd (assoc-ref inputs "libgnomekbd")))
(libgnomekbd (assoc-ref inputs "libgnomekbd"))
(nm-applet (assoc-ref inputs "network-manager-applet")))
(substitute* "panels/datetime/tz.h"
(("/usr/share/zoneinfo/zone.tab")
(string-append tzdata "/share/zoneinfo/zone.tab")))
@ -5849,6 +5850,12 @@ devices using the GNOME desktop.")
(("\"gkbd-keyboard-display")
(string-append "\"" libgnomekbd
"/bin/gkbd-keyboard-display")))
(substitute* '("panels/network/net-device-wifi.c"
"panels/network/net-device.c"
"panels/network/connection-editor/net-connection-editor.c")
(("\"nm-connection-editor")
(string-append "\"" nm-applet
"/bin/nm-connection-editor")))
#t))))))
(native-inputs
`(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.