mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 14:28:15 -05:00
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:
parent
5d7d64ff85
commit
4423caece6
1 changed files with 4 additions and 7 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue