about summary refs log tree commit diff
path: root/pkgs/applications/version-management/cvs/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/version-management/cvs/default.nix')
-rw-r--r--pkgs/applications/version-management/cvs/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/version-management/cvs/default.nix b/pkgs/applications/version-management/cvs/default.nix
index 20a38f9f8e8c..7ec801503f76 100644
--- a/pkgs/applications/version-management/cvs/default.nix
+++ b/pkgs/applications/version-management/cvs/default.nix
@@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
     "AR=${stdenv.cc.targetPrefix}ar"
   ];
 
-  env = lib.optionalAttrs (stdenv.isDarwin && stdenv.cc.isClang) {
+  env = lib.optionalAttrs (stdenv.hostPlatform.isDarwin && stdenv.cc.isClang) {
     NIX_CFLAGS_COMPILE = "-Wno-implicit-function-declaration";
   };