about summary refs log tree commit diff
path: root/pkgs/development/libraries/tk/8.5.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/tk/8.5.nix')
-rw-r--r--pkgs/development/libraries/tk/8.5.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/tk/8.5.nix b/pkgs/development/libraries/tk/8.5.nix
index afd575915f85..ad0013060ff6 100644
--- a/pkgs/development/libraries/tk/8.5.nix
+++ b/pkgs/development/libraries/tk/8.5.nix
@@ -14,7 +14,7 @@ callPackage ./generic.nix (args // {
     sha256 = "1yhgcalldrjlc5q614rlzg1crgd3b52dhrk1pncdaxvl2vgg2yj0";
   };
 
-  patches = lib.optionals stdenv.isDarwin [
+  patches = lib.optionals stdenv.hostPlatform.isDarwin [
     # Define MODULE_SCOPE before including tkPort.h
     # https://core.tcl-lang.org/tk/info/dba9f5ce3b
     (fetchpatch {