Mark H Weaver <[email protected]> skribis:
> I attempted to update guix-devel to 44fd6ef, but got this error during
> the install phase:
>
> /gnu/store/7an2gbwqav1pv9kk4xkslrb45qn44j7w-coreutils-8.23/bin/mkdir -p
> '/etc/bash_completion.d'
> /gnu/store/7an2gbwqav1pv9kk4xkslrb45qn44j7w-coreutils-8.23/bin/mkdir: cannot
> create directory ‘/etc/bash_completion.d’: Permission denied
> Makefile:3000: recipe for target 'install-dist_bashcompletionDATA' failed
> make[3]: *** [install-dist_bashcompletionDATA] Error 1
I think this is fixed with:
diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm
index 131cbcd..5340d42 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -67,6 +67,9 @@
`(#:configure-flags (list
"--localstatedir=/var"
"--sysconfdir=/etc"
+ (string-append "--with-bash-completion-dir="
+ (assoc-ref %outputs "out")
+ "/etc/bash_completion.d")
(string-append "--with-libgcrypt-prefix="
(assoc-ref %build-inputs
"libgcrypt")))
Can you confirm?
Thanks,
Ludo’.