Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stops the pager from blocking at configurePhase #618

Merged
merged 1 commit into from Dec 1, 2018

Conversation

samueldr
Copy link
Member

@samueldr samueldr commented Dec 1, 2018

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 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
```
@domenkozar domenkozar merged commit 51ce620 into NixOS:master Dec 1, 2018
@samueldr samueldr deleted the fix/pager-at-configurePhase branch January 20, 2019 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants