Adding a check in the generic builder so it halts on the existence of

/homeless-shelter


svn path=/nixpkgs/branches/stdenv-updates/; revision=18302
This commit is contained in:
Lluís Batlle i Rossell 2009-11-08 22:50:27 +00:00
parent 1b37fc42bb
commit 6675f0a52c

View file

@ -78,6 +78,10 @@ addToSearchPath() {
set -e
# Check that the directory pointed by HOME, usually '/homeless-shelter',
# does not exist, as it may be a good source for impurities.
! test -e $HOME
test -z $NIX_GCC && NIX_GCC=@gcc@