gnu: coq-equations: Adjust '#:make-flags'.

* gnu/packages/coq.scm (coq-equations)[arguments]<#:make-flags>: Set install
destination.
<#:phases>: Remove replace 'install.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
This commit is contained in:
zimoun 2021-11-16 19:51:53 +01:00 committed by Julien Lepiller
parent 5d7d64ff85
commit 4423caece6
No known key found for this signature in database
GPG key ID: 53D457B2D636EE82

View file

@ -547,17 +547,14 @@ (define-public coq-equations
`(("ocaml-zarith" ,ocaml-zarith))) `(("ocaml-zarith" ,ocaml-zarith)))
(arguments (arguments
`(#:test-target "test-suite" `(#:test-target "test-suite"
#:make-flags (list (string-append "COQLIBINSTALL="
(assoc-ref %outputs "out")
"/lib/coq/user-contrib"))
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(replace 'configure (replace 'configure
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(invoke "sh" "./configure.sh"))) (invoke "sh" "./configure.sh"))))))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(invoke "make"
(string-append "COQLIB=" (assoc-ref outputs "out")
"/lib/coq/")
"install"))))))
(home-page "https://mattam82.github.io/Coq-Equations/") (home-page "https://mattam82.github.io/Coq-Equations/")
(synopsis "Function definition plugin for Coq") (synopsis "Function definition plugin for Coq")
(description "Equations provides a notation for writing programs (description "Equations provides a notation for writing programs