Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@
# (e.g., VMs, CI, containers). Provides libEGL_mesa.so and swrast DRI
# drivers needed by WebKitGTK to initialize EGL.
pkgs.mesa
# glib-networking provides the GIO TLS backend (libgiognutls.so) that
# WebKitGTK needs for HTTPS requests. Without it, all fetch() calls to
# HTTPS URLs fail with "Load failed" (e.g., attestation document fetch).
pkgs.glib-networking
] else []) ++ (if pkgs.stdenv.isDarwin then [
# macOS-specific dependencies
pkgs.darwin.apple_sdk.frameworks.WebKit
Expand All @@ -65,6 +69,7 @@
export LIBGL_ALWAYS_SOFTWARE=1
export WEBKIT_DISABLE_COMPOSITING_MODE=1
export WEBKIT_DISABLE_DMABUF_RENDERER=1
export GIO_MODULE_DIR=${pkgs.glib-networking}/lib/gio/modules
'';
};
}
Expand Down
Loading