15 lines
242 B
Nix
15 lines
242 B
Nix
|
|
{ }:
|
||
|
|
{
|
||
|
|
buildInputs ? [ ],
|
||
|
|
...
|
||
|
|
}:
|
||
|
|
{
|
||
|
|
postPatch = ''
|
||
|
|
if [ "$pname" == "flutter-tools" ]; then
|
||
|
|
# Use arm64 instead of arm64e.
|
||
|
|
substituteInPlace lib/src/ios/xcodeproj.dart \
|
||
|
|
--replace-fail arm64e arm64
|
||
|
|
fi
|
||
|
|
'';
|
||
|
|
}
|