forked from lix-project/hydra
Stops the pager from blocking at configurePhase (#618)
This is caused by the autoconf check for `nix-store` which is equivalent to running this: ``` $ nix-store --timeout 123 -q ``` This would open the pager on a 2.1.1 version of nix. ``` $ nix-store --version nix-store (Nix) 2.1.1 ``` Setting `PAGER` to `cat` ensures the pager doesn't block the configurePhase. ``` $ PAGER=cat nix-store --timeout 123 -q ```
This commit is contained in:
parent
14d5577bf8
commit
51ce620681
|
@ -44,7 +44,7 @@ then
|
||||||
NIX_STATE_DIR="$TMPDIR"
|
NIX_STATE_DIR="$TMPDIR"
|
||||||
export NIX_STATE_DIR
|
export NIX_STATE_DIR
|
||||||
fi
|
fi
|
||||||
if NIX_REMOTE=daemon "$NIX_STORE_PROGRAM" --timeout 123 -q; then
|
if NIX_REMOTE=daemon PAGER=cat "$NIX_STORE_PROGRAM" --timeout 123 -q; then
|
||||||
AC_MSG_RESULT([yes])
|
AC_MSG_RESULT([yes])
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT([no])
|
AC_MSG_RESULT([no])
|
||||||
|
|
Loading…
Reference in a new issue