Don't try to open the Nix DB from configure

Not sure how this ever worked before...
This commit is contained in:
Eelco Dolstra 2013-07-19 10:57:40 +02:00
parent 2d5e06918b
commit 7cd386894d

View file

@ -52,8 +52,7 @@ then
NIX_STATE_DIR="$TMPDIR"
export NIX_STATE_DIR
fi
if "$NIX_STORE_PROGRAM" --timeout 123 -q > /dev/null 2>&1
then
if NIX_REMOTE=daemon "$NIX_STORE_PROGRAM" --timeout 123 -q; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])