about summary refs log tree commit diff stats
path: root/common
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-09-30 17:52:18 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-09-30 17:52:18 +0200
commite02e9e8bca10da0f40d6e807808b3866da37337a (patch)
tree9889ee42ba2b1efb4a579b505f34138e7a56a3ca /common
parentchore(version): v0.7.1 (diff)
downloadflake-templates-e02e9e8bca10da0f40d6e807808b3866da37337a.tar.gz
flake-templates-e02e9e8bca10da0f40d6e807808b3866da37337a.zip
fix(common/init): Only build the `out` output; exclude the `man` output
Diffstat (limited to 'common')
-rw-r--r--common/init4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/init b/common/init
index 2c9c077..104bd30 100644
--- a/common/init
+++ b/common/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 .