[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: gnu: ocaml-biniou: Simplify "make-writable" phase.
From: |
guix-commits |
Subject: |
01/03: gnu: ocaml-biniou: Simplify "make-writable" phase. |
Date: |
Wed, 4 Aug 2021 11:13:15 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit d648037edc2c9355a99becd6f5b71f9ae392ac4f
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Aug 4 17:08:31 2021 +0200
gnu: ocaml-biniou: Simplify "make-writable" phase.
* gnu/packages/ocaml.scm (ocaml-biniou)[arguments]: Simplify phase.
---
gnu/packages/ocaml.scm | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index bf92424..bb42003 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -4477,12 +4477,7 @@ than the first one.")
`(#:phases
(modify-phases %standard-phases
(add-before 'build 'make-writable
- (lambda _
- (for-each
- (lambda (file)
- (chmod file #o644))
- (find-files "." "."))
- #t)))))
+ (lambda _ (for-each make-file-writable (find-files "." ".")))))))
(inputs
`(("ocaml-easy-format" ,ocaml-easy-format)))
(native-inputs