guix-commits
[Top][All Lists]
Advanced

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

05/11: gnu: ocamlify: Update to 0.0.2.


From: guix-commits
Subject: 05/11: gnu: ocamlify: Update to 0.0.2.
Date: Mon, 31 Aug 2020 14:35:49 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 2d3370c4ec22cea965cd934dd30909cd5929a85a
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Mon Aug 31 20:00:19 2020 +0200

    gnu: ocamlify: Update to 0.0.2.
    
    * gnu/packages/ocaml.scm (ocamlify): Update to 0.0.2.
    [arguments]: Add a ‘disable-safe-string’ phase.
---
 gnu/packages/ocaml.scm | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index df1ca76..33c3fa0 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2258,18 +2258,24 @@ radix-64 representation.  It is specified in RFC 4648.")
 (define-public ocamlify
   (package
     (name "ocamlify")
-    (version "0.0.1")
+    (version "0.0.2")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "https://download.ocamlcore.org/ocamlify/ocamlify/";
                            version "/ocamlify-" version ".tar.gz"))
        (sha256
-        (base32 "1j9nb3vjqbdsx3d6jazixgrh776051zkrc06nsc5q5ilp1jhrwkm"))))
+        (base32 "1f0fghvlbfryf5h3j4as7vcqrgfjb4c8abl5y0y5h069vs4kp5ii"))))
     (build-system ocaml-build-system)
     (arguments
      `(#:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'disable-safe-string
+           ;; Work around ‘Error: This expression has type string but an
+           ;; expression was expected of type bytes’ since OCaml 4.06.
+           (lambda _
+             (setenv "OCAMLPARAM" "safe-string=0,_")
+             #t))
          (delete 'check)                ; tests are run during the build
          (replace 'configure
            (lambda* (#:key outputs #:allow-other-keys)



reply via email to

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