me
/
guix
Archived
1
0
Fork 0

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
Christopher Baines 2023-12-13 13:01:37 +00:00
parent aa631ea62e
commit f18f59fa4b
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577
1 changed files with 5 additions and 2 deletions

View File

@ -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