[Nix-dev] Re: [Nix-commits] SVN commit: nix - 15683 - MarcWeber - nixos/branches/fix-style/etc

Nicolas Pierron nicolas.b.pierron at gmail.com
Thu May 21 19:27:13 CEST 2009


On Thu, May 21, 2009 at 16:48, Marc Weber <marco-oweber at gmx.de> wrote:
> One example: If you source /etc/bashrc from zsh you'll get:
>
>  nixos% source /etc/bashrc
>  /etc/bashrc:37: no matches found: NIX_OTHER_STORES=/var/run/nix/remote-stores/*/nix

$(test /var/run/nix/remote-stores/ && find /var/run/nix/remote-stores/
-maxdepth 2 -type d -name nix)

will also avoid wrong values inside bash.


-- 
Nicolas Pierron
http://www.linkedin.com/in/nicolasbpierron
- If you are doing something twice then you should try to do it once.



More information about the nix-dev mailing list