cypress: 3.6.1 -> 3.8.3 (#79871)

* cypress: 3.6.1 -> 3.8.3

* cypress: binary_state.json is now expected at the root of $out
This commit is contained in:
Wael Nasreddine 2020-02-11 15:32:43 -08:00 committed by GitHub
parent e8fe8182e9
commit 2f61814665
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,11 +2,11 @@
stdenv.mkDerivation rec{
pname = "cypress";
version = "3.6.1";
version = "3.8.3";
src = fetchzip {
url = "https://cdn.cypress.io/desktop/${version}/linux-x64/cypress.zip";
sha256 = "0vlfmhsz7zkp3bjsgqmp9n716d5znicl42hm0m9hl7ndvgm9z9z0";
sha256 = "1ncq64s5y5dsx0lrz950vab2yzwihl2wd7yapp12305bjjsihj3z";
};
# don't remove runtime deps
@ -30,7 +30,7 @@ stdenv.mkDerivation rec{
mkdir -p $out/bin/resources/app
printf '{"version":"%b"}' $version > $out/bin/resources/app/package.json
# Cypress now looks for binary_state.json in bin
echo '{"verified": true}' > $out/bin/binary_state.json
echo '{"verified": true}' > $out/binary_state.json
ln -s $out/opt/cypress/Cypress $out/bin/Cypress
'';