about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-23 18:18:15 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-23 18:18:15 +0200
commit45c1e02c4c054ee746dc7958136c688658ab20b2 (patch)
treebabe0f8c586a40cd3b1b9198fdf71f02b6a63320
parentfix(pkgs/stamp): Recognize unknown commands (diff)
downloadnixos-config-45c1e02c4c054ee746dc7958136c688658ab20b2.tar.gz
nixos-config-45c1e02c4c054ee746dc7958136c688658ab20b2.zip
fix(pkgs/stamp): Use the correct default template path
-rwxr-xr-xpkgs/by-name/st/stamp/stamp.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/st/stamp/stamp.sh b/pkgs/by-name/st/stamp/stamp.sh
index 15bf887a..018254c5 100755
--- a/pkgs/by-name/st/stamp/stamp.sh
+++ b/pkgs/by-name/st/stamp/stamp.sh
@@ -34,7 +34,7 @@ EOF
 reuse_run() {
     root="$(git rev-parse --show-toplevel)"
 
-    if [ -e "$root/.reuse/templates/default" ]; then
+    if [ -e "$root/.reuse/templates/default.jinja2" ]; then
         reuse annotate \
             --copyright "$(git config --get user.name) <$(git config --get user.email)>" \
             --copyright-style string-c \