summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorteutat3s <10206665+teutat3s@users.noreply.github.com>2023-11-12 14:07:51 +0100
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-11-20 07:18:14 +0000
commit8442923ac4e8543b2feca26840991109cd7ec4dc (patch)
treec438fbeaa070c6198dc9f1fb4d5fb18d90fab3d2
parentMerge pull request #268330 from NixOS/backport-253346-to-release-23.05 (diff)
downloadnixpkgs-origin/backport-267050-to-release-23.05.tar.gz
signal-desktop: fix screensharing on waylandorigin/backport-267050-to-release-23.05
Without this change, starting a screenshare in signal-desktop on wayland (sway) only produces a blank, black screen after selecting which screen to share, with the following error in the logs: ERROR:shared_screencast_stream.cc(412)] Unable to open PipeWire library ERROR:base_capturer_pipewire.cc(81)] ScreenCastPortal failed: 1 Upstream has fixed screensharing in general according to https://github.com/signalapp/Signal-Desktop/issues/5350#issuecomment-1664092786. (cherry picked from commit 60f0edfb950f981ab616b897cb8e1ea4e6200b21)
-rw-r--r--pkgs/applications/networking/instant-messengers/signal-desktop/generic.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/networking/instant-messengers/signal-desktop/generic.nix b/pkgs/applications/networking/instant-messengers/signal-desktop/generic.nix
index 38719920d8a2..aec46a8c0f6b 100644
--- a/pkgs/applications/networking/instant-messengers/signal-desktop/generic.nix
+++ b/pkgs/applications/networking/instant-messengers/signal-desktop/generic.nix
@@ -15,6 +15,7 @@
, at-spi2-atk
, cairo
, pango
+, pipewire
, gdk-pixbuf
, glib
, freetype
@@ -150,7 +151,7 @@ stdenv.mkDerivation rec {
preFixup = ''
gappsWrapperArgs+=(
- --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ stdenv.cc.cc ] }"
+ --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ stdenv.cc.cc pipewire ] }"
# Currently crashes see https://github.com/NixOS/nixpkgs/issues/222043
#--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}"
--suffix PATH : ${lib.makeBinPath [ xdg-utils ]}