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:
parent
e8fe8182e9
commit
2f61814665
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec{
|
stdenv.mkDerivation rec{
|
||||||
pname = "cypress";
|
pname = "cypress";
|
||||||
version = "3.6.1";
|
version = "3.8.3";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://cdn.cypress.io/desktop/${version}/linux-x64/cypress.zip";
|
url = "https://cdn.cypress.io/desktop/${version}/linux-x64/cypress.zip";
|
||||||
sha256 = "0vlfmhsz7zkp3bjsgqmp9n716d5znicl42hm0m9hl7ndvgm9z9z0";
|
sha256 = "1ncq64s5y5dsx0lrz950vab2yzwihl2wd7yapp12305bjjsihj3z";
|
||||||
};
|
};
|
||||||
|
|
||||||
# don't remove runtime deps
|
# don't remove runtime deps
|
||||||
@ -30,7 +30,7 @@ stdenv.mkDerivation rec{
|
|||||||
mkdir -p $out/bin/resources/app
|
mkdir -p $out/bin/resources/app
|
||||||
printf '{"version":"%b"}' $version > $out/bin/resources/app/package.json
|
printf '{"version":"%b"}' $version > $out/bin/resources/app/package.json
|
||||||
# Cypress now looks for binary_state.json in bin
|
# 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
|
ln -s $out/opt/cypress/Cypress $out/bin/Cypress
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user