summaryrefslogtreecommitdiff
path: root/guix/build-system/ocaml.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix/build-system/ocaml.scm')
-rw-r--r--guix/build-system/ocaml.scm34
1 files changed, 17 insertions, 17 deletions
diff --git a/guix/build-system/ocaml.scm b/guix/build-system/ocaml.scm
index 582d00b4cd..607e6dca60 100644
--- a/guix/build-system/ocaml.scm
+++ b/guix/build-system/ocaml.scm
@@ -31,8 +31,8 @@
strip-ocaml4.07-variant
package-with-ocaml4.09
strip-ocaml4.09-variant
- package-with-ocaml5.0
- strip-ocaml5.0-variant
+ package-with-ocaml5.1
+ strip-ocaml5.1-variant
default-findlib
default-ocaml
lower
@@ -112,17 +112,17 @@
(let ((module (resolve-interface '(gnu packages ocaml))))
(module-ref module 'ocaml4.09-dune)))
-(define (default-ocaml5.0)
+(define (default-ocaml5.1)
(let ((ocaml (resolve-interface '(gnu packages ocaml))))
- (module-ref ocaml 'ocaml-5.0)))
+ (module-ref ocaml 'ocaml-5.1)))
-(define (default-ocaml5.0-findlib)
+(define (default-ocaml5.1-findlib)
(let ((module (resolve-interface '(gnu packages ocaml))))
- (module-ref module 'ocaml5.0-findlib)))
+ (module-ref module 'ocaml5.1-findlib)))
-(define (default-ocaml5.0-dune)
+(define (default-ocaml5.1-dune)
(let ((module (resolve-interface '(gnu packages ocaml))))
- (module-ref module 'ocaml5.0-dune)))
+ (module-ref module 'ocaml5.1-dune)))
(define* (package-with-explicit-ocaml ocaml findlib dune old-prefix new-prefix
#:key variant-property)
@@ -212,18 +212,18 @@ pre-defined variants."
(inherit p)
(properties (alist-delete 'ocaml4.09-variant (package-properties p)))))
-(define package-with-ocaml5.0
- (package-with-explicit-ocaml (delay (default-ocaml5.0))
- (delay (default-ocaml5.0-findlib))
- (delay (default-ocaml5.0-dune))
- "ocaml-" "ocaml5.0-"
- #:variant-property 'ocaml5.0-variant))
+(define package-with-ocaml5.1
+ (package-with-explicit-ocaml (delay (default-ocaml5.1))
+ (delay (default-ocaml5.1-findlib))
+ (delay (default-ocaml5.1-dune))
+ "ocaml-" "ocaml5.1-"
+ #:variant-property 'ocaml5.1-variant))
-(define (strip-ocaml5.0-variant p)
- "Remove the 'ocaml5.0-variant' property from P."
+(define (strip-ocaml5.1-variant p)
+ "Remove the 'ocaml5.1-variant' property from P."
(package
(inherit p)
- (properties (alist-delete 'ocaml5.0-variant (package-properties p)))))
+ (properties (alist-delete 'ocaml5.1-variant (package-properties p)))))
(define* (lower name
#:key source inputs native-inputs outputs system target