From 341225ac6ccf1e2fcf52a58fb4230586a53bae05 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 7 May 2019 15:41:35 +0200 Subject: 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 --- gnu/packages/gnome.scm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 3e51e9cf9b..7c40a39f01 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -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. -- cgit v1.2.3