Nix: Fix OpenGL linking issue in the devshell

https://github.com/LadybirdBrowser/ladybird/issues/371#issuecomment-2616415434
049a854b4b
This commit is contained in:
Jess 2025-02-03 05:30:43 +13:00 committed by Andrew Kaster
parent ea1997c631
commit b4df14ebe5
Notes: github-actions[bot] 2025-02-05 20:42:48 +00:00

View file

@ -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.