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:
parent
9496fa0724
commit
01f3f0e928
@ -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")))
|
||||
|
Loading…
x
Reference in New Issue
Block a user