[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#43745] [PATCH 27/27] gnu: dune: Update to 2.7.1.
From: |
zimoun |
Subject: |
[bug#43745] [PATCH 27/27] gnu: dune: Update to 2.7.1. |
Date: |
Fri, 2 Oct 2020 10:56:20 +0200 |
Hi,
Thank you for all the patch set! :-)
On Thu, 1 Oct 2020 at 16:07, Julien Lepiller <julien@lepiller.eu> wrote:
> -(define-public dune
> +(define dune-bootstrap
> (package
> (name "dune")
> - (version "1.11.3")
> + (version "2.7.1")
> (source (origin
> (method git-fetch)
> (uri (git-reference
> @@ -1289,17 +1289,19 @@ full_split, cut, rcut, etc..")
> (file-name (git-file-name name version))
> (sha256
> (base32
> - "0l4x0x2fz135pljv88zj8y6w1ninsqw0gn1mdxzprd6wbxbyn8wr"))))
> + "10qgx83fq8b522y9mpllrp0l5cgmr2bs5s7aix5img21hlbm34in"))))
> (build-system ocaml-build-system)
> (arguments
> `(#:tests? #f; require odoc
> - #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs
> "out"))
> + #:make-flags (list "release"
> + (string-append "PREFIX=" (assoc-ref %outputs
> "out"))
> (string-append "LIBDIR=" (assoc-ref %outputs "out")
> "/lib/ocaml/site-lib"))
> #:phases
> (modify-phases %standard-phases
> (replace 'configure
> (lambda* (#:key outputs #:allow-other-keys)
> + (mkdir-p "src/dune")
> (invoke "./configure")
> #t)))))
> (home-page "https://github.com/ocaml/dune")
[...]
> +(define-public dune
> + (package
> + (inherit dune-bootstrap)
> + (propagated-inputs
> + `(("dune-configurator" ,dune-configurator)))
> + (properties `((ocaml4.07-variant . ,(delay ocaml4.07-dune))))))
> +
> (define-public ocaml4.07-dune
> - (package-with-ocaml4.07 dune))
> + (package
> + (inherit (package-with-ocaml4.07 dune-bootstrap))
> + (version "1.11.3")
> + (source (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://github.com/ocaml/dune")
> + (commit version)))
> + (file-name (git-file-name "dune" version))
> + (sha256
> + (base32
> + "0l4x0x2fz135pljv88zj8y6w1ninsqw0gn1mdxzprd6wbxbyn8wr"))))))
Can the v2.7.1 of 'dune-bootstrap' be compiled with OCaml4.07?
All the best,
simon
- [bug#43745] [PATCH 23/27] gnu: Add ocaml-csexp., (continued)
- [bug#43745] [PATCH 15/27] gnu: ocaml-tyxml: Do not use deprecated jbuilder., Julien Lepiller, 2020/10/01
- [bug#43745] [PATCH 17/27] gnu: opam: Update to 2.0.7., Julien Lepiller, 2020/10/01
- [bug#43745] [PATCH 22/27] gnu: ocaml-result: Update to 1.5., Julien Lepiller, 2020/10/01
- [bug#43745] [PATCH 24/27] gnu: ocaml-compiler-libs: Build only with OCaml 4.07., Julien Lepiller, 2020/10/01
- [bug#43745] [PATCH 27/27] gnu: dune: Update to 2.7.1., Julien Lepiller, 2020/10/01
- [bug#43745] [PATCH 27/27] gnu: dune: Update to 2.7.1., zimoun, 2020/10/13
[bug#43745] [PATCH 25/27] gnu: ocaml-jane-street-headers: Build only with OCaml 4.07., Julien Lepiller, 2020/10/01
[bug#43745] [PATCH 01/27] gnu: unison: Build with ocaml-4.09., zimoun, 2020/10/12
[bug#43745] [PATCH] gnu: dune: Update to 2.7.1., Brett Gilio, 2020/10/01