From 5351e71b10c4de2068aa450def3c9beb8b8df406 Mon Sep 17 00:00:00 2001 From: Kevin Amado Date: Sun, 3 Nov 2024 20:13:11 -0700 Subject: [PATCH] refac: unnecessary statement --- .pre-commit-entry.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.pre-commit-entry.sh b/.pre-commit-entry.sh index 1c26928..5c6c943 100755 --- a/.pre-commit-entry.sh +++ b/.pre-commit-entry.sh @@ -7,14 +7,6 @@ if ! command -v nix-build; then exit 1 fi -if ! command -v nix-instantiate; then - echo 'ERROR: this pre-commit hook requires "nix-instantiate" to be installed first' - exit 1 -fi - -echo INFO: computing current system -system="$(nix-instantiate --eval --expr builtins.currentSystem)" - echo INFO: building Alejandra nix-build \