about summary refs log tree commit diff
path: root/pkgs/development/compilers/flutter/flutter-tools.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/compilers/flutter/flutter-tools.nix')
-rw-r--r--pkgs/development/compilers/flutter/flutter-tools.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/flutter/flutter-tools.nix b/pkgs/development/compilers/flutter/flutter-tools.nix
index 306765cd0a42..1639d54a869e 100644
--- a/pkgs/development/compilers/flutter/flutter-tools.nix
+++ b/pkgs/development/compilers/flutter/flutter-tools.nix
@@ -28,7 +28,7 @@ buildDartApplication.override { inherit dart; } rec {
     popd
   ''
   # Use arm64 instead of arm64e.
-  + lib.optionalString stdenv.isDarwin ''
+  + lib.optionalString stdenv.hostPlatform.isDarwin ''
     substituteInPlace lib/src/ios/xcodeproj.dart \
       --replace-fail arm64e arm64
   '';