me
/
guix
Archived
1
0
Fork 0

gnu: ocamlify: Update to 0.0.2.

* gnu/packages/ocaml.scm (ocamlify): Update to 0.0.2.
[arguments]: Add a ‘disable-safe-string’ phase.
master
Tobias Geerinckx-Rice 2020-08-31 20:00:19 +02:00
parent 4a7243fcfb
commit 2d3370c4ec
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 8 additions and 2 deletions

View File

@ -2258,18 +2258,24 @@ radix-64 representation. It is specified in RFC 4648.")
(define-public ocamlify (define-public ocamlify
(package (package
(name "ocamlify") (name "ocamlify")
(version "0.0.1") (version "0.0.2")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://download.ocamlcore.org/ocamlify/ocamlify/" (uri (string-append "https://download.ocamlcore.org/ocamlify/ocamlify/"
version "/ocamlify-" version ".tar.gz")) version "/ocamlify-" version ".tar.gz"))
(sha256 (sha256
(base32 "1j9nb3vjqbdsx3d6jazixgrh776051zkrc06nsc5q5ilp1jhrwkm")))) (base32 "1f0fghvlbfryf5h3j4as7vcqrgfjb4c8abl5y0y5h069vs4kp5ii"))))
(build-system ocaml-build-system) (build-system ocaml-build-system)
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-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 (delete 'check) ; tests are run during the build
(replace 'configure (replace 'configure
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)