Re: [Nix-dev] setup.sh, addToSearchPath - only add if directory exists?

2013-04-28 Thread Marc Weber
I just notice that there is already a [ -d check. Sorry for the noise. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] setup.sh, addToSearchPath - only add if directory exists?

2013-04-28 Thread Marc Weber
Excerpts from Peter Simons's message of Sun Apr 28 15:35:31 +0200 2013: > personally, I don't see any benefit in filtering non-existent search > paths. Whether these paths are included in the environment or not > doesn't affect the build either way. There are other use cases such as PYTHONPATH or G

Re: [Nix-dev] setup.sh, addToSearchPath - only add if directory exists?

2013-04-28 Thread Peter Simons
Hi Marc, > Does it make sense to patch addToSearchPath so that it only adds > paths if they exist? personally, I don't see any benefit in filtering non-existent search paths. Whether these paths are included in the environment or not doesn't affect the build either way. Take care, Peter _

[Nix-dev] setup.sh, addToSearchPath - only add if directory exists?

2013-04-27 Thread Marc Weber
Does it make sense to patch addToSearchPath so that it only adds paths if they exist? Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev