electron{-source,-bin,-chromedriver}: updates#363541
electron{-source,-bin,-chromedriver}: updates#363541emilylange merged 9 commits intoNixOS:masterfrom
Conversation
6bf77ff to
b0873cb
Compare
emilylange
left a comment
There was a problem hiding this comment.
Thanks :)
I will try to keep an eye on electron and intend to open PRs as well.
nixpkgs-review on x86_64-linux will likely take 6 hours or so on the infra currently delegated to it.
| "fetcher": "fetchFromGitiles", | ||
| "hash": "sha256-lepGVhzXrBAY5YWwobe18FroRiOD/Q9f8QqazHDmvTY=", | ||
| "postFetch": "rm -r $out/third_party/blink/web_tests; rm -r $out/third_party/hunspell/tests; rm -r $out/content/test/data; rm -r $out/courgette/testdata; rm -r $out/extensions/test/data; rm -r $out/media/test/data; ", | ||
| "postFetch": "rm -r $out/third_party/blink/web_tests; rm -r $out/third_party/hunspell/tests; rm -r $out/content/test/data; rm -rf $out/courgette/testdata; rm -r $out/extensions/test/data; rm -r $out/media/test/data; ", |
There was a problem hiding this comment.
chromium has since #357371 (specifically 8dd2f1a) more or less the same logic to resolve the dependencies.
But instead of having a bunch of rm in postFetch, chromium uses a custom recompress = true flag.
This is currently not available to electron as a consumer of the chromium derivation.
Well and it has its own downsides but oh well.
So nothing actionable so far, just as a fyi :)
nixpkgs/pkgs/applications/networking/browsers/chromium/update.mjs
Lines 93 to 95 in c2a355e
nixpkgs/pkgs/applications/networking/browsers/chromium/common.nix
Lines 154 to 170 in 878ced9
nixpkgs/pkgs/applications/networking/browsers/chromium/common.nix
Lines 172 to 186 in 878ced9
(spoiler: it's recompressTarball all over again)
|
|
Successfully created backport PR for |
|
Successfully created backport PR for |
Built on x86_64-linux:
-binvariantsThings done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.