about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/compilers/flutter/artifacts/overrides/darwin.nix
blob: 83257d4e34d5125e3ef3ce57138c7fb2ca4cd2ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
{}:
{ buildInputs ? [ ]
, ...
}:
{
  postPatch = ''
    if [ "$pname" == "flutter-tools" ]; then
      # Use arm64 instead of arm64e.
      substituteInPlace lib/src/ios/xcodeproj.dart \
        --replace-fail arm64e arm64
    fi
  '';
}