~ruther/guix-local

5d7d64ff8567abb32defbf00038fab789353a8d5 — zimoun 4 years ago 7b93c6d7
gnu: coq-autosubst: Adjust '#:make-flags'.

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

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
1 files changed, 4 insertions(+), 8 deletions(-)

M gnu/packages/coq.scm
M gnu/packages/coq.scm => gnu/packages/coq.scm +4 -8
@@ 502,16 502,12 @@ Coq proof assistant.")
      (build-system gnu-build-system)
      (arguments
       `(#:tests? #f
       #:make-flags (list (string-append "COQLIBINSTALL="
                                         (assoc-ref %outputs "out")
                                         "/lib/coq/user-contrib"))
         #:phases
         (modify-phases %standard-phases
           (delete 'configure)
           (replace 'install
             (lambda* (#:key outputs #:allow-other-keys)
               (setenv "COQLIB" (string-append (assoc-ref outputs "out") "/lib/coq/"))
               (invoke "make"
                       (string-append "COQLIB=" (assoc-ref outputs "out")
                                      "/lib/coq/")
                       "install"))))))
           (delete 'configure))))
      (native-inputs
       `(("coq" ,coq)))
      (home-page "https://www.ps.uni-saarland.de/autosubst/")