1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-11 04:56:01 +01:00
nix/scripts
Maximilian Bosch 85329cac35
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 d9367a2dd1)
2021-01-25 20:14:10 +01:00
..
create-darwin-volume.sh adapt to apfs.util flag diff in catalina/big sur 2020-10-20 12:21:45 +02:00
install-darwin-multi-user.sh Copy instead of linking launch agent 2020-01-04 14:06:29 +01:00
install-multi-user.sh docs/installer: add correct curl flags 2020-07-08 14:20:54 +02:00
install-nix-from-closure.sh scripts/install-nix-from-closure: only show progress if a terminal is used 2021-01-25 20:14:10 +01:00
install-systemd-multi-user.sh installer: Handle edge case where the nix-daemon is already running on the system 2020-05-26 11:39:02 +02:00
install.in enable Darwin.arm64 to install x86_64 binary 2020-11-20 10:51:51 +01:00
local.mk Pull nix-profile-daemon from 1.11 2017-10-16 14:51:39 -04:00
nix-http-export.cgi.in Replace wrong (w.r.t. PATH) sed call with in-shell substitution 2009-02-19 20:46:45 +00:00
nix-profile-daemon.sh.in Remove $NIX_USER_PROFILE_DIR 2020-05-26 11:39:01 +02:00
nix-profile.sh.in Remove $NIX_USER_PROFILE_DIR 2020-05-26 11:39:01 +02:00
nix-reduce-build.in Add support for ‘make installcheck’ 2013-11-25 18:47:03 +01:00