[Nix-dev] Re: [Nix-commits] SVN commit: nix - r29021 - nixos/trunk/modules/misc
Eelco Dolstra
e.dolstra at tudelft.nl
Mon Sep 5 11:43:11 CEST 2011
Hi,
On 09/05/2011 11:19 AM, Nicolas Pierron wrote:
> + optCall = f: x:
> + if builtins.isFunction f
> + then f x
> + else f;
Attributes that can be both functions or not are a bad habit that we
shouldn't propagate further :-) It also makes behaviour of
nixpkgs.config inconsistent with the semantics of the
~/.nixpkgs/config.nix. Is there a good reason for this?
--
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/
More information about the nix-dev
mailing list