venator: fix blank UI on NVIDIA GPU and X11
https://github.com/tauri-apps/tauri/issues/9394
This commit is contained in:
@@ -56,6 +56,14 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
webkitgtk_4_1
|
||||
];
|
||||
|
||||
# "Failed to create GBM buffer" on NVIDIA GPU and X11
|
||||
# See https://github.com/tauri-apps/tauri/issues/9394
|
||||
preFixup = lib.optionalString stdenv.hostPlatform.isLinux ''
|
||||
gappsWrapperArgs+=(
|
||||
--set WEBKIT_DISABLE_COMPOSITING_MODE 1
|
||||
)
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user