From eef73d444a13f6203b378c0e4d30ce4561789c4a Mon Sep 17 00:00:00 2001 From: Celes Renata Date: Fri, 12 Dec 2025 10:49:09 -0800 Subject: [PATCH] Add wayland protocols for pywayland build --- modules/python-environment.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/python-environment.nix b/modules/python-environment.nix index 7e619b7..f26702a 100644 --- a/modules/python-environment.nix +++ b/modules/python-environment.nix @@ -58,6 +58,9 @@ let export PATH="${pkgs.cmake}/bin:${pkgs.pkg-config}/bin:$PATH" export CMAKE_GENERATOR="Unix Makefiles" + # Set wayland protocol path for pywayland + export PKG_CONFIG_PATH="${pkgs.wayland}/lib/pkgconfig:${pkgs.wayland-protocols}/share/pkgconfig" + # Upgrade pip first pip install --upgrade pip