From 717ac8bb3e72eaa2259e0a4557783b2e476980b2 Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Tue, 30 Jan 2024 23:58:22 +0700 Subject: [PATCH] chore(scripts): keep nix quiet --- scripts/nix_init.sh | 2 +- scripts/nix_maintain.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/nix_init.sh b/scripts/nix_init.sh index 7472e86..06ef6b9 100755 --- a/scripts/nix_init.sh +++ b/scripts/nix_init.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -sudo -i sh -c 'nix-channel --update' +sudo -i sh -c 'nix-channel --update --quiet' nix-env -iA \ nixpkgs.less nixpkgs.curl \ diff --git a/scripts/nix_maintain.sh b/scripts/nix_maintain.sh index a9ef113..eeaabb0 100755 --- a/scripts/nix_maintain.sh +++ b/scripts/nix_maintain.sh @@ -1,8 +1,8 @@ #!/usr/bin/env bash -sudo -i sh -c 'nix-channel --update' +sudo -i sh -c 'nix-channel --update --quiet' sudo -i sh -c 'nix-env -uA nixpkgs.nix' -sudo -i sh -c 'nix-collect-garbage -d' +sudo -i sh -c 'nix-collect-garbage -d --quiet' nix-env -uA \ nixpkgs.less nixpkgs.curl \ @@ -12,4 +12,4 @@ nix-env -uA \ nixpkgs.btop nixpkgs.cpufetch nixpkgs.onefetch \ nixpkgs.clang-tools nixpkgs.python3 nixpkgs.pipx nixpkgs.plantuml -nix-collect-garbage -d +nix-collect-garbage -d --quiet