move lipo wrapper

This commit is contained in:
Henry Hiles 2026-08-08 16:49:25 -04:00
commit 56dbd91c96
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
2 changed files with 0 additions and 15 deletions

View file

@ -1,8 +1,8 @@
#!/bin/sh #!/bin/sh
# Workaround for NixOS/nixpkgs#405066: frameworks copied from the Nix store # Workaround for NixOS/nixpkgs#405066: frameworks copied from the Nix store
# stay read-only, so lipo can't write its temporary output file when Flutter # stay read-only, so lipo can't write its temporary output file when Flutter
# thins FlutterMacOS.framework during the build. Make the framework writable # thins them during the build. Make the framework writable before delegating
# before delegating to the real lipo. # to the real lipo.
for arg in "$@"; do for arg in "$@"; do
case "$arg" in case "$arg" in
*/*.framework/*) */*.framework/*)