anchor.diff:    hosts ? []
   }:
   
  -nixpkgs.runCommand "${exeName}-app" (rec {
  -  inherit exePath;
  +nixpkgs.runCommand "${executableName}-app" (rec {
  +  exePath = package ghcIosArm64;
     infoPlist = builtins.toFile "Info.plist" ''
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  
positive.code:     fi
  
      mkdir -p $tmpdir
      cp -LR "$(dirname $0)/../${exeName}.app" $tmpdir
      chmod +w "$tmpdir/${exeName}.app"
      chmod +w "$tmpdir/${exeName}.app/${exeName}"
      # Hack around pure libiconv being used.
      # TODO: Override libraries with stubs from the SDK, so as to link libraries
      # on phone. Or statically link.
      ${nixpkgs.darwin.cctools}/bin/install_name_tool \
        -change "${libiconv}/lib/libiconv.dylib" /usr/lib/libiconv.2.dylib \
        $tmpdir/${exeName}.app/${exeName}
      mkdir -p "$tmpdir/${exeName}.app/config"
      sed "s|<team-id/>|$TEAM_ID|" < "${xcent}" > $tmpdir/xcent
      /usr/bin/codesign --force --sign "$signer" --entitlements $tmpdir/xcent --timestamp=none "$tmpdir/${exeName}.app"
  
      "$(nix-build --no-out-link -A nixpkgs.nodePackages.ios-deploy)/bin/ios-deploy" -W -b "$tmpdir/${exeName}.app" "$@"
    '';
    packageScript = builtins.toFile "package" ''
      #!/usr/bin/env bash
  
negative.code:       <key>CFBundleDevelopmentRegion</key>
        <string>en</string>
        <key>CFBundleExecutable</key>
        <string>${executableName}</string>
        <key>CFBundleIdentifier</key>
        <string>${bundleIdentifier}</string>
        <key>CFBundleInfoDictionaryVersion</key>
  