about summary refs log tree commit diff
path: root/pkgs/by-name/xm/xml-tooling-c/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/xm/xml-tooling-c/package.nix')
-rw-r--r--pkgs/by-name/xm/xml-tooling-c/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/xm/xml-tooling-c/package.nix b/pkgs/by-name/xm/xml-tooling-c/package.nix
index 921175c3e879..709bfee14bb4 100644
--- a/pkgs/by-name/xm/xml-tooling-c/package.nix
+++ b/pkgs/by-name/xm/xml-tooling-c/package.nix
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
     pkg-config
   ];
 
-  env.NIX_CFLAGS_COMPILE = lib.optionalString (!stdenv.isDarwin) "-std=c++14";
+  env.NIX_CFLAGS_COMPILE = lib.optionalString (!stdenv.hostPlatform.isDarwin) "-std=c++14";
 
   enableParallelBuilding = true;