Hi. On 02/13/2012 08:45 PM, Michael Raskin wrote: >> Currently quite a few packages in nixpkgs have /var/run/current-system/sw >> and/or /var/setuid-wrappers hardcoded. Why is it better than having /usr? > Although suboptimal, it is better than /usr/ because upstream packages > themselves don't do this on their own (yet). Unlike /usr/ references, > these are at least easy to locate...
Yes, moreover the directories are symlinks so they are easily updated (e.g. on nixos-rebuild switch). Anyway, it's only used for things that are (at most) once on every system. Or you mean it would be better to have these paths like /var/run/current-system as some configurable parameters in the expressions (attributes of pkgs)? It might be better but I would postpone such things until we find a use case... Vlada _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
