From d648037edc2c9355a99becd6f5b71f9ae392ac4f Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 4 Aug 2021 17:08:31 +0200 Subject: 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(-) (limited to 'gnu/packages/ocaml.scm') diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index bf9242410d..bb42003de2 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 -- cgit v1.2.3