nix-bitcoin/helper/fetch-channel

7 lines
169 B
Plaintext
Raw Normal View History

2019-11-07 12:57:00 -08:00
#!/usr/bin/env bash
rev=$1
sha256=$(nix-prefetch-url --unpack https://github.com/nixos/nixpkgs/archive/$rev.tar.gz)
2019-11-07 12:57:00 -08:00
echo "rev = \"$rev\";"
echo "sha256 = \"$sha256\";"