1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

firefox-bin: fix update.nix freezing

https://github.com/NixOS/nixpkgs/pull/98338#issuecomment-716070078
This commit is contained in:
taku0 2020-10-25 13:45:44 +09:00
parent eaadab0fcd
commit 4eacc3784f

View file

@ -53,7 +53,7 @@ in writeScript "update-${name}" ''
# this is a list of sha256 and tarballs for both arches
# Upstream files contains python repr strings like b'somehash', hence the sed dance
shasums=`cat $HOME/shasums | sed -E s/"b'([a-f0-9]{64})'?(.*)"/'\1\2'/`
shasums=`cat $HOME/shasums | sed -E s/"b'([a-f0-9]{64})'?(.*)"/'\1\2'/ | grep tar.bz2`
cat > $tmpfile <<EOF
{