blog-static-flake/change_blog_nix.sh

4 lines
126 B
Bash
Raw Normal View History

2020-12-30 18:35:08 -08:00
echo "New rev: $1"
echo "New SHA256: $2"
sed -i "s/rev = \".*\"/rev = \"$1\"/;s/sha256 = \".*\"/sha256 = \"$2\"/" default.nix