about summary refs log tree commit diff
path: root/pkgs/by-name/od
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/od')
-rw-r--r--pkgs/by-name/od/odin/package.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/od/odin/package.nix b/pkgs/by-name/od/odin/package.nix
index 305b9d329d02..4a14bfa443aa 100644
--- a/pkgs/by-name/od/odin/package.nix
+++ b/pkgs/by-name/od/odin/package.nix
@@ -25,7 +25,7 @@ stdenv.mkDerivation {
   };
 
   postPatch =
-    lib.optionalString stdenv.isDarwin ''
+    lib.optionalString stdenv.hostPlatform.isDarwin ''
       substituteInPlace src/linker.cpp \
           --replace-fail '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk' ${MacOSX-SDK}
     ''
@@ -46,7 +46,7 @@ stdenv.mkDerivation {
     which
   ];
 
-  buildInputs = lib.optionals stdenv.isDarwin [
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
     libiconv
     Security
   ];