mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-30 13:38:37 +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\";"
|