[Nix-dev] Travis builds for master are broken, I'm mystified

Wout Mertens wout.mertens at gmail.com
Fri Jan 2 10:38:14 CET 2015


So the workaround might be to define a null glibc in Darwin but that
doesn't explain why it suddenly started evaluating. There was a staging
merge between the successful Travis build of the PR and the failed build of
the merge:
https://github.com/NixOS/nixpkgs/commit/3a2478605d66b73f598f3b1b930e87fa87785113
but I don't see anything special...

On Fri, Jan 2, 2015, 10:16 Vladimír Čunát <vcunat at gmail.com> wrote:

> On 01/01/2015 10:13 PM, Georges Dubus wrote:
> > The problem is that, even though the expression is not meant to work on
> > darwin, it is still evaluated there.
>
> Yes, I'm also puzzled by that. There's no glibc in darwin's stdenv
> (darwin has a different libc). It seems like some laziness change or
> something, as openarena only has linuxes in meta.platforms.
>
> IIRC, when I put ``assert stdenv.isLinux;`` on the second line, the
> problem disappeared and some other similar error in another package took
> its place. However, putting those assertions on many places just seems
> wrong, as we have meta.platforms.
>
> Vladimir
>
>
> _______________________________________________
> 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/20150102/452cb217/attachment.html 


More information about the nix-dev mailing list