mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
obsidian: drop electron version pin
This commit is contained in:
parent
72cff8a0c7
commit
276f50ae66
1 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@
|
|||
fetchurl,
|
||||
lib,
|
||||
makeWrapper,
|
||||
electron_40, # see https://github.com/NixOS/nixpkgs/pull/521495
|
||||
electron,
|
||||
makeDesktopItem,
|
||||
imagemagick,
|
||||
asar,
|
||||
|
|
@ -102,7 +102,7 @@ let
|
|||
--replace-fail "supportFetchAPI: true," "supportFetchAPI: true, corsEnabled: true,"
|
||||
asar pack app-src resources/app.asar
|
||||
|
||||
makeWrapper ${electron_40}/bin/electron $out/bin/obsidian \
|
||||
makeWrapper ${electron}/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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue