New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
electron*: refactor 4+ to common expression, add 7 and 8, updates #79192
electron*: refactor 4+ to common expression, add 7 and 8, updates #79192
Conversation
@@ -19,11 +19,15 @@ 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)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hashfile="$(nix-prefetch-url --print-path "https://github.com/electron/electron/releases/download/v${VERSION}/SHASUMS256.txt" 2>/dev/null|tail -n1)" | |
hashfile="$(nix-prefetch-url --print-path "https://github.com/electron/electron/releases/download/v${VERSION}/SHASUMS256.txt" 2>/dev/null| tail -n1)" |
@dtzWill Can you please remove unsupported versions? |
Maybe a follow-up PR? I'm not sure I'm up to quality-control/testing everything using electron (which currently defaults to 4, unsupported)-- especially since apparently moving away from 3 broke things folks care about-- hence packaging it too (and likely why we have multiple versions packaged anyway?). Also, added electron_8! 😁 |
Ugh, I did forget about this. I've handled the prior electron updates, it's a bit of a pain having to test the consumers per upgrades/seeing what electron versions they should be using. Yep, we have that as a followup. |
* print-hashes.nix uses upstream-provided SHA256SUMS file * electron_4: 4.2.8 -> 4.2.12 * electron_5: 5.0.8 -> 5.0.13 * electron_6: 6.0.1 -> 6.1.7 * electron_7:: init at 7.1.10 FWIW: electron_4 previously did not include at-spi2-core, only at-spi2-atk. Both are now included, matching other versions for a slightly simpler expression.
1696829
to
ed8c639
Compare
Thanks @dtzWill, this is mine and your's todo lists now 😄 |
Motivation for this change
Fixes #76267
Wanted to add electron_7, duplication and updating was a pain,
so put together a rewrite to make maintaining these easier.
Notes
FWIW:
electron_4 previously did not include at-spi2-core, only at-spi2-atk.
Both are now included, matching other versions for a slightly simpler
expression.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)