From 0345ec4c5a1523d3794ea8901d28065c5e1f3d20 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 30 Sep 2024 17:48:11 +0200 Subject: fix(common/init): Set the full path to the `reuse` binary Currently, only the directory *containing* the `reuse` binary is specified. --- common/init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/init b/common/init index 341e04c..2c9c077 100644 --- a/common/init +++ b/common/init @@ -171,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