refactor: update nixos to use web_pipe()
This commit is contained in:
parent
8726bf9fad
commit
6c95750fe2
2
quickget
2
quickget
|
@ -2535,7 +2535,7 @@ function get_nixos() {
|
|||
local HASH=""
|
||||
local ISO="latest-nixos-${EDITION}-x86_64-linux.iso"
|
||||
local URL="https://channels.nixos.org/nixos-${RELEASE}"
|
||||
HASH=$(wget -q -O- "${URL}/${ISO}.sha256" | cut_1)
|
||||
HASH=$(web_pipe "${URL}/${ISO}.sha256" | cut_1)
|
||||
echo "${URL}/${ISO} ${HASH}"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue