From 01f3f0e928bd614b8b2c9aea5b93bdc6a4b07963 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 28 Sep 2020 22:55:47 -0400 Subject: gnu: ocaml-mcl: Fix build. It was failing on a /bin/sh occurrence patched twice in the configure script: sh: ./configure:/gnu/store/...-bash-minimal-5.0.16/gnu/store/...-bash-minimal-5.0.1:bad interpreter: No such file or directory * gnu/packages/machine-learning.scm (ocaml-mcl)[phases]{patch-paths}: Do not patch the configure script. --- gnu/packages/machine-learning.scm | 2 -- 1 file changed, 2 deletions(-) (limited to 'gnu/packages/machine-learning.scm') diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 89345fa5fd..c82a06f3bb 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -330,8 +330,6 @@ networks) based on simulation of (stochastic) flow in graphs.") (modify-phases %standard-phases (add-before 'configure 'patch-paths (lambda _ - (substitute* "configure" - (("/bin/sh") (which "sh"))) (substitute* "setup.ml" (("LDFLAGS=-fPIC") (string-append "LDFLAGS=-fPIC\"; \"SHELL=" (which "sh"))) -- cgit v1.2.3