diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-09-30 17:48:11 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-09-30 17:48:11 +0200 |
commit | 0345ec4c5a1523d3794ea8901d28065c5e1f3d20 (patch) | |
tree | a996163efa4abb5ff11d08df59b38864d5dbd912 /common | |
parent | fix(common/init): Define `die` function (diff) | |
download | flake-templates-0345ec4c5a1523d3794ea8901d28065c5e1f3d20.tar.gz flake-templates-0345ec4c5a1523d3794ea8901d28065c5e1f3d20.zip |
fix(common/init): Set the full path to the `reuse` binary
Currently, only the directory *containing* the `reuse` binary is specified.
Diffstat (limited to 'common')
-rw-r--r-- | common/init | 2 |
1 files changed, 1 insertions, 1 deletions
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 . |