[Nix-dev] Re: Removing nulls in BuildInputs

Ludovic Courtès ludo at gnu.org
Sun Oct 24 12:56:58 CEST 2010


Hello,

roconnor at theorem.ca writes:

> There was an idea tossed around on #nixos a few days ago that
> mkDerivation should remove the nulls from buildInputs (and maybe other
> items too). This would help make more consistent hashes that now
> currently change when we do refactoring that removes an item from the
> build input vs setting it to null.

Yes, but OTOH, I think it’s a sign of sloppiness when you end up with
nulls in ‘buildInputs’.

IOW, the ‘buildInputs’ list should be built up carefully so that it
contains exactly what’s needed.

Thanks,
Ludo’.




More information about the nix-dev mailing list