about summary refs log tree commit diff
path: root/pkgs/by-name/ha/harvid/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/ha/harvid/package.nix')
-rw-r--r--pkgs/by-name/ha/harvid/package.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/ha/harvid/package.nix b/pkgs/by-name/ha/harvid/package.nix
index 83f1148904ea..efbe45d667c0 100644
--- a/pkgs/by-name/ha/harvid/package.nix
+++ b/pkgs/by-name/ha/harvid/package.nix
@@ -25,7 +25,7 @@ stdenv.mkDerivation (finalAttrs: {
 
   nativeBuildInputs =
     [ pkg-config ]
-    ++ lib.optionals stdenv.isDarwin [
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [
       which
       unixtools.xxd
     ];
@@ -36,7 +36,7 @@ stdenv.mkDerivation (finalAttrs: {
     libpng
   ];
 
-  postPatch = lib.optionalString stdenv.isDarwin ''
+  postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
     substituteInPlace libharvid/Makefile \
       --replace-fail /usr/bin/libtool ${cctools}/bin/libtool
   '';