mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-28 07:12:30 -05:00
gnu: dune: Update to 3.0.3.
* gnu/packages/ocaml.scm (dune): Update to 3.0.3. (dune-configurator)[arguments]: Remove vendored dependencies. (ocaml4.09-dune-configurator)[arguments]: Extend from dune-configurator.
This commit is contained in:
parent
c49b410344
commit
bd9eb9ef27
1 changed files with 12 additions and 5 deletions
|
@ -1648,7 +1648,7 @@ (define-public ocaml-stringext
|
|||
(define dune-bootstrap
|
||||
(package
|
||||
(name "dune")
|
||||
(version "2.9.3")
|
||||
(version "3.0.3")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
|
@ -1657,7 +1657,7 @@ (define dune-bootstrap
|
|||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"1b4rsqn6gf3cv46jgvrsq0xh9zfsaif810zpbvm0mv2bhphqfjk7"))))
|
||||
"1ndn560fg0fg8n3wplmkg5px69h0g38pyma9wik85cmmqfxry14k"))))
|
||||
(build-system ocaml-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f; require odoc
|
||||
|
@ -1691,7 +1691,15 @@ (define-public dune-configurator
|
|||
`(#:package "dune-configurator"
|
||||
#:dune ,dune-bootstrap
|
||||
; require ppx_expect
|
||||
#:tests? #f))
|
||||
#:tests? #f
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
;; When building dune, these directories are normally removed after
|
||||
;; the bootstrap.
|
||||
(add-before 'build 'remove-vendor
|
||||
(lambda _
|
||||
(delete-file-recursively "vendor/csexp")
|
||||
(delete-file-recursively "vendor/pp"))))))
|
||||
(propagated-inputs
|
||||
(list ocaml-csexp))
|
||||
(properties `((ocaml4.09-variant . ,(delay ocaml4.09-dune-configurator))))
|
||||
|
@ -1712,8 +1720,7 @@ (define-public ocaml4.09-dune-configurator
|
|||
(inherit dune-configurator)
|
||||
(name "ocaml4.09-dune-configurator")
|
||||
(arguments
|
||||
`(#:package "dune-configurator"
|
||||
#:tests? #f
|
||||
`(,@(package-arguments dune-configurator)
|
||||
#:dune ,ocaml4.09-dune-bootstrap
|
||||
#:ocaml ,ocaml-4.09
|
||||
#:findlib ,ocaml4.09-findlib))
|
||||
|
|
Loading…
Reference in a new issue