about summary refs log tree commit diff
path: root/pkgs/development/python-modules/miniupnpc/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/miniupnpc/default.nix')
-rw-r--r--pkgs/development/python-modules/miniupnpc/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/miniupnpc/default.nix b/pkgs/development/python-modules/miniupnpc/default.nix
index a23ef91c8a81..04d8a08bf1c3 100644
--- a/pkgs/development/python-modules/miniupnpc/default.nix
+++ b/pkgs/development/python-modules/miniupnpc/default.nix
@@ -17,7 +17,7 @@ buildPythonPackage rec {
     hash = "sha256-KwpNVl+tZTZHHZKW9p3a/S0nZJW6lZftjBK9ECkRUMo=";
   };
 
-  nativeBuildInputs = lib.optionals stdenv.isDarwin [
+  nativeBuildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
     cctools
     which
   ];