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.
This commit is contained in:
Maxim Cournoyer 2020-09-28 22:55:47 -04:00
parent 9496fa0724
commit 01f3f0e928
No known key found for this signature in database
GPG Key ID: 1260E46482E63562

View File

@ -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")))