about summary refs log tree commit diff
path: root/pkgs/development/python-modules/dm-tree/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/dm-tree/default.nix')
-rw-r--r--pkgs/development/python-modules/dm-tree/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/dm-tree/default.nix b/pkgs/development/python-modules/dm-tree/default.nix
index 6062d202a3ce..909cd3aa523a 100644
--- a/pkgs/development/python-modules/dm-tree/default.nix
+++ b/pkgs/development/python-modules/dm-tree/default.nix
@@ -48,7 +48,7 @@ buildPythonPackage rec {
   patches = [
     patchCMakeAbseil
     patchCMakePybind
-  ] ++ (lib.optional stdenv.isDarwin ./0003-don-t-configure-apple.patch);
+  ] ++ (lib.optional stdenv.hostPlatform.isDarwin ./0003-don-t-configure-apple.patch);
 
   dontUseCmakeConfigure = true;