2022-08-15 01:58:35 +03:00
|
|
|
final: prev: {
|
|
|
|
obsidian = prev.obsidian.overrideAttrs (old: {
|
|
|
|
installPhase =
|
|
|
|
prev.lib.replaceStrings
|
|
|
|
["makeWrapper ${final.electron_17}/bin/electron $out/bin/obsidian"]
|
|
|
|
[
|
2022-08-23 08:18:37 +03:00
|
|
|
'' makeWrapper ${final.electron_20}/bin/electron $out/bin/obsidian \
|
|
|
|
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform=wayland}}"''
|
2022-08-15 01:58:35 +03:00
|
|
|
]
|
|
|
|
old.installPhase;
|
|
|
|
});
|
|
|
|
}
|