gnu: execline: Correct symlink permissions on the hurd.

* gnu/packages/skarnet.scm (execline)[arguments]: Patch tools/install.sh
umask.

Change-Id: I1e5d2497e1fd2ad8a39a5e1ca1c3c409968204a8
This commit is contained in:
Christopher Baines 2024-02-10 10:35:18 +00:00
parent 4cc7302e7d
commit 1a619b7182
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -84,6 +84,12 @@ (define-public execline
(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)