actually fix coq 8.6

Julien LepillerThu Nov 29 18:36:52+0100 2018

3284404

actually fix coq 8.6

more/packages/ocaml.scm

134134
provers.")
135135
    (license license:gpl2+)))
136136
137+
(define-public ocaml4.02-camlp5
138+
  (package
139+
    (inherit camlp5)
140+
    (inputs
141+
     `(("ocaml" ,ocaml-4.02)))))
142+
137143
(define-public coq-8.6
138144
  (package
139145
    (inherit coq)

148154
               (base32
149155
                "02nm5sn79hrb9fdmkhyclk80jydadf4jcafmr3idwr5h4z56qbms"))))
150156
    (arguments
151-
     `(#:phases
157+
     `(#:ocaml ,ocaml-4.02
158+
       #:findlib ,ocaml4.02-findlib
159+
       #:phases
152160
       (modify-phases %standard-phases
153161
         (replace 'configure
154162
           (lambda* (#:key outputs #:allow-other-keys)

163171
             #t))
164172
         (replace 'build
165173
           (lambda* (#:key inputs #:allow-other-keys)
166-
             (substitute* "ide/ideutils.ml"
167-
               (("Bytes.unsafe_to_string read_string") "read_string"))
168174
             (invoke "make" "-j" (number->string
169175
                                  (parallel-job-count))
170-
                     (string-append
171-
                       "USERFLAGS=-I "
172-
                       (assoc-ref inputs "ocaml-num")
173-
                       "/lib/ocaml/site-lib")
174176
                     "world")
175177
             #t))
176178
         (delete 'check)

178180
           (lambda _
179181
             (with-directory-excursion "test-suite"
180182
               (invoke "make"))
181-
             #t)))))))
183+
             #t)))))
184+
    (native-inputs '())
185+
    (inputs
186+
     `(("lablgtk" ,ocaml4.02-lablgtk)
187+
       ("python" ,python-2)
188+
       ("camlp5" ,ocaml4.02-camlp5)))))
182189
183190
(define-public coq-8.7
184191
  (package