3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #208148 from wernerb/patch-1

This commit is contained in:
Artturi 2023-01-31 14:11:24 +02:00 committed by GitHub
commit 856e4d8726
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,7 +38,8 @@ stdenv.mkDerivation rec {
postFixup = ''
makeWrapper ${electron_21}/bin/electron $out/bin/${pname} \
--add-flags $out/share/${pname}/resources/app.asar \
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ stdenv.cc.cc libsecret ]}"
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ stdenv.cc.cc libsecret ]}" \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}"
'';
meta = with lib; {