obsidian: pin electron to 39; add prince213 as maintainer (#510075)
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
fetchurl,
|
||||
lib,
|
||||
makeWrapper,
|
||||
electron,
|
||||
electron_39, # as in upstream bundle, see https://github.com/NixOS/nixpkgs/pull/510075
|
||||
makeDesktopItem,
|
||||
imagemagick,
|
||||
autoPatchelfHook,
|
||||
@@ -26,6 +26,7 @@ let
|
||||
zaninime
|
||||
kashw2
|
||||
w-lfchen
|
||||
prince213
|
||||
];
|
||||
|
||||
platforms = [
|
||||
@@ -79,7 +80,7 @@ let
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/bin
|
||||
makeWrapper ${electron}/bin/electron $out/bin/obsidian \
|
||||
makeWrapper ${electron_39}/bin/electron $out/bin/obsidian \
|
||||
--add-flags $out/share/obsidian/app.asar \
|
||||
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform=wayland --enable-wayland-ime=true --wayland-text-input-version=3}}" \
|
||||
--add-flags ${lib.escapeShellArg commandLineArgs}
|
||||
|
||||
Reference in New Issue
Block a user