about summary refs log tree commit diff
path: root/pkgs/by-name/gc/gcs/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/gc/gcs/package.nix')
-rw-r--r--pkgs/by-name/gc/gcs/package.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/gc/gcs/package.nix b/pkgs/by-name/gc/gcs/package.nix
index 954128a40ba1..53fe4896f3b4 100644
--- a/pkgs/by-name/gc/gcs/package.nix
+++ b/pkgs/by-name/gc/gcs/package.nix
@@ -71,7 +71,7 @@ buildGoModule rec {
       fontconfig
       freetype
     ]
-    ++ lib.optionals stdenv.isDarwin [
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [
       darwin.apple_sdk_11_0.frameworks.Carbon
       darwin.apple_sdk_11_0.frameworks.Cocoa
       darwin.apple_sdk_11_0.frameworks.Kernel
@@ -100,6 +100,6 @@ buildGoModule rec {
     maintainers = with lib.maintainers; [ tomasajt ];
     platforms = lib.platforms.linux ++ lib.platforms.darwin;
     # incompatible vendor/github.com/richardwilkes/unison/internal/skia/libskia_linux.a
-    broken = stdenv.isLinux && stdenv.isAarch64;
+    broken = stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64;
   };
 }