summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorZ. Ren <zren@dlut.edu.cn>2017-12-10 22:23:32 +0800
committerLudovic Courtès <ludo@gnu.org>2017-12-11 17:14:36 +0100
commit73138fd146a1449df77ee26cc5717b18cb15d84a (patch)
treee76661e5e9db0a6afc221aef4fa3add27d605f5e /gnu/packages
parentcdba3a84696a1fd6500b71a8e8c3389487f96a01 (diff)
downloadguix-73138fd146a1449df77ee26cc5717b18cb15d84a.tar.gz
gnu: skalibs: Fix non-reproducibility issue.
* gnu/packages/skarnet.scm (skalibs)[arguments]: In 'reproducible'
phase, insert a 'sort' call in "Makefile".

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/skarnet.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/skarnet.scm b/gnu/packages/skarnet.scm
index 5a46b0db64..ce6fdc709d 100644
--- a/gnu/packages/skarnet.scm
+++ b/gnu/packages/skarnet.scm
@@ -47,8 +47,8 @@
                       ;; Sort source files deterministically so that the *.a
                       ;; and *.so files are reproducible.
                       (substitute* "Makefile"
-                        (("\\$\\(ALL_SRCS:%.c=%.o\\)")
-                         "$(sort $(ALL_SRCS:%.c=%.o))"))
+                        (("\\$\\(wildcard src/lib\\*/\\*.c\\)")
+                         "$(sort $(wildcard src/lib*/*.c))"))
                       #t)))))
     (home-page "http://skarnet.org/software/skalibs/")
     (synopsis "Platform abstraction libraries for skarnet.org software")