mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 10:50:15 +00:00
element-desktop: avoid duplicating element-web
https://github.com/NixOS/nixpkgs/pull/563892 added webapp.asar to satisfy electron-builder. This unintentionally left it in the app bundle (in addition to symlinked electron-web), bloating the package by ~140MB for no good reason.
This commit is contained in:
@@ -112,6 +112,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
asar pack tmp-app "$packed"
|
||||
|
||||
# element-web is linked into the output during installPhase.
|
||||
find ./dist -name webapp.asar -delete
|
||||
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user