about summary refs log tree commit diff stats
path: root/pkgs/by-name/st
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-11-04 21:44:02 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-11-04 21:44:02 +0100
commit660bd77014447ffe293c75ef7c7be075856d41cd (patch)
treeaa8746c5d710eab42cdb1f99cf04c36c4173e28f /pkgs/by-name/st
parentchore(pkgs/yt): 1.3.1 -> 1.3.2 (diff)
downloadnixos-config-660bd77014447ffe293c75ef7c7be075856d41cd.tar.gz
nixos-config-660bd77014447ffe293c75ef7c7be075856d41cd.zip
fix(pkgs/stamp): Fallback to `dot-license`
Otherwise, licensing files which need a dot-license becomes really
bothersome.
Diffstat (limited to '')
-rwxr-xr-xpkgs/by-name/st/stamp/stamp.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/by-name/st/stamp/stamp.sh b/pkgs/by-name/st/stamp/stamp.sh
index 663f404e..c3697c99 100755
--- a/pkgs/by-name/st/stamp/stamp.sh
+++ b/pkgs/by-name/st/stamp/stamp.sh
@@ -39,11 +39,13 @@ reuse_run() {
             --copyright "$(git config --get user.name) <$(git config --get user.email)>" \
             --copyright-style string-c \
             --template default \
+            --fallback-dot-license \
             --license "$license" "$1"
     else
         reuse annotate \
             --copyright "$(git config --get user.name) <$(git config --get user.email)>" \
             --copyright-style string-c \
+            --fallback-dot-license \
             --license "$license" "$1"
     fi
 }