aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-11-26 09:40:18 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-11-26 09:40:18 +0200
commit0c23da84e06f2e774f0fb69ced672d3f36cefc4b (patch)
tree5f38d7e7830d3f1593427d893dfa6fe42c643208
parenta51ba75a408a72c67dc92435f541015149a4f3b4 (diff)
downloadguix-0c23da84e06f2e774f0fb69ced672d3f36cefc4b.tar.gz
guix-0c23da84e06f2e774f0fb69ced672d3f36cefc4b.zip
gnu: clifm: Fix bash completion directory.
* gnu/packages/clifm.scm (clifm)[arguments]: Add a phase to adjust the bash completion directory. Change-Id: I1652c9284eab295d28a82518e9e165c2b90776d9
-rw-r--r--gnu/packages/clifm.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/clifm.scm b/gnu/packages/clifm.scm
index 001d360e56..7406f21779 100644
--- a/gnu/packages/clifm.scm
+++ b/gnu/packages/clifm.scm
@@ -50,7 +50,12 @@
#:phases (modify-phases %standard-phases
(delete 'configure)
(delete 'build)
- (delete 'check))))
+ (delete 'check)
+ (add-after 'unpack 'fix-bash-completion-directory
+ (lambda _
+ (substitute* "Makefile"
+ (("\\$\\(DATADIR\\)/bash-completion/completions")
+ "$(PREFIX)/etc/bash_completion.d")))))))
(inputs (list acl file libcap readline))
(home-page "https://github.com/leo-arch/clifm")
(synopsis "Command-line file manager")