[Nix-dev] Zero Hydra Failures (ZHF) project for NixOS

Marco Maggesi maggesi at math.unifi.it
Sat Sep 20 12:35:10 CEST 2014


Ah, thanks, I didn't notice.
So, for the record, the answer to my question was 1, at least in this case.



2014-09-20 10:48 GMT+02:00 Domen Kožar <domen at dev.si>:

> Should be fixed in master.
>
> On Sat, Sep 20, 2014 at 12:18 AM, Marco Maggesi <maggesi at math.unifi.it>
> wrote:
>
>> Hi,
>>
>> I would like to give my tiny contribution to ZHF by fixing caml5 version
>> 5.15, e.g.
>>
>> http://hydra.nixos.org/job/nixos/trunk-combined/nixpkgs.ocamlPackages.camlp5_5_strict.x86_64-linux
>>
>> The problem is that camlp5 version 5.15 is old (kept because it is a
>> dependency of matita) and it is not compatible with ocaml 4.xx.
>>
>> Question: which is the right way to prevent hydra to build camlp5 with
>> recent versions of ocaml?
>> I suppose that there should be a "standard" approach for this kind of
>> problems.  Is it?
>>
>> I see four choices:
>>
>> 1. raise an exception with an assert that compares the version of ocaml.
>>  (An evaluation error is perhaps better than a compilation error anyway.)
>> 2. conditionally add camlp5_old to mkOcamlPackages.
>> 3. move camlp5_old out from mkOcamlPackages and compile camlp5_old for
>> exactly one version of ocaml (perhaps a good solution in this particular
>> case but not in other analogous cases).
>> 4. conditionally fill meta.platform in camlp5.
>>
>> Are there other possibilities?
>> Can you suggest which is better?
>> This seems to be a common problem (e.g., I have the same problem with the
>> blcr linux modules and with the openafs linux modules), I would like to
>> know if there is a general accepted strategy for this situation.
>>
>> Thanks,
>> Marco
>>
>>
>> 2014-09-19 19:30 GMT+02:00 Domen Kožar <domen at dev.si>:
>>
>>> Hi all,
>>>
>>> during NixOS sprint in Ljubljana I joined the effort to get build
>>> failures down to 0 for NixOS.
>>>
>>> We're current at 135 failing builds (down from 2500 before the sprint)
>>> for nixos-combined job.
>>>
>>> To see last failing builds, check:
>>> http://hydra.nixos.org/eval/1152694#tabs-still-fail
>>>
>>> I'll try to get those down to ~0 during the weekend, I'd like to
>>> encourage anyone willing to fix one or two builds to join in to achieve
>>> this milestone after a long period of time.
>>>
>>> Rock on!
>>>
>>> Domen
>>>
>>> _______________________________________________
>>> nix-dev mailing list
>>> nix-dev at lists.science.uu.nl
>>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>>
>>>
>>
>> _______________________________________________
>> nix-dev mailing list
>> nix-dev at lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>
>>
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20140920/7cfd3e81/attachment.html 


More information about the nix-dev mailing list