Add drafts scripts
This commit is contained in:
parent
b438b27847
commit
a36f1b1dd8
2 changed files with 13 additions and 0 deletions
11
drafts.nix
Normal file
11
drafts.nix
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{ pkgs }:
|
||||||
|
|
||||||
|
pkgs.writeShellApplication {
|
||||||
|
name = "drafts";
|
||||||
|
|
||||||
|
runtimeInputs = with pkgs; [ gnugrep ];
|
||||||
|
|
||||||
|
text = ''
|
||||||
|
grep -r 'draft: true' source
|
||||||
|
'';
|
||||||
|
}
|
|
@ -20,6 +20,8 @@
|
||||||
|
|
||||||
php83Packages.composer
|
php83Packages.composer
|
||||||
tailwindcss
|
tailwindcss
|
||||||
|
|
||||||
|
(import ./drafts.nix { inherit pkgs; })
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue