GNU bug report logs - #43745
[PATCH] gnu: dune: Update to 2.7.1.

Previous Next

Package: guix-patches;

Reported by: Julien Lepiller <julien <at> lepiller.eu>

Date: Thu, 1 Oct 2020 13:46:02 UTC

Severity: normal

Tags: patch

Done: Julien Lepiller <julien <at> lepiller.eu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Julien Lepiller <julien <at> lepiller.eu>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: 43745 <at> debbugs.gnu.org
Subject: [bug#43745] [PATCH 27/27] gnu: dune: Update to 2.7.1.
Date: Fri, 02 Oct 2020 08:42:39 -0400
[Message part 1 (text/plain, inline)]
Yes, it's posssible, but as I said, most of our ocaml4.07-* packages will need to be fixed to work with dune 2.

Le 2 octobre 2020 04:56:20 GMT-04:00, zimoun <zimon.toutoune <at> gmail.com> a écrit :
>Hi,
>
>Thank you for all the patch set! :-)
>
>
>On Thu, 1 Oct 2020 at 16:07, Julien Lepiller <julien <at> lepiller.eu>
>wrote:
>
>> -(define-public dune
>> +(define dune-bootstrap
>>    (package
>>      (name "dune")
>> -    (version "1.11.3")
>> +    (version "2.7.1")
>>      (source (origin
>>                (method git-fetch)
>>                (uri (git-reference
>> @@ -1289,17 +1289,19 @@ full_split, cut, rcut, etc..")
>>                (file-name (git-file-name name version))
>>                (sha256
>>                 (base32
>> -               
>"0l4x0x2fz135pljv88zj8y6w1ninsqw0gn1mdxzprd6wbxbyn8wr"))))
>> +               
>"10qgx83fq8b522y9mpllrp0l5cgmr2bs5s7aix5img21hlbm34in"))))
>>      (build-system ocaml-build-system)
>>      (arguments
>>       `(#:tests? #f; require odoc
>> -       #:make-flags (list (string-append "PREFIX=" (assoc-ref
>%outputs "out"))
>> +       #:make-flags (list "release"
>> +                          (string-append "PREFIX=" (assoc-ref
>%outputs "out"))
>>                            (string-append "LIBDIR=" (assoc-ref
>%outputs "out")
>>                                           "/lib/ocaml/site-lib"))
>>         #:phases
>>         (modify-phases %standard-phases
>>           (replace 'configure
>>             (lambda* (#:key outputs #:allow-other-keys)
>> +             (mkdir-p "src/dune")
>>               (invoke "./configure")
>>               #t)))))
>>      (home-page "https://github.com/ocaml/dune")
>
>[...]
>
>> +(define-public dune
>> +  (package
>> +    (inherit dune-bootstrap)
>> +    (propagated-inputs
>> +     `(("dune-configurator" ,dune-configurator)))
>> +    (properties `((ocaml4.07-variant . ,(delay ocaml4.07-dune))))))
>> +
>>  (define-public ocaml4.07-dune
>> -  (package-with-ocaml4.07 dune))
>> +  (package
>> +    (inherit (package-with-ocaml4.07 dune-bootstrap))
>> +    (version "1.11.3")
>> +    (source (origin
>> +              (method git-fetch)
>> +              (uri (git-reference
>> +                     (url "https://github.com/ocaml/dune")
>> +                     (commit version)))
>> +              (file-name (git-file-name "dune" version))
>> +              (sha256
>> +               (base32
>> +               
>"0l4x0x2fz135pljv88zj8y6w1ninsqw0gn1mdxzprd6wbxbyn8wr"))))))
>
>Can  the v2.7.1 of 'dune-bootstrap' be compiled with OCaml4.07?
>
>All the best,
>simon
[Message part 2 (text/html, inline)]

This bug report was last modified 4 years and 222 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.