summary refs log tree commit diff
diff options
context:
space:
mode:
authorJakub Kądziołka <kuba@kadziolka.net>2020-07-30 03:48:50 +0200
committerJakub Kądziołka <kuba@kadziolka.net>2020-07-30 03:48:50 +0200
commit6a7bdbfa2dd07bcbfd35d1353354bad5db5dd193 (patch)
tree1a8aa2c54413f689a42d0ced96724fdcc6187ec4
parent8206a282b157fcf2d7435850587bf3ae29319698 (diff)
downloadguix-6a7bdbfa2dd07bcbfd35d1353354bad5db5dd193.tar.gz
gnu: paml: Fix build.
* gnu/packages/bioinformatics.scm (paml)[snippet]: Fix permissions
  before repacking the source tarball.
-rw-r--r--gnu/packages/bioinformatics.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 681919df3d..540bc121a7 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -11862,6 +11862,9 @@ straight away.  Its main features are:
               (snippet
                '(begin
                   (for-each delete-file (find-files "." "\\.exe$"))
+                  ;; Some files in the original tarball have restrictive
+                  ;; permissions, which makes repackaging fail
+                  (for-each (lambda (file) (chmod file #o644)) (find-files "."))
                   #t))))
     (build-system gnu-build-system)
     (arguments