[Nix-dev] [Nix-commits] [NixOS/nix] 17dc30: Revert "prim_toPath: Actually make the string a pa...
Shea Levy
shea at shealevy.com
Thu Nov 15 23:14:15 CET 2012
Hi Eelco,
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?
~Shea
On 11/15/2012 05:05 PM, Eelco Dolstra wrote:
> Branch: refs/heads/master
> Home: https://github.com/NixOS/nix
> Commit: 17dc306aa32c48dcde6bfc12ad5e4b48f6b88974
> https://github.com/NixOS/nix/commit/17dc306aa32c48dcde6bfc12ad5e4b48f6b88974
> Author: Eelco Dolstra <eelco.dolstra at logicblox.com>
> Date: 2012-11-15 (Thu, 15 Nov 2012)
>
> Changed paths:
> M src/libexpr/primops.cc
>
> Log Message:
> -----------
> Revert "prim_toPath: Actually make the string a path"
>
> This reverts commit 2980d1fba97069805c3649c5d99d0356bce6c303. It
> causes a regression in NixOS evaluation:
>
> string `/nix/store/ya3s5gmj3b28170fpbjhgsk8wzymkpa1-pommed-1.39/etc/pommed.conf' cannot refer to other paths
>
>
>
>
>
> _______________________________________________
> nix-commits mailing list
> nix-commits at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-commits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20121115/a1db27ea/attachment.html
More information about the nix-dev
mailing list