about summary refs log tree commit diff
path: root/pkgs/by-name/gi
diff options
context:
space:
mode:
authorMaëlys Bras de fer <mae.bdf@outlook.com>2024-05-22 17:22:59 +0200
committerMaëlys Bras de fer <mae.bdf@outlook.com>2024-05-22 17:22:59 +0200
commit7e6dd121bc83834e2883cd770dd7d4c663775541 (patch)
tree833eec9b220bf28cbd16f86c23befe6373d3ad7b /pkgs/by-name/gi
parenta39290dfdf0a769a3fda56b61fdf40f7d9db7ea1 (diff)
github-desktop: fix on wayland
Diffstat (limited to 'pkgs/by-name/gi')
-rw-r--r--pkgs/by-name/gi/github-desktop/package.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/by-name/gi/github-desktop/package.nix b/pkgs/by-name/gi/github-desktop/package.nix
index 1ac8deb248619..65f00781af82e 100644
--- a/pkgs/by-name/gi/github-desktop/package.nix
+++ b/pkgs/by-name/gi/github-desktop/package.nix
@@ -17,6 +17,7 @@
 , mesa
 , systemd
 , openssl
+, libglvnd
 }:
 
 let
@@ -82,6 +83,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
   preFixup = ''
     gappsWrapperArgs+=(
       --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform=wayland}}"
+      --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libglvnd ]}
     )
   '';