about summary refs log tree commit diff
path: root/pkgs/by-name/ea/easytier/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/ea/easytier/package.nix')
-rw-r--r--pkgs/by-name/ea/easytier/package.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/by-name/ea/easytier/package.nix b/pkgs/by-name/ea/easytier/package.nix
index 9928fd07b0db..7deb797435f6 100644
--- a/pkgs/by-name/ea/easytier/package.nix
+++ b/pkgs/by-name/ea/easytier/package.nix
@@ -24,12 +24,12 @@ rustPlatform.buildRustPackage rec {
 
   nativeBuildInputs = [ protobuf ];
 
-  buildInputs = lib.optionals stdenv.isDarwin [
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
     darwin.apple_sdk.frameworks.Security
   ];
 
-  buildNoDefaultFeatures = stdenv.isMips;
-  buildFeatures = lib.optional stdenv.isMips "mips" ++ lib.optional withQuic "quic";
+  buildNoDefaultFeatures = stdenv.hostPlatform.isMips;
+  buildFeatures = lib.optional stdenv.hostPlatform.isMips "mips" ++ lib.optional withQuic "quic";
 
   doCheck = false; # tests failed due to heavy rely on network