minor cleanups
- btcpayserver: remove unneeded trailing semicolons - krops/get-sha256: `tail` is unneeded because `nix-prefetch-url` just outputs a single line containing the hash.
This commit is contained in:
@@ -5,7 +5,7 @@ set -euo pipefail
|
||||
archive_hash () {
|
||||
repo=$1
|
||||
rev=$2
|
||||
nix-prefetch-url --unpack "https://github.com/${repo}/archive/${rev}.tar.gz" 2> /dev/null | tail -n 1
|
||||
nix-prefetch-url --unpack "https://github.com/${repo}/archive/${rev}.tar.gz" 2> /dev/null
|
||||
}
|
||||
|
||||
echo "Fetching latest krops commit"
|
||||
|
||||
Reference in New Issue
Block a user