Revert "Merge master into staging-next"
I merged master into staging-next but accidentally pushed it to master. This should get us back to87a19e9048. This reverts commitac241fb7a5, reversing changes made to76a439239e.
This commit is contained in:
@@ -19,15 +19,11 @@ SYSTEMS=(
|
||||
[x86_64-darwin]=darwin-x64
|
||||
)
|
||||
|
||||
hashfile="$(nix-prefetch-url --print-path "https://github.com/electron/electron/releases/download/v${VERSION}/SHASUMS256.txt" 2>/dev/null | tail -n1)"
|
||||
|
||||
echo "Entry similar to the following goes in default.nix:"
|
||||
echo
|
||||
echo " electron_${VERSION%%.*} = mkElectron \"${VERSION}\" {"
|
||||
|
||||
for S in "${!SYSTEMS[@]}"; do
|
||||
hash="$(grep " *electron-v${VERSION}-${SYSTEMS[$S]}.zip$" "$hashfile"|cut -f1 -d' ')"
|
||||
echo " $S = \"$hash\";"
|
||||
HASHES["$S"]=$(nix-prefetch-url "https://github.com/electron/electron/releases/download/v${VERSION}/electron-v${VERSION}-${SYSTEMS[$S]}.zip")
|
||||
done
|
||||
|
||||
echo " };"
|
||||
for S in "${!HASHES[@]}"; do
|
||||
echo "$S"
|
||||
echo "sha256 = \"${HASHES[$S]}\";"
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user