diff options
Diffstat (limited to 'build/rust/init')
-rw-r--r-- | build/rust/init | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/rust/init b/build/rust/init index 2c9c077..104bd30 100644 --- a/build/rust/init +++ b/build/rust/init @@ -27,7 +27,7 @@ require() { fi } die() { - echo "$1" + printf "init: ERROR: %s\n" "$1" exit 1 } @@ -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)/bin/reuse" +reuse="$(nix build nixpkgs#reuse.out --no-link --print-out-paths)/bin/reuse" [ "$(echo "$reuse" | wc -l)" -ne 1 ] && die "Something is wrong with the nixpkgs#reuse derivation" git add . |