Tidy
Some checks failed
Build / nix-build (native-aarch64, varda) (pull_request) Successful in 1m44s
Build / nix-build (native-x86_64, legiondary) (pull_request) Failing after 11s

This commit is contained in:
Joseph Hanson 2024-06-30 23:33:01 -05:00
parent 3f4e24449b
commit 290c7d44fc
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

@ -49,7 +49,7 @@ get_version() {
echo "$1" | grep -oP -m 1 '(?<=/v)[\d.\w]+(?=/)'
}
# nix-prefect-url seems to be uncompressing the archive then taking the hash
# nix-prefetch-url seems to be uncompressing the archive then taking the hash
# so just get the hash from fetchurl
sri_get() {
local ouput sri
@ -63,7 +63,6 @@ sri_get() {
echo "$sri"
}
for sys in darwin linux; do
url=$(resolve_url ${sys})
version=$(get_version "${url}")