about summary refs log tree commit diff
path: root/pkgs/by-name/co/construct/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/co/construct/package.nix')
-rw-r--r--pkgs/by-name/co/construct/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/co/construct/package.nix b/pkgs/by-name/co/construct/package.nix
index eb2c922b31b44..89833c8176088 100644
--- a/pkgs/by-name/co/construct/package.nix
+++ b/pkgs/by-name/co/construct/package.nix
@@ -14,7 +14,7 @@ stdenv.mkDerivation (finalAttrs: {
     hash = "sha256-ENso0y7yEaXzGXzZOnlZ1L7+j/qayJL+f55/NYLz2ew=";
   };
 
-  postPatch = lib.optionalString stdenv.isDarwin ''
+  postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
     substituteInPlace Makefile \
         --replace g++ c++
   '';