[Nix-dev] [Nix-commits] [NixOS/nix] 17dc30: Revert "prim_toPath: Actually make the string a pa...

Eelco Dolstra eelco.dolstra at logicblox.com
Thu Nov 15 23:55:22 CET 2012


Hi Shea,

On 15/11/12 23:14, Shea Levy wrote:

> I've already fixed this issue in NixOS master, and the usage of toPath was
> incorrect in that case anyway. Any current uses of toPath aren't getting the
> desired behavior anyway (and AFAICT never have), so isn't it better to expose
> these cases where the expression author misunderstood the meaning of toPath and
> fix the cases where the developer understood correctly?

Well, this change causes existing code to break.  So you wouldn't be able to
build old NixOS revisions anymore, which is IMHO a bad thing.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/


More information about the nix-dev mailing list