nongnu: compcert: Fix build with coq@8.16.0.

* nongnu/packages/coq.scm (compcert)[arguments]: Reintroduce the 'allow-newer-coq-version phase.
This commit is contained in:
Jonathan Brielmaier 2022-10-24 21:44:59 +02:00
parent 3f00d57adc
commit 8fe57ffd70
No known key found for this signature in database
GPG key ID: ECFC83988B4E4B9F

View file

@ -44,6 +44,10 @@
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-before 'configure 'allow-newer-coq-version
(lambda _
(substitute* "configure"
(("8.14.0") "8.16.0"))))
(replace 'configure (replace 'configure
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let ((system ,(match (or (%current-target-system) (%current-system)) (let ((system ,(match (or (%current-target-system) (%current-system))