Merge pull request #237722 from hellwolf/insync-wayland-fix

authored by Sandro and committed by GitHub 38616ad5 f6f60c34

+4 -5
+4 -5
pkgs/applications/networking/insync/default.nix
··· 10 10 , libdrm 11 11 , libGL 12 12 , wayland 13 + , xkeyboard_config 13 14 , libthai 14 15 }: 15 16 ··· 88 89 # for including insync's xdg data dirs 89 90 extraOutputsToInstall = [ "share" ]; 90 91 91 - targetPkgs = pkgs: [ 92 + targetPkgs = pkgs: with pkgs; [ 92 93 insync-pkg 93 - ]; 94 - 95 - multiPkgs = pkgs: with pkgs; [ 96 - # apparently only package needed for the FHS :) 97 94 libudev0-shim 98 95 ]; 99 96 100 97 runScript = writeShellScript "insync-wrapper.sh" '' 101 98 # QT_STYLE_OVERRIDE was used to suppress a QT warning, it should have no actual effect for this binary. 102 99 export QT_STYLE_OVERRIDE=Fusion 100 + # xkb configuration needed: https://github.com/NixOS/nixpkgs/issues/236365 101 + export XKB_CONFIG_ROOT=${xkeyboard_config}/share/X11/xkb/ 103 102 exec "${insync-pkg.outPath}/lib/insync/insync" "$@" 104 103 ''; 105 104