Merge pull request #203828 from brynedwards/logseq-wayland

This commit is contained in:
Artturi
2023-04-11 18:24:40 +03:00
committed by GitHub
+2 -1
View File
@@ -55,7 +55,8 @@ stdenv.mkDerivation rec {
# set the env "LOCAL_GIT_DIRECTORY" for dugite so that we can use the git in nixpkgs
makeWrapper ${electron}/bin/electron $out/bin/${pname} \
--set "LOCAL_GIT_DIRECTORY" ${git} \
--add-flags $out/share/${pname}/resources/app
--add-flags $out/share/${pname}/resources/app \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}"
'';
passthru.updateScript = nix-update-script { };