gnu: ocaml-lambda-term: Use dune-build-system.
* gnu/packages/ocaml.scm (ocaml-lambda-term): Use dune-build-system.
This commit is contained in:
parent
426e629e0c
commit
34d5314e9c
1 changed files with 2 additions and 15 deletions
|
@ -4508,23 +4508,10 @@ connect an engine to your inputs and rendering functions to get an editor.")
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1hy5ryagqclgdm9lzh1qil5mrynlypv7mn6qm858hdcnmz9zzn0l"))))
|
(base32 "1hy5ryagqclgdm9lzh1qil5mrynlypv7mn6qm858hdcnmz9zzn0l"))))
|
||||||
(build-system ocaml-build-system)
|
(build-system dune-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:build-flags (list "--profile" "release")
|
||||||
(modify-phases %standard-phases
|
|
||||||
(delete 'configure)
|
|
||||||
(replace 'build
|
|
||||||
(lambda _
|
|
||||||
(invoke "dune" "build" "@install" "--profile" "release")
|
|
||||||
#t))
|
|
||||||
(replace 'install
|
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
|
||||||
(invoke "dune" "install"
|
|
||||||
"--prefix" (assoc-ref outputs "out"))
|
|
||||||
#t)))
|
|
||||||
#:tests? #f))
|
#:tests? #f))
|
||||||
(native-inputs
|
|
||||||
`(("dune" ,dune)))
|
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("lwt" ,ocaml-lwt)
|
`(("lwt" ,ocaml-lwt)
|
||||||
("lwt-log" ,ocaml-lwt-log)
|
("lwt-log" ,ocaml-lwt-log)
|
||||||
|
|
Reference in a new issue