mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-01 00:52:55 -05:00
gnu: packagekit: Fix installation directory for bash completions.
Without this patch, packagekit would attempt to install bash completions to another store directory, invoking pkexec in the process and raising a cryptic error. * gnu/packages/freedesktop.scm (packagekit)[#:phases]: Add ‘fix-bash-completion-dir’. Co-authored-by: Andreas Enge <andreas@enge.fr> Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
parent
2a34300240
commit
edd0ec7c2f
1 changed files with 8 additions and 1 deletions
|
@ -1002,7 +1002,14 @@ (define-public packagekit
|
||||||
".tar.xz"))
|
".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"09md23m4fw87x264mls1f5isrswk6iw7y9g4hr1nib008wbbk370"))))
|
"09md23m4fw87x264mls1f5isrswk6iw7y9g4hr1nib008wbbk370"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
'(begin
|
||||||
|
(substitute* "contrib/meson.build"
|
||||||
|
(("bash_.*_dep\\.get_.*\\('completionsdir', .*\\)")
|
||||||
|
"join_paths(get_option('prefix'), 'share',
|
||||||
|
'bash-completion', 'completions')"))))))
|
||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:tests? #f
|
(list #:tests? #f
|
||||||
|
|
Loading…
Reference in a new issue