gnu: gnome-control-center: Set correct file name for the 'passwd' binary.

* gnu/packages/gnome.scm (gnome-control-center): Substitute correct path to
  passwd.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Florian Pelz 2019-06-02 20:01:23 +02:00 committed by Ludovic Courtès
parent 27faad22a8
commit 1acd107c6b
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -5881,6 +5881,9 @@ (define-public gnome-control-center
(("\"nm-connection-editor") (("\"nm-connection-editor")
(string-append "\"" nm-applet (string-append "\"" nm-applet
"/bin/nm-connection-editor"))) "/bin/nm-connection-editor")))
(substitute* '("panels/user-accounts/run-passwd.c")
(("/usr/bin/passwd")
"/run/setuid-programs/passwd"))
#t)))))) #t))))))
(native-inputs (native-inputs
`(("glib:bin" ,glib "bin") ; for glib-mkenums, etc. `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.