about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pygobject/3.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pygobject/3.nix')
-rw-r--r--pkgs/development/python-modules/pygobject/3.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/pygobject/3.nix b/pkgs/development/python-modules/pygobject/3.nix
index 185e7fd5ddf8..1f4592c7ddcf 100644
--- a/pkgs/development/python-modules/pygobject/3.nix
+++ b/pkgs/development/python-modules/pygobject/3.nix
@@ -46,7 +46,7 @@ buildPythonPackage rec {
   buildInputs = [
     cairo
     glib
-  ] ++ lib.optionals stdenv.isDarwin [ ncurses ];
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ ncurses ];
 
   propagatedBuildInputs = [
     pycairo