nongnu: compcert: Allow build against newer coq version.

* nongnu/packages/coq.scm (compcert)[arguments]: New phase
'allow-newer-coq-version.
This commit is contained in:
Jonathan Brielmaier 2022-05-26 10:15:27 +02:00
parent 61ca8018b0
commit b8404abba7
No known key found for this signature in database
GPG key ID: ECFC83988B4E4B9F

View file

@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2020 Julien Lepiller <julien@lepiller.eu>
;;; Copyright © 2021 Isaac Young <isyoung@pm.me>
;;; Copyright © 2022 Jonathan Brielmaier <jonathan.brielmaier@web.de>
;;;
;;; This file is not part of GNU Guix.
;;;
@ -43,6 +44,10 @@
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'configure 'allow-newer-coq-version
(lambda _
(substitute* "configure"
(("8.14.0") "8.15.1"))))
(replace 'configure
(lambda* (#:key outputs #:allow-other-keys)
(let ((system ,(match (or (%current-target-system) (%current-system))