about summary refs log tree commit diff stats
path: root/build
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-09-30 17:52:57 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-09-30 17:52:57 +0200
commit2ceda34c129d425f239ecb29177fb1b54f045543 (patch)
treea32f25e04cb8e5776a3ec0179dd5d82f86d30d78 /build
parentfix(common/init): Only build the `out` output; exclude the `man` output (diff)
downloadflake-templates-2ceda34c129d425f239ecb29177fb1b54f045543.tar.gz
flake-templates-2ceda34c129d425f239ecb29177fb1b54f045543.zip
chore(version): v0.7.2 v0.7.2
Diffstat (limited to 'build')
-rw-r--r--build/awk/init4
-rw-r--r--build/c/init4
-rw-r--r--build/latex/academia/init4
-rw-r--r--build/latex/letter/init4
-rw-r--r--build/rust/init4
-rw-r--r--build/shell/init4
6 files changed, 12 insertions, 12 deletions
diff --git a/build/awk/init b/build/awk/init
index 2c9c077..104bd30 100644
--- a/build/awk/init
+++ b/build/awk/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 .
diff --git a/build/c/init b/build/c/init
index 2c9c077..104bd30 100644
--- a/build/c/init
+++ b/build/c/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 .
diff --git a/build/latex/academia/init b/build/latex/academia/init
index 2c9c077..104bd30 100644
--- a/build/latex/academia/init
+++ b/build/latex/academia/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 .
diff --git a/build/latex/letter/init b/build/latex/letter/init
index 2c9c077..104bd30 100644
--- a/build/latex/letter/init
+++ b/build/latex/letter/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 .
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 .
diff --git a/build/shell/init b/build/shell/init
index 2c9c077..104bd30 100644
--- a/build/shell/init
+++ b/build/shell/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 .