diff options
author | Christopher Baines <mail@cbaines.net> | 2023-12-13 13:01:37 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2023-12-22 16:43:23 +0000 |
commit | f18f59fa4b249bbde6290ac5b91f6cd524b60848 (patch) | |
tree | d54fcfe5ae406260aae0df97857ab1f595d140e5 | |
parent | aa631ea62ed9e417b72c45d8857291130a52debc (diff) | |
download | guix-f18f59fa4b249bbde6290ac5b91f6cd524b60848.tar guix-f18f59fa4b249bbde6290ac5b91f6cd524b60848.tar.gz |
gnu: skalibs: Correct symlink permissions on the hurd.
* gnu/packages/skarnet.scm (skalibs)[arguments]: Patch tools/install.sh umask.
[supported-systems]: Include i586-gnu.
Change-Id: Ia431a06d6150b33562dcf0f57eb3ba0fd84ba864
-rw-r--r-- | gnu/packages/skarnet.scm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/packages/skarnet.scm b/gnu/packages/skarnet.scm index 6781e2eb58..9ae440f86b 100644 --- a/gnu/packages/skarnet.scm +++ b/gnu/packages/skarnet.scm @@ -42,14 +42,17 @@ (arguments '(#:tests? #f ; no tests exist #:phases (modify-phases %standard-phases - (add-after 'unpack 'reproducible + (add-after 'unpack 'patch (lambda _ + ;; This umask makes the symlinks in lib readable on + ;; i586-gnu + (substitute* "tools/install.sh" + (("umask 077") "umask 033")) ;; Sort source files deterministically so that the *.a ;; and *.so files are reproducible. (substitute* "Makefile" (("\\$\\(wildcard src/lib\\*/\\*.c\\)") "$(sort $(wildcard src/lib*/*.c))"))))))) - (supported-systems (delete "i586-gnu" %supported-systems)) (home-page "https://skarnet.org/software/skalibs/") (synopsis "Platform abstraction libraries for skarnet.org software") (description |