about summary refs log tree commit diff
path: root/update-voidrice.sh
diff options
context:
space:
mode:
Diffstat (limited to 'update-voidrice.sh')
-rwxr-xr-xupdate-voidrice.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/update-voidrice.sh b/update-voidrice.sh
new file mode 100755
index 0000000..615502c
--- /dev/null
+++ b/update-voidrice.sh
@@ -0,0 +1,4 @@
+#!/usr/bin/env nix-shell
+#!nix-shell -i sh -p nix-prefetch-git jq
+
+nix-prefetch-git --fetch-submodules "https://github.com/LukeSmithxyz/voidrice" | jq '{ rev: .rev, sha256: .sha256 }' > pkgs/voidrice.json