diff options
-rw-r--r-- | flake.nix | 2 | ||||
-rw-r--r-- | kronika.json | 3 | ||||
-rwxr-xr-x | update.sh | 3 |
3 files changed, 7 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix index 47cfdae..a9fe9c5 100644 --- a/flake.nix +++ b/flake.nix @@ -11,7 +11,7 @@ repo = "kronika"; owner = "19pdh"; rev = "master"; - sha256 = "1pafahvq8xhpba2hgpipkbnhjr3j9zchnxfq4pnxqvidwz5rqr51"; + sha256 = (builtins.fromJSON (builtins.readFile ./kronika.json)).sha256; }; in { diff --git a/kronika.json b/kronika.json new file mode 100644 index 0000000..4af7992 --- /dev/null +++ b/kronika.json @@ -0,0 +1,3 @@ +{ + "sha256": "0g7kvxnrn4hgx14rn7p53xhzqdfs3jzf9000lrzr46zzamdlljrq" +} diff --git a/update.sh b/update.sh new file mode 100755 index 0000000..fb46c87 --- /dev/null +++ b/update.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +nix-prefetch-git "https://github.com/19pdh/kronika" | jq '{ sha256: .sha256 }' > kronika.json |