about summary refs log tree commit diff
path: root/pkgs/development/python-modules/docker/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/docker/default.nix')
-rw-r--r--pkgs/development/python-modules/docker/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/docker/default.nix b/pkgs/development/python-modules/docker/default.nix
index 7a36c27e8e22..59ab52857824 100644
--- a/pkgs/development/python-modules/docker/default.nix
+++ b/pkgs/development/python-modules/docker/default.nix
@@ -62,7 +62,7 @@ buildPythonPackage rec {
   pytestFlagsArray = [ "tests/unit" ];
 
   # Deselect socket tests on Darwin because it hits the path length limit for a Unix domain socket
-  disabledTests = lib.optionals stdenv.isDarwin [
+  disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
     "api_test"
     "stream_response"
     "socket_file"