From f5e3dd60a6aa77c7e8eb474b128974c0fe7090d6 Mon Sep 17 00:00:00 2001 From: Celes Renata Date: Fri, 12 Dec 2025 10:45:32 -0800 Subject: [PATCH] Add pkg-config to PATH for pywayland build --- modules/python-environment.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/python-environment.nix b/modules/python-environment.nix index b8ede95..7e619b7 100644 --- a/modules/python-environment.nix +++ b/modules/python-environment.nix @@ -54,8 +54,8 @@ let echo "📦 Installing Python packages with proper library linking..." source "$VENV_PATH/bin/activate" - # Add cmake to PATH for building material-color-utilities - export PATH="${pkgs.cmake}/bin:$PATH" + # Add cmake and pkg-config to PATH for building Python packages + export PATH="${pkgs.cmake}/bin:${pkgs.pkg-config}/bin:$PATH" export CMAKE_GENERATOR="Unix Makefiles" # Upgrade pip first