mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-31 12:44:44 +00:00
15 lines
238 B
Nix
15 lines
238 B
Nix
{ }:
|
|
{
|
|
buildInputs ? [ ],
|
|
...
|
|
}:
|
|
{
|
|
# Use arm64 instead of arm64e.
|
|
postPatch = ''
|
|
if [ "$pname" == "flutter-tools" ]; then
|
|
substituteInPlace lib/src/ios/xcodeproj.dart \
|
|
--replace-fail arm64e arm64
|
|
fi
|
|
'';
|
|
}
|