Add a script for seeding data into the database

Expects a Data argument which is a directory containing the text for
A Study in Scarlet
This commit is contained in:
Campbell Alden 2026-08-15 00:14:01 +09:00
parent 81bad03ebd
commit cb70df80e1
2 changed files with 45 additions and 0 deletions

View file

@ -7,4 +7,7 @@ buildPythonApplication {
src = ./.;
pyproject = true;
build-system = [setuptools];
postInstall = ''
install -Dm755 scripts/seed.py $out/bin/seed
'';
}