diff options
author | Julien Lepiller <julien@lepiller.eu> | 2020-10-01 14:35:49 +0200 |
---|---|---|
committer | Julien Lepiller <julien@lepiller.eu> | 2020-10-15 18:01:21 +0200 |
commit | f2df5a4bb200e4d7c7ed5c569bccc137b99840b3 (patch) | |
tree | 62ad5f19dcce19381e289d3c7036f6d82b6c32c0 | |
parent | c49b94a56c5c42c04e5c73c4be2533badeae19d4 (diff) | |
download | guix-f2df5a4bb200e4d7c7ed5c569bccc137b99840b3.tar guix-f2df5a4bb200e4d7c7ed5c569bccc137b99840b3.tar.gz |
gnu: ocaml-jane-street-headers: Build only with OCaml 4.07.
* gnu/packages/ocaml.scm (ocaml-jane-street-headers): Rename to...
(ocaml4.07-jane-street-headers): ...to this. Use OCaml 4.07.
-rw-r--r-- | gnu/packages/ocaml.scm | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 7c7963970b..8fbc1fe359 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -5158,9 +5158,9 @@ This library implements a splittable pseudo-random number generator that sacrifi cryptographic-quality randomness in favor of performance.") (license license:asl2.0))) -(define-public ocaml-jane-street-headers +(define-public ocaml4.07-jane-street-headers (package - (name "ocaml-jane-street-headers") + (name "ocaml4.07-jane-street-headers") (version "0.11.0") (source (origin (method url-fetch) @@ -5172,7 +5172,10 @@ cryptographic-quality randomness in favor of performance.") "0afhzm08l9v883fhpqqh2lmy7az609pxif40bp7x1sk8c0yszqsh")))) (build-system dune-build-system) (arguments - `(#:test-target ".")) + `(#:test-target "." + #:ocaml ,ocaml-4.07 + #:findlib ,ocaml4.07-findlib + #:dune ,ocaml4.07-dune)) (home-page "https://github.com/janestreet/jane-street-headers") (synopsis "Jane Street C header files") (description "This package provides C header files shared between the @@ -5326,8 +5329,7 @@ standard library that was developed by Jane Street.") ("ocaml-bin-prot" ,ocaml4.07-bin-prot) ("ocaml-configurator" ,ocaml4.07-configurator) ("ocaml-fieldslib" ,ocaml4.07-fieldslib) - ("ocaml-jane-street-headers" - ,(package-with-ocaml4.07 ocaml-jane-street-headers)) + ("ocaml-jane-street-headers" ,ocaml4.07-jane-street-headers) ("ocaml-ppx-assert" ,ocaml4.07-ppx-assert) ("ocaml-ppx-base" ,ocaml4.07-ppx-base) ("ocaml-ppx-hash" ,ocaml4.07-ppx-hash) |