From b4df14ebe5ee75f1c4a8e10b476d51a270b31348 Mon Sep 17 00:00:00 2001 From: Jess Date: Mon, 3 Feb 2025 05:30:43 +1300 Subject: [PATCH] Nix: Fix OpenGL linking issue in the devshell https://github.com/LadybirdBrowser/ladybird/issues/371#issuecomment-2616415434 https://github.com/NixOS/nixpkgs/commit/049a854b4be087eaa3a09012b9c452fbc838dd41 --- shell.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shell.nix b/shell.nix index 44b503c6df1..64b65f4f25a 100644 --- a/shell.nix +++ b/shell.nix @@ -22,6 +22,10 @@ pkgs.mkShell { prettier ]; + # Fix for: https://github.com/LadybirdBrowser/ladybird/issues/371#issuecomment-2616415434 + # https://github.com/NixOS/nixpkgs/commit/049a854b4be087eaa3a09012b9c452fbc838dd41 + NIX_LDFLAGS = "-lGL"; + shellHook = '' # NOTE: This is required to make it find the wayland platform plugin installed # above, but should probably be fixed upstream.