[Nix-dev] Removing nulls in BuildInputs

Marc Weber marco-oweber at gmx.de
Fri Oct 22 22:04:41 CEST 2010


Excerpts from roconnor's message of Fri Oct 22 21:55:07 +0200 2010:
> 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.
There was a discussion month ago on the mailinglist. But for different
reasons.

{
  foo = null
  bar = [abc null];
}

should be stripped to

{ bar = [ abc]; }

then?

Marc Weber



More information about the nix-dev mailing list