guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/05: gnu: ocaml-mcl: Fix build.


From: guix-commits
Subject: 04/05: gnu: ocaml-mcl: Fix build.
Date: Fri, 2 Oct 2020 22:05:01 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit 01f3f0e928bd614b8b2c9aea5b93bdc6a4b07963
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Sep 28 22:55:47 2020 -0400

    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(-)

diff --git a/gnu/packages/machine-learning.scm 
b/gnu/packages/machine-learning.scm
index 89345fa..c82a06f 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")))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]