Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nix
base: 3a6a2f88f263
Choose a base ref
...
head repository: NixOS/nix
compare: 85329cac35b3
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jan 25, 2021

  1. scripts/install-nix-from-closure: only show progress if a terminal is…

    … used
    
    While the progress dots during the copying of the store work fine on a
    normal terminal, those look pretty off if the script is run inside a
    provisioning script of e.g. `vagrant` or `packer` where `stderr` and
    `stdout` are captured:
    
        default: .
        default: ..
        default: .
        default: .
        default: .
    
    To work around this, the script checks with `-t 0` if it's
    running on an actual terminal and doesn't show the progress if that's not
    the case.
    
    (cherry picked from commit d9367a2)
    Ma27 authored and edolstra committed Jan 25, 2021
    Copy the full SHA
    85329ca View commit details
    Browse the repository at this point in the history