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" NIX_STATE_DIR="$TMPDIR"
export NIX_STATE_DIR export NIX_STATE_DIR
fi fi
if "$NIX_STORE_PROGRAM" --timeout 123 -q > /dev/null 2>&1 if NIX_REMOTE=daemon "$NIX_STORE_PROGRAM" --timeout 123 -q; then
then
AC_MSG_RESULT([yes]) AC_MSG_RESULT([yes])
else else
AC_MSG_RESULT([no]) AC_MSG_RESULT([no])