naersk/script/gen
Patryk Wychowaniec 66883c7d6d readme: Fix ./script/gen
I've accidentally broken the script during the recent test refactoring,
since now test.nix doesn't evaluate to an attrset.
2022-05-16 19:33:31 +02:00

12 lines
198 B
Text
Executable file

#!/usr/bin/env nix-shell
#!nix-shell -i bash
#!nix-shell -I nixpkgs=./nix
#!nix-shell -p nix
set -euo pipefail
echo "Updating README"
cat $(nix-build ./readme.nix -A body) > README.md
echo done