From b1f916ba052341edc1f80d4b2399f1092a4873ca Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Sun, 8 Feb 2026 15:25:47 -0600 Subject: [PATCH] news: don't specify nixpkgs revision Not necessary for using nix-shell and causes extra maintenance. Signed-off-by: Austin Horstman --- modules/misc/news/create-news-entry.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/misc/news/create-news-entry.sh b/modules/misc/news/create-news-entry.sh index 7becc0fc..10cc4e93 100755 --- a/modules/misc/news/create-news-entry.sh +++ b/modules/misc/news/create-news-entry.sh @@ -1,5 +1,5 @@ #!/usr/bin/env nix-shell -#! nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/72ac591e737060deab2b86d6952babd1f896d7c5.tar.gz -i bash -p coreutils +#! nix-shell -i bash -p coreutils DATE="$(date --iso-8601=second --universal)" YEAR="$(date --date="$DATE" +"%Y")" @@ -15,7 +15,7 @@ cd "$DIRNAME" || { exit 1 } -cat - << EOF > "$YEAR/$MONTH/$FILENAME_BASE.nix" +cat - <"$YEAR/$MONTH/$FILENAME_BASE.nix" { time = "$DATE"; condition = true;