mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-25 10:12:42 +03:00
7 lines
178 B
Plaintext
7 lines
178 B
Plaintext
|
#!/usr/bin/env bash
|
||
|
|
||
|
rev=$1
|
||
|
sha256=$(nix-prefetch-url --unpack https://github.com/nixos/nixpkgs-channels/archive/$rev.tar.gz)
|
||
|
echo "rev = \"$rev\";"
|
||
|
echo "sha256 = \"$sha256\";"
|