unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#45878] [PATCH] gnu: xfconf: Install bash completion.
@ 2021-01-15  0:00 Michael Rohleder
  2021-01-16 22:13 ` bug#45878: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Rohleder @ 2021-01-15  0:00 UTC (permalink / raw)
  To: 45878

* gnu/packages/xfce.scm (xfconf)[arguments]: Add install-shell-completions phase.
---
 gnu/packages/xfce.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index a5c9482c01..00befc517d 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -155,6 +155,13 @@ Xfce Desktop Environment.")
              ;; For the missing '/etc/machine-id'.
              (setenv "DBUS_FATAL_WARNINGS" "0")
              (invoke "dbus-launch" "make" "check")))
+         (add-after 'custom-check 'install-shell-completions
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (etc (string-append out "/etc")))
+               (with-directory-excursion "completions"
+                 (install-file "xfconf-query"
+                               (string-append etc "/bash_completion.d"))))))
          (delete 'check))))
     (native-inputs
      `(("pkg-config" ,pkg-config)
-- 
2.30.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#45878: [PATCH] gnu: xfconf: Install bash completion.
  2021-01-15  0:00 [bug#45878] [PATCH] gnu: xfconf: Install bash completion Michael Rohleder
@ 2021-01-16 22:13 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2021-01-16 22:13 UTC (permalink / raw)
  To: Michael Rohleder; +Cc: 45878-done

Michael Rohleder <mike@rohleder.de> skribis:

> * gnu/packages/xfce.scm (xfconf)[arguments]: Add install-shell-completions phase.

Applied, thanks!

Ludo'.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-16 22:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-15  0:00 [bug#45878] [PATCH] gnu: xfconf: Install bash completion Michael Rohleder
2021-01-16 22:13 ` bug#45878: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).