[Nix-dev] Re: [Nix-commits] SVN commit: nix - 17191 - raskin - nixpkgs/trunk/pkgs/top-level
Eelco Dolstra
e.dolstra at tudelft.nl
Wed Sep 16 16:03:09 CEST 2009
Hi,
Michael Raskin wrote:
> - aufs2Utils = if kernel.features ? aufs then
> + aufs2Utils = if lib.attrByPath ["features" "aufs"] false kernel then
This is not an improvement. I kind of dislike these verbose attrByPath calls.
Actually, it might be nice to have some syntax for querying an attribute with a
default fallback value.
--
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/
More information about the nix-dev
mailing list