diff options
author | Kira Bruneau <kira.bruneau@pm.me> | 2022-07-26 22:35:53 -0400 |
---|---|---|
committer | Kira Bruneau <kira.bruneau@pm.me> | 2022-08-09 18:36:08 -0400 |
commit | 6877e896fc728e0a09c26954a5ea56e4bfc2a0f6 (patch) | |
tree | 2de4f28a6487c5704eb48b2e1f1ef6d596974e6a /pkgs/applications/networking/instant-messengers | |
parent | 2c035ca89fa444e8ef492976678de84ac189241d (diff) |
schildichat-desktop: remove special case for electron on darwin
Diffstat (limited to 'pkgs/applications/networking/instant-messengers')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/schildichat/schildichat-desktop.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/applications/networking/instant-messengers/schildichat/schildichat-desktop.nix b/pkgs/applications/networking/instant-messengers/schildichat/schildichat-desktop.nix index e2b4cafe99361..d1a1c8d64690a 100644 --- a/pkgs/applications/networking/instant-messengers/schildichat/schildichat-desktop.nix +++ b/pkgs/applications/networking/instant-messengers/schildichat/schildichat-desktop.nix @@ -19,7 +19,6 @@ let pinData = lib.importJSON ./pin.json; executableName = "schildichat-desktop"; - electron_exec = if stdenv.isDarwin then "${electron}/Applications/Electron.app/Contents/MacOS/Electron" else "${electron}/bin/electron"; in stdenv.mkDerivation rec { pname = "schildichat-desktop"; @@ -88,7 +87,7 @@ stdenv.mkDerivation rec { done # executable wrapper - makeWrapper '${electron_exec}' "$out/bin/${executableName}" \ + makeWrapper '${electron}/bin/electron' "$out/bin/${executableName}" \ --add-flags "$out/share/element/electron" \ --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--enable-features=UseOzonePlatform --ozone-platform=wayland}}" |