git: find global configs in /etc/ instead of /etc

This commit is contained in:
Domen Kožar 2013-07-29 23:40:54 +02:00
parent 0be7ef35bb
commit ae7adcb6e4

View File

@ -34,7 +34,7 @@ stdenv.mkDerivation {
# required to support pthread_cancel()
NIX_LDFLAGS = stdenv.lib.optionalString (!stdenv.isDarwin) "-lgcc_s";
makeFlags = "prefix=\${out} PERL_PATH=${perl}/bin/perl SHELL_PATH=${stdenv.shell} "
makeFlags = "prefix=\${out} sysconfdir=/etc/ PERL_PATH=${perl}/bin/perl SHELL_PATH=${stdenv.shell} "
+ (if pythonSupport then "PYTHON_PATH=${python}/bin/python" else "NO_PYTHON=1");
# FIXME: "make check" requires Sparse; the Makefile must be tweaked