about summary refs log tree commit diff
path: root/pkgs/by-name/re/remind/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/re/remind/package.nix')
-rw-r--r--pkgs/by-name/re/remind/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/re/remind/package.nix b/pkgs/by-name/re/remind/package.nix
index 78ae694b1659..2f630416995b 100644
--- a/pkgs/by-name/re/remind/package.nix
+++ b/pkgs/by-name/re/remind/package.nix
@@ -38,7 +38,7 @@ tcl.mkTclDerivation rec {
       --replace-fail 'set Rem2PDF "rem2pdf"' "set Rem2PDF \"$out/bin/rem2pdf\""
   '';
 
-  env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin (toString [
+  env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin (toString [
     # On Darwin setenv and unsetenv are defined in stdlib.h from libSystem
     "-DHAVE_SETENV"
     "-DHAVE_UNSETENV"