13 lines
405 B
Nix
13 lines
405 B
Nix
|
final: prev: {
|
||
|
obsidian = prev.obsidian.overrideAttrs (old: {
|
||
|
installPhase =
|
||
|
prev.lib.replaceStrings
|
||
|
["makeWrapper ${final.electron_17}/bin/electron $out/bin/obsidian"]
|
||
|
[
|
||
|
''makeWrapper ${final.electron_20}/bin/electron $out/bin/obsidian \
|
||
|
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform=wayland}}"''
|
||
|
]
|
||
|
old.installPhase;
|
||
|
});
|
||
|
}
|