aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2024-02-10 10:35:18 +0000
committerChristopher Baines <mail@cbaines.net>2024-02-10 10:35:48 +0000
commit1a619b7182bb1dc5ddd9a855a9cd8dd8fdf43ff9 (patch)
tree161b16df41a20dc8ae9682d9017c186258a74f5e
parent4cc7302e7dcd1de8d5ca7e9b82da2f8b9fa98911 (diff)
downloadguix-1a619b7182bb1dc5ddd9a855a9cd8dd8fdf43ff9.tar.gz
guix-1a619b7182bb1dc5ddd9a855a9cd8dd8fdf43ff9.zip
gnu: execline: Correct symlink permissions on the hurd.
* gnu/packages/skarnet.scm (execline)[arguments]: Patch tools/install.sh umask. Change-Id: I1e5d2497e1fd2ad8a39a5e1ca1c3c409968204a8
-rw-r--r--gnu/packages/skarnet.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/skarnet.scm b/gnu/packages/skarnet.scm
index 9ae440f86b..d5a5af2af3 100644
--- a/gnu/packages/skarnet.scm
+++ b/gnu/packages/skarnet.scm
@@ -84,6 +84,12 @@ and file system operations. It is used by all skarnet.org software.")
(assoc-ref %build-inputs "skalibs")
"/lib/skalibs/sysdeps"))
#:phases (modify-phases %standard-phases
+ (add-after 'unpack 'patch
+ (lambda _
+ ;; This umask makes the symlinks in lib readable on
+ ;; i586-gnu
+ (substitute* "tools/install.sh"
+ (("umask 077") "umask 033"))))
(add-after
'install 'post-install
(lambda* (#:key inputs outputs #:allow-other-keys)