Add drafts scripts

This commit is contained in:
Oliver Davies 2025-08-22 00:42:54 +01:00
parent b438b27847
commit a36f1b1dd8
2 changed files with 13 additions and 0 deletions

11
drafts.nix Normal file
View file

@ -0,0 +1,11 @@
{ pkgs }:
pkgs.writeShellApplication {
name = "drafts";
runtimeInputs = with pkgs; [ gnugrep ];
text = ''
grep -r 'draft: true' source
'';
}

View file

@ -20,6 +20,8 @@
php83Packages.composer
tailwindcss
(import ./drafts.nix { inherit pkgs; })
];
};