nix-bitcoin/helper/fetch-channel
2019-11-11 18:45:17 +01:00

7 lines
178 B
Bash
Executable File

#!/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\";"