From: Michael Rohleder <mike@rohleder.de>
To: 45878@debbugs.gnu.org
Subject: [bug#45878] [PATCH] gnu: xfconf: Install bash completion.
Date: Fri, 15 Jan 2021 01:00:47 +0100 [thread overview]
Message-ID: <20210115000047.21572-1-mike@rohleder.de> (raw)
* 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
next reply other threads:[~2021-01-15 0:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-15 0:00 Michael Rohleder [this message]
2021-01-16 22:13 ` bug#45878: [PATCH] gnu: xfconf: Install bash completion Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210115000047.21572-1-mike@rohleder.de \
--to=mike@rohleder.de \
--cc=45878@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).