mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-27 12:06:33 +03:00
8e268c5ced
nixpkgs-channels is deprecated.
7 lines
169 B
Bash
Executable File
7 lines
169 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
rev=$1
|
|
sha256=$(nix-prefetch-url --unpack https://github.com/nixos/nixpkgs/archive/$rev.tar.gz)
|
|
echo "rev = \"$rev\";"
|
|
echo "sha256 = \"$sha256\";"
|