[Nix-dev] string vs path hell
Eelco Dolstra
eelco.dolstra at logicblox.com
Tue Jun 10 14:09:47 CEST 2014
Hi,
On 10/06/14 11:27, Kirill Elagin wrote:
> Strings in nix have contexts:
> https://github.com/NixOS/nix/blob/master/src/libexpr/value.hh#L45.
> When you compare strings with `==`, those contexts also get compared.
I've just gotten rid of that:
https://github.com/NixOS/nix/commit/ee7fe64c0ac00f2be11604a2a6509eb86dc19f0a
since comparing the context is not actually useful anywhere, AFAIK. So in Nix >=
1.8 `==` should behave like "eqString".
--
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/
More information about the nix-dev
mailing list