From e7fa73097a110d2930bb0c367d7ce06fa530aa6e Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 30 Sep 2024 17:49:08 +0200 Subject: chore(version): v0.7.1 --- build/shell/init | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'build/shell/init') diff --git a/build/shell/init b/build/shell/init index f8c8bb3..2c9c077 100644 --- a/build/shell/init +++ b/build/shell/init @@ -26,6 +26,10 @@ require() { exit 1 fi } +die() { + echo "$1" + exit 1 +} # Prompt the user for a specific variable. # ## Args: @@ -167,7 +171,7 @@ chmod +x update.sh [ -f ./watch.sh ] && chmod +x build.sh # Do the first run of reuse annotate -reuse="$(nix build nixpkgs#reuse --no-link --print-out-paths)" +reuse="$(nix build nixpkgs#reuse --no-link --print-out-paths)/bin/reuse" [ "$(echo "$reuse" | wc -l)" -ne 1 ] && die "Something is wrong with the nixpkgs#reuse derivation" git add . -- cgit 1.4.1