lol

flutter327: init at 3.27.0-0.1.pre

+1230 -5
+1 -1
pkgs/development/compilers/flutter/engine/source.nix
··· 100 100 101 101 rm -rf $out/src/{buildtools,fuchsia} 102 102 rm -rf $out/src/flutter/{buildtools,prebuilts,third_party/swiftshader,third_party/gn/.versions} 103 - rm -rf $out/src/flutter/{third_party/dart/tools/sdks/dart-sdk,third_party/ninja/ninja} 103 + rm -rf $out/src/flutter/{third_party/dart/tools/sdks/dart-sdk,third_party/ninja/ninja,third_party/java} 104 104 rm -rf $out/src/third_party/{dart/tools/sdks/dart-sdk,libcxx/test} 105 105 106 106 rm -rf $out/.cipd $out/.gclient $out/.gclient_entries $out/.gclient_previous_custom_vars $out/.gclient_previous_sync_commits
+4
pkgs/development/compilers/flutter/engine/tools.nix
··· 71 71 72 72 sed -i 's/''${platform}/${host-constants.platform}/g' "$ensureFile" 73 73 sed -i 's/gn\/gn\/${stdenv-constants.platform}/gn\/gn\/${constants.platform}/g' "$ensureFile" 74 + 75 + if grep flutter/java/openjdk "$ensureFile" >/dev/null; then 76 + sed -i '/src\/flutter\/third_party\/java\/openjdk/,+2 d' "$ensureFile" 77 + fi 74 78 else 75 79 params="$params $1" 76 80 shift 1
+6 -4
pkgs/development/compilers/flutter/update/get-engine-hashes.nix.in
··· 1 - { callPackage, symlinkJoin, lib }: 1 + { callPackage, symlinkJoin, stdenv, lib }: 2 2 let 3 3 nixpkgsRoot = "@nixpkgs_root@"; 4 4 version = "@flutter_version@"; ··· 17 17 ++ (map 18 18 (targetPlatform: 19 19 callPackage "${nixpkgsRoot}/pkgs/development/compilers/flutter/engine/source.nix" { 20 - targetPlatform = lib.systems.elaborate targetPlatform; 21 - hostPlatform = lib.systems.elaborate buildPlatform; 22 - buildPlatform = lib.systems.elaborate buildPlatform; 20 + stdenv = stdenv.override { 21 + targetPlatform = lib.systems.elaborate targetPlatform; 22 + hostPlatform = lib.systems.elaborate buildPlatform; 23 + buildPlatform = lib.systems.elaborate buildPlatform; 24 + }; 23 25 24 26 flutterVersion = version; 25 27 version = engineVersion;
+1056
pkgs/development/compilers/flutter/versions/3_27/data.json
··· 1 + { 2 + "version": "3.27.0-0.1.pre", 3 + "engineVersion": "af0f0d559c8a87d912a20971bbd84afc80a54b0f", 4 + "engineSwiftShaderHash": "sha256-mRLCvhNkmHz7Rv6GzXkY7OB1opBSq+ATWZ466qZdgto=", 5 + "engineSwiftShaderRev": "2fa7e9b99ae4e70ea5ae2cc9c8d3afb43391384f", 6 + "channel": "beta", 7 + "engineHashes": { 8 + "aarch64-linux": { 9 + "aarch64-linux": "sha256-xEUUengFzRbQhFB7jxTBd8eTMWUhyBTTKyT/ObuyD/o=", 10 + "x86_64-linux": "sha256-xEUUengFzRbQhFB7jxTBd8eTMWUhyBTTKyT/ObuyD/o=" 11 + }, 12 + "x86_64-linux": { 13 + "aarch64-linux": "sha256-xEUUengFzRbQhFB7jxTBd8eTMWUhyBTTKyT/ObuyD/o=", 14 + "x86_64-linux": "sha256-xEUUengFzRbQhFB7jxTBd8eTMWUhyBTTKyT/ObuyD/o=" 15 + } 16 + }, 17 + "dartVersion": "3.6.0-334.3.beta", 18 + "dartHash": { 19 + "x86_64-linux": "sha256-xErMxL9HK+MSq++DcSiV95TInMPvKkc9tqQzzMRPYDU=", 20 + "aarch64-linux": "sha256-1grsqBcTmfRlMMTB1rWHVVyzZS2RLA10AADkrV4kk9I=", 21 + "x86_64-darwin": "sha256-4YwpUjyFXTk6/h5OMbOKwd0gTEX0CmHo0TByVs0milA=", 22 + "aarch64-darwin": "sha256-bp2tSs+JDSj3xqurc2NOOfmhbq7u/meFbA7VZPNAyZ8=" 23 + }, 24 + "flutterHash": "sha256-M9zETok2sIJP8V8QlvbQdobhnM0QM6OHiHF5mwUosB4=", 25 + "artifactHashes": { 26 + "android": { 27 + "aarch64-darwin": "sha256-U29WM+8wPYmBifPWXS4TNdZM2ORsFzhV73B82RAH2TU=", 28 + "aarch64-linux": "sha256-ABHHLnhJIqm4mT9FLMaMjJzecDgh6rLUJpVIuVqfUZg=", 29 + "x86_64-darwin": "sha256-U29WM+8wPYmBifPWXS4TNdZM2ORsFzhV73B82RAH2TU=", 30 + "x86_64-linux": "sha256-ABHHLnhJIqm4mT9FLMaMjJzecDgh6rLUJpVIuVqfUZg=" 31 + }, 32 + "fuchsia": { 33 + "aarch64-darwin": "sha256-eu0BERdz53CkSexbpu3KA7O6Q4g0s9SGD3t1Snsk3Fk=", 34 + "aarch64-linux": "sha256-eu0BERdz53CkSexbpu3KA7O6Q4g0s9SGD3t1Snsk3Fk=", 35 + "x86_64-darwin": "sha256-eu0BERdz53CkSexbpu3KA7O6Q4g0s9SGD3t1Snsk3Fk=", 36 + "x86_64-linux": "sha256-eu0BERdz53CkSexbpu3KA7O6Q4g0s9SGD3t1Snsk3Fk=" 37 + }, 38 + "ios": { 39 + "aarch64-darwin": "sha256-7faP4+NeYI79nUjts0UPcmWBI4R/CtGOSdhbozrMvYg=", 40 + "aarch64-linux": "sha256-7faP4+NeYI79nUjts0UPcmWBI4R/CtGOSdhbozrMvYg=", 41 + "x86_64-darwin": "sha256-7faP4+NeYI79nUjts0UPcmWBI4R/CtGOSdhbozrMvYg=", 42 + "x86_64-linux": "sha256-7faP4+NeYI79nUjts0UPcmWBI4R/CtGOSdhbozrMvYg=" 43 + }, 44 + "linux": { 45 + "aarch64-darwin": "sha256-bKyDwhYmbpcOa8Uk68+VP1KNpsbDPFqA95TeO/0oiNk=", 46 + "aarch64-linux": "sha256-bKyDwhYmbpcOa8Uk68+VP1KNpsbDPFqA95TeO/0oiNk=", 47 + "x86_64-darwin": "sha256-BCGsqIRYtAACYoBsLlV7m5J1P+M8Kyl9tUNj2jql/q4=", 48 + "x86_64-linux": "sha256-BCGsqIRYtAACYoBsLlV7m5J1P+M8Kyl9tUNj2jql/q4=" 49 + }, 50 + "macos": { 51 + "aarch64-darwin": "sha256-vYzob2BxI2Ol/H/K6/D8y9mx07PnDzbaZvZe/ukkVqk=", 52 + "aarch64-linux": "sha256-vYzob2BxI2Ol/H/K6/D8y9mx07PnDzbaZvZe/ukkVqk=", 53 + "x86_64-darwin": "sha256-vYzob2BxI2Ol/H/K6/D8y9mx07PnDzbaZvZe/ukkVqk=", 54 + "x86_64-linux": "sha256-vYzob2BxI2Ol/H/K6/D8y9mx07PnDzbaZvZe/ukkVqk=" 55 + }, 56 + "universal": { 57 + "aarch64-darwin": "sha256-s6v1V/Xjt8OZgbjQLrSx+1NTKG9YpTpydQxtvmu3Bo8=", 58 + "aarch64-linux": "sha256-KmwJH7uDLbdGQQsUhdTjjwuGB39cX7db5PncSQVbJ5U=", 59 + "x86_64-darwin": "sha256-iL7+1bwMolQWWWLuXxfnBJWayEGk/KtDnXh+oHpBaZg=", 60 + "x86_64-linux": "sha256-0oE3278pTid3n6zVXVxXV+nEzffCs2R1vzS61c76P5g=" 61 + }, 62 + "web": { 63 + "aarch64-darwin": "sha256-jpT7q3iHqM0mXRNRgKeLJMA9P5c3P8Qg2m5EwnjtlKg=", 64 + "aarch64-linux": "sha256-jpT7q3iHqM0mXRNRgKeLJMA9P5c3P8Qg2m5EwnjtlKg=", 65 + "x86_64-darwin": "sha256-jpT7q3iHqM0mXRNRgKeLJMA9P5c3P8Qg2m5EwnjtlKg=", 66 + "x86_64-linux": "sha256-jpT7q3iHqM0mXRNRgKeLJMA9P5c3P8Qg2m5EwnjtlKg=" 67 + }, 68 + "windows": { 69 + "x86_64-darwin": "sha256-LJxwZd/lDtrIMfLrMgG+/KOIAlGpW+b/EebMIngIq3w=", 70 + "x86_64-linux": "sha256-LJxwZd/lDtrIMfLrMgG+/KOIAlGpW+b/EebMIngIq3w=" 71 + } 72 + }, 73 + "pubspecLock": { 74 + "packages": { 75 + "_fe_analyzer_shared": { 76 + "dependency": "direct main", 77 + "description": { 78 + "name": "_fe_analyzer_shared", 79 + "sha256": "f6dbf021f4b214d85c79822912c5fcd142a2c4869f01222ad371bc51f9f1c356", 80 + "url": "https://pub.dev" 81 + }, 82 + "source": "hosted", 83 + "version": "74.0.0" 84 + }, 85 + "_macros": { 86 + "dependency": "transitive", 87 + "description": "dart", 88 + "source": "sdk", 89 + "version": "0.3.3" 90 + }, 91 + "analyzer": { 92 + "dependency": "direct main", 93 + "description": { 94 + "name": "analyzer", 95 + "sha256": "f7e8caf82f2d3190881d81012606effdf8a38e6c1ab9e30947149733065f817c", 96 + "url": "https://pub.dev" 97 + }, 98 + "source": "hosted", 99 + "version": "6.9.0" 100 + }, 101 + "archive": { 102 + "dependency": "direct main", 103 + "description": { 104 + "name": "archive", 105 + "sha256": "cb6a278ef2dbb298455e1a713bda08524a175630ec643a242c399c932a0a1f7d", 106 + "url": "https://pub.dev" 107 + }, 108 + "source": "hosted", 109 + "version": "3.6.1" 110 + }, 111 + "args": { 112 + "dependency": "direct main", 113 + "description": { 114 + "name": "args", 115 + "sha256": "7cf60b9f0cc88203c5a190b4cd62a99feea42759a7fa695010eb5de1c0b2252a", 116 + "url": "https://pub.dev" 117 + }, 118 + "source": "hosted", 119 + "version": "2.5.0" 120 + }, 121 + "async": { 122 + "dependency": "direct main", 123 + "description": { 124 + "name": "async", 125 + "sha256": "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c", 126 + "url": "https://pub.dev" 127 + }, 128 + "source": "hosted", 129 + "version": "2.11.0" 130 + }, 131 + "boolean_selector": { 132 + "dependency": "direct main", 133 + "description": { 134 + "name": "boolean_selector", 135 + "sha256": "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66", 136 + "url": "https://pub.dev" 137 + }, 138 + "source": "hosted", 139 + "version": "2.1.1" 140 + }, 141 + "browser_launcher": { 142 + "dependency": "direct main", 143 + "description": { 144 + "name": "browser_launcher", 145 + "sha256": "54a2da4d152c34760b87cbd4a9fe8a563379487e57bfcd1b387be394dfa91734", 146 + "url": "https://pub.dev" 147 + }, 148 + "source": "hosted", 149 + "version": "1.1.2" 150 + }, 151 + "built_collection": { 152 + "dependency": "direct main", 153 + "description": { 154 + "name": "built_collection", 155 + "sha256": "376e3dd27b51ea877c28d525560790aee2e6fbb5f20e2f85d5081027d94e2100", 156 + "url": "https://pub.dev" 157 + }, 158 + "source": "hosted", 159 + "version": "5.1.1" 160 + }, 161 + "built_value": { 162 + "dependency": "direct main", 163 + "description": { 164 + "name": "built_value", 165 + "sha256": "c7913a9737ee4007efedaffc968c049fd0f3d0e49109e778edc10de9426005cb", 166 + "url": "https://pub.dev" 167 + }, 168 + "source": "hosted", 169 + "version": "8.9.2" 170 + }, 171 + "checked_yaml": { 172 + "dependency": "direct dev", 173 + "description": { 174 + "name": "checked_yaml", 175 + "sha256": "feb6bed21949061731a7a75fc5d2aa727cf160b91af9a3e464c5e3a32e28b5ff", 176 + "url": "https://pub.dev" 177 + }, 178 + "source": "hosted", 179 + "version": "2.0.3" 180 + }, 181 + "cli_config": { 182 + "dependency": "direct main", 183 + "description": { 184 + "name": "cli_config", 185 + "sha256": "ac20a183a07002b700f0c25e61b7ee46b23c309d76ab7b7640a028f18e4d99ec", 186 + "url": "https://pub.dev" 187 + }, 188 + "source": "hosted", 189 + "version": "0.2.0" 190 + }, 191 + "clock": { 192 + "dependency": "direct main", 193 + "description": { 194 + "name": "clock", 195 + "sha256": "cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf", 196 + "url": "https://pub.dev" 197 + }, 198 + "source": "hosted", 199 + "version": "1.1.1" 200 + }, 201 + "collection": { 202 + "dependency": "direct dev", 203 + "description": { 204 + "name": "collection", 205 + "sha256": "a1ace0a119f20aabc852d165077c036cd864315bd99b7eaa10a60100341941bf", 206 + "url": "https://pub.dev" 207 + }, 208 + "source": "hosted", 209 + "version": "1.19.0" 210 + }, 211 + "completion": { 212 + "dependency": "direct main", 213 + "description": { 214 + "name": "completion", 215 + "sha256": "f11b7a628e6c42b9edc9b0bc3aa490e2d930397546d2f794e8e1325909d11c60", 216 + "url": "https://pub.dev" 217 + }, 218 + "source": "hosted", 219 + "version": "1.0.1" 220 + }, 221 + "convert": { 222 + "dependency": "direct main", 223 + "description": { 224 + "name": "convert", 225 + "sha256": "0f08b14755d163f6e2134cb58222dd25ea2a2ee8a195e53983d57c075324d592", 226 + "url": "https://pub.dev" 227 + }, 228 + "source": "hosted", 229 + "version": "3.1.1" 230 + }, 231 + "coverage": { 232 + "dependency": "direct main", 233 + "description": { 234 + "name": "coverage", 235 + "sha256": "c1fb2dce3c0085f39dc72668e85f8e0210ec7de05345821ff58530567df345a5", 236 + "url": "https://pub.dev" 237 + }, 238 + "source": "hosted", 239 + "version": "1.9.2" 240 + }, 241 + "crypto": { 242 + "dependency": "direct main", 243 + "description": { 244 + "name": "crypto", 245 + "sha256": "ec30d999af904f33454ba22ed9a86162b35e52b44ac4807d1d93c288041d7d27", 246 + "url": "https://pub.dev" 247 + }, 248 + "source": "hosted", 249 + "version": "3.0.5" 250 + }, 251 + "csslib": { 252 + "dependency": "direct main", 253 + "description": { 254 + "name": "csslib", 255 + "sha256": "706b5707578e0c1b4b7550f64078f0a0f19dec3f50a178ffae7006b0a9ca58fb", 256 + "url": "https://pub.dev" 257 + }, 258 + "source": "hosted", 259 + "version": "1.0.0" 260 + }, 261 + "dap": { 262 + "dependency": "direct main", 263 + "description": { 264 + "name": "dap", 265 + "sha256": "c0e53b52c9529d901329045afc4c5acb04304a28acde4b54ab0a08a93da546aa", 266 + "url": "https://pub.dev" 267 + }, 268 + "source": "hosted", 269 + "version": "1.3.0" 270 + }, 271 + "dds": { 272 + "dependency": "direct main", 273 + "description": { 274 + "name": "dds", 275 + "sha256": "c90723eb1f1402429c57f717550ce5af80288d74a27c45ccbe754a0e3e038f95", 276 + "url": "https://pub.dev" 277 + }, 278 + "source": "hosted", 279 + "version": "4.2.7" 280 + }, 281 + "dds_service_extensions": { 282 + "dependency": "direct main", 283 + "description": { 284 + "name": "dds_service_extensions", 285 + "sha256": "390ae1d0128bb43ffe11f8e3c6cd3a481c1920492d1026883d379cee50bdf1a2", 286 + "url": "https://pub.dev" 287 + }, 288 + "source": "hosted", 289 + "version": "2.0.0" 290 + }, 291 + "devtools_shared": { 292 + "dependency": "direct main", 293 + "description": { 294 + "name": "devtools_shared", 295 + "sha256": "72369878105eccd563547afbad97407a2431b96bd4c04a1d6da75cb068437f50", 296 + "url": "https://pub.dev" 297 + }, 298 + "source": "hosted", 299 + "version": "10.0.2" 300 + }, 301 + "dtd": { 302 + "dependency": "direct main", 303 + "description": { 304 + "name": "dtd", 305 + "sha256": "6e4e508c0d03e12e2c96f21faa0e5acc191f9431ecd02adb8daee64dbfae6b86", 306 + "url": "https://pub.dev" 307 + }, 308 + "source": "hosted", 309 + "version": "2.3.0" 310 + }, 311 + "dwds": { 312 + "dependency": "direct main", 313 + "description": { 314 + "name": "dwds", 315 + "sha256": "d0cf9d18511df6b397c40527f3fd8ddb47b7efcc501e703dd94f13cabaf82ffc", 316 + "url": "https://pub.dev" 317 + }, 318 + "source": "hosted", 319 + "version": "24.1.0" 320 + }, 321 + "extension_discovery": { 322 + "dependency": "direct main", 323 + "description": { 324 + "name": "extension_discovery", 325 + "sha256": "de1fce715ab013cdfb00befc3bdf0914bea5e409c3a567b7f8f144bc061611a7", 326 + "url": "https://pub.dev" 327 + }, 328 + "source": "hosted", 329 + "version": "2.1.0" 330 + }, 331 + "fake_async": { 332 + "dependency": "direct main", 333 + "description": { 334 + "name": "fake_async", 335 + "sha256": "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78", 336 + "url": "https://pub.dev" 337 + }, 338 + "source": "hosted", 339 + "version": "1.3.1" 340 + }, 341 + "ffi": { 342 + "dependency": "direct main", 343 + "description": { 344 + "name": "ffi", 345 + "sha256": "16ed7b077ef01ad6170a3d0c57caa4a112a38d7a2ed5602e0aca9ca6f3d98da6", 346 + "url": "https://pub.dev" 347 + }, 348 + "source": "hosted", 349 + "version": "2.1.3" 350 + }, 351 + "file": { 352 + "dependency": "direct main", 353 + "description": { 354 + "name": "file", 355 + "sha256": "5fc22d7c25582e38ad9a8515372cd9a93834027aacf1801cf01164dac0ffa08c", 356 + "url": "https://pub.dev" 357 + }, 358 + "source": "hosted", 359 + "version": "7.0.0" 360 + }, 361 + "file_testing": { 362 + "dependency": "direct dev", 363 + "description": { 364 + "name": "file_testing", 365 + "sha256": "0aaadb4025bd350403f4308ad6c4cea953278d9407814b8342558e4946840fb5", 366 + "url": "https://pub.dev" 367 + }, 368 + "source": "hosted", 369 + "version": "3.0.0" 370 + }, 371 + "fixnum": { 372 + "dependency": "direct main", 373 + "description": { 374 + "name": "fixnum", 375 + "sha256": "25517a4deb0c03aa0f32fd12db525856438902d9c16536311e76cdc57b31d7d1", 376 + "url": "https://pub.dev" 377 + }, 378 + "source": "hosted", 379 + "version": "1.1.0" 380 + }, 381 + "flutter_template_images": { 382 + "dependency": "direct main", 383 + "description": { 384 + "name": "flutter_template_images", 385 + "sha256": "fd3e55af73c577b9e3f88d4080d3e366cb5c8ef3fbd50b94dfeca56bb0235df6", 386 + "url": "https://pub.dev" 387 + }, 388 + "source": "hosted", 389 + "version": "4.2.0" 390 + }, 391 + "frontend_server_client": { 392 + "dependency": "direct main", 393 + "description": { 394 + "name": "frontend_server_client", 395 + "sha256": "f64a0333a82f30b0cca061bc3d143813a486dc086b574bfb233b7c1372427694", 396 + "url": "https://pub.dev" 397 + }, 398 + "source": "hosted", 399 + "version": "4.0.0" 400 + }, 401 + "glob": { 402 + "dependency": "direct main", 403 + "description": { 404 + "name": "glob", 405 + "sha256": "0e7014b3b7d4dac1ca4d6114f82bf1782ee86745b9b42a92c9289c23d8a0ab63", 406 + "url": "https://pub.dev" 407 + }, 408 + "source": "hosted", 409 + "version": "2.1.2" 410 + }, 411 + "graphs": { 412 + "dependency": "direct main", 413 + "description": { 414 + "name": "graphs", 415 + "sha256": "741bbf84165310a68ff28fe9e727332eef1407342fca52759cb21ad8177bb8d0", 416 + "url": "https://pub.dev" 417 + }, 418 + "source": "hosted", 419 + "version": "2.3.2" 420 + }, 421 + "html": { 422 + "dependency": "direct main", 423 + "description": { 424 + "name": "html", 425 + "sha256": "3a7812d5bcd2894edf53dfaf8cd640876cf6cef50a8f238745c8b8120ea74d3a", 426 + "url": "https://pub.dev" 427 + }, 428 + "source": "hosted", 429 + "version": "0.15.4" 430 + }, 431 + "http": { 432 + "dependency": "direct main", 433 + "description": { 434 + "name": "http", 435 + "sha256": "b9c29a161230ee03d3ccf545097fccd9b87a5264228c5d348202e0f0c28f9010", 436 + "url": "https://pub.dev" 437 + }, 438 + "source": "hosted", 439 + "version": "1.2.2" 440 + }, 441 + "http_multi_server": { 442 + "dependency": "direct main", 443 + "description": { 444 + "name": "http_multi_server", 445 + "sha256": "97486f20f9c2f7be8f514851703d0119c3596d14ea63227af6f7a481ef2b2f8b", 446 + "url": "https://pub.dev" 447 + }, 448 + "source": "hosted", 449 + "version": "3.2.1" 450 + }, 451 + "http_parser": { 452 + "dependency": "direct main", 453 + "description": { 454 + "name": "http_parser", 455 + "sha256": "40f592dd352890c3b60fec1b68e786cefb9603e05ff303dbc4dda49b304ecdf4", 456 + "url": "https://pub.dev" 457 + }, 458 + "source": "hosted", 459 + "version": "4.1.0" 460 + }, 461 + "intl": { 462 + "dependency": "direct main", 463 + "description": { 464 + "name": "intl", 465 + "sha256": "d6f56758b7d3014a48af9701c085700aac781a92a87a62b1333b46d8879661cf", 466 + "url": "https://pub.dev" 467 + }, 468 + "source": "hosted", 469 + "version": "0.19.0" 470 + }, 471 + "io": { 472 + "dependency": "direct main", 473 + "description": { 474 + "name": "io", 475 + "sha256": "2ec25704aba361659e10e3e5f5d672068d332fc8ac516421d483a11e5cbd061e", 476 + "url": "https://pub.dev" 477 + }, 478 + "source": "hosted", 479 + "version": "1.0.4" 480 + }, 481 + "js": { 482 + "dependency": "direct main", 483 + "description": { 484 + "name": "js", 485 + "sha256": "c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf", 486 + "url": "https://pub.dev" 487 + }, 488 + "source": "hosted", 489 + "version": "0.7.1" 490 + }, 491 + "json_annotation": { 492 + "dependency": "direct dev", 493 + "description": { 494 + "name": "json_annotation", 495 + "sha256": "1ce844379ca14835a50d2f019a3099f419082cfdd231cd86a142af94dd5c6bb1", 496 + "url": "https://pub.dev" 497 + }, 498 + "source": "hosted", 499 + "version": "4.9.0" 500 + }, 501 + "json_rpc_2": { 502 + "dependency": "direct main", 503 + "description": { 504 + "name": "json_rpc_2", 505 + "sha256": "5e469bffa23899edacb7b22787780068d650b106a21c76db3c49218ab7ca447e", 506 + "url": "https://pub.dev" 507 + }, 508 + "source": "hosted", 509 + "version": "3.0.2" 510 + }, 511 + "logging": { 512 + "dependency": "direct main", 513 + "description": { 514 + "name": "logging", 515 + "sha256": "623a88c9594aa774443aa3eb2d41807a48486b5613e67599fb4c41c0ad47c340", 516 + "url": "https://pub.dev" 517 + }, 518 + "source": "hosted", 519 + "version": "1.2.0" 520 + }, 521 + "macros": { 522 + "dependency": "transitive", 523 + "description": { 524 + "name": "macros", 525 + "sha256": "1d9e801cd66f7ea3663c45fc708450db1fa57f988142c64289142c9b7ee80656", 526 + "url": "https://pub.dev" 527 + }, 528 + "source": "hosted", 529 + "version": "0.1.3-main.0" 530 + }, 531 + "matcher": { 532 + "dependency": "direct main", 533 + "description": { 534 + "name": "matcher", 535 + "sha256": "d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb", 536 + "url": "https://pub.dev" 537 + }, 538 + "source": "hosted", 539 + "version": "0.12.16+1" 540 + }, 541 + "meta": { 542 + "dependency": "direct main", 543 + "description": { 544 + "name": "meta", 545 + "sha256": "bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7", 546 + "url": "https://pub.dev" 547 + }, 548 + "source": "hosted", 549 + "version": "1.15.0" 550 + }, 551 + "mime": { 552 + "dependency": "direct main", 553 + "description": { 554 + "name": "mime", 555 + "sha256": "801fd0b26f14a4a58ccb09d5892c3fbdeff209594300a542492cf13fba9d247a", 556 + "url": "https://pub.dev" 557 + }, 558 + "source": "hosted", 559 + "version": "1.0.6" 560 + }, 561 + "multicast_dns": { 562 + "dependency": "direct main", 563 + "description": { 564 + "name": "multicast_dns", 565 + "sha256": "982c4cc4cda5f98dd477bddfd623e8e4bd1014e7dbf9e7b05052e14a5b550b99", 566 + "url": "https://pub.dev" 567 + }, 568 + "source": "hosted", 569 + "version": "0.3.2+7" 570 + }, 571 + "mustache_template": { 572 + "dependency": "direct main", 573 + "description": { 574 + "name": "mustache_template", 575 + "sha256": "a46e26f91445bfb0b60519be280555b06792460b27b19e2b19ad5b9740df5d1c", 576 + "url": "https://pub.dev" 577 + }, 578 + "source": "hosted", 579 + "version": "2.0.0" 580 + }, 581 + "native_assets_builder": { 582 + "dependency": "direct main", 583 + "description": { 584 + "name": "native_assets_builder", 585 + "sha256": "ad76e66cc1ca7aa922d682651aee2663cd80e6ba483a346d13a8c40f604ebfd9", 586 + "url": "https://pub.dev" 587 + }, 588 + "source": "hosted", 589 + "version": "0.8.3" 590 + }, 591 + "native_assets_cli": { 592 + "dependency": "direct main", 593 + "description": { 594 + "name": "native_assets_cli", 595 + "sha256": "db902509468ec2a6c6d11fa9ce02805ede280e8dbfb5f0014ef3de8483cadfce", 596 + "url": "https://pub.dev" 597 + }, 598 + "source": "hosted", 599 + "version": "0.8.0" 600 + }, 601 + "native_stack_traces": { 602 + "dependency": "direct main", 603 + "description": { 604 + "name": "native_stack_traces", 605 + "sha256": "8ba566c10ea781491c203876b04b9bdcf19dfbe17b9e486869f20eaae0ee470f", 606 + "url": "https://pub.dev" 607 + }, 608 + "source": "hosted", 609 + "version": "0.6.0" 610 + }, 611 + "node_preamble": { 612 + "dependency": "direct main", 613 + "description": { 614 + "name": "node_preamble", 615 + "sha256": "6e7eac89047ab8a8d26cf16127b5ed26de65209847630400f9aefd7cd5c730db", 616 + "url": "https://pub.dev" 617 + }, 618 + "source": "hosted", 619 + "version": "2.0.2" 620 + }, 621 + "package_config": { 622 + "dependency": "direct main", 623 + "description": { 624 + "name": "package_config", 625 + "sha256": "1c5b77ccc91e4823a5af61ee74e6b972db1ef98c2ff5a18d3161c982a55448bd", 626 + "url": "https://pub.dev" 627 + }, 628 + "source": "hosted", 629 + "version": "2.1.0" 630 + }, 631 + "path": { 632 + "dependency": "direct main", 633 + "description": { 634 + "name": "path", 635 + "sha256": "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af", 636 + "url": "https://pub.dev" 637 + }, 638 + "source": "hosted", 639 + "version": "1.9.0" 640 + }, 641 + "petitparser": { 642 + "dependency": "direct main", 643 + "description": { 644 + "name": "petitparser", 645 + "sha256": "c15605cd28af66339f8eb6fbe0e541bfe2d1b72d5825efc6598f3e0a31b9ad27", 646 + "url": "https://pub.dev" 647 + }, 648 + "source": "hosted", 649 + "version": "6.0.2" 650 + }, 651 + "platform": { 652 + "dependency": "direct main", 653 + "description": { 654 + "name": "platform", 655 + "sha256": "9b71283fc13df574056616011fb138fd3b793ea47cc509c189a6c3fa5f8a1a65", 656 + "url": "https://pub.dev" 657 + }, 658 + "source": "hosted", 659 + "version": "3.1.5" 660 + }, 661 + "pool": { 662 + "dependency": "direct main", 663 + "description": { 664 + "name": "pool", 665 + "sha256": "20fe868b6314b322ea036ba325e6fc0711a22948856475e2c2b6306e8ab39c2a", 666 + "url": "https://pub.dev" 667 + }, 668 + "source": "hosted", 669 + "version": "1.5.1" 670 + }, 671 + "process": { 672 + "dependency": "direct main", 673 + "description": { 674 + "name": "process", 675 + "sha256": "21e54fd2faf1b5bdd5102afd25012184a6793927648ea81eea80552ac9405b32", 676 + "url": "https://pub.dev" 677 + }, 678 + "source": "hosted", 679 + "version": "5.0.2" 680 + }, 681 + "pub_semver": { 682 + "dependency": "direct main", 683 + "description": { 684 + "name": "pub_semver", 685 + "sha256": "40d3ab1bbd474c4c2328c91e3a7df8c6dd629b79ece4c4bd04bee496a224fb0c", 686 + "url": "https://pub.dev" 687 + }, 688 + "source": "hosted", 689 + "version": "2.1.4" 690 + }, 691 + "pubspec_parse": { 692 + "dependency": "direct dev", 693 + "description": { 694 + "name": "pubspec_parse", 695 + "sha256": "c799b721d79eb6ee6fa56f00c04b472dcd44a30d258fac2174a6ec57302678f8", 696 + "url": "https://pub.dev" 697 + }, 698 + "source": "hosted", 699 + "version": "1.3.0" 700 + }, 701 + "shelf": { 702 + "dependency": "direct main", 703 + "description": { 704 + "name": "shelf", 705 + "sha256": "e7dd780a7ffb623c57850b33f43309312fc863fb6aa3d276a754bb299839ef12", 706 + "url": "https://pub.dev" 707 + }, 708 + "source": "hosted", 709 + "version": "1.4.2" 710 + }, 711 + "shelf_packages_handler": { 712 + "dependency": "direct main", 713 + "description": { 714 + "name": "shelf_packages_handler", 715 + "sha256": "89f967eca29607c933ba9571d838be31d67f53f6e4ee15147d5dc2934fee1b1e", 716 + "url": "https://pub.dev" 717 + }, 718 + "source": "hosted", 719 + "version": "3.0.2" 720 + }, 721 + "shelf_proxy": { 722 + "dependency": "direct main", 723 + "description": { 724 + "name": "shelf_proxy", 725 + "sha256": "a71d2307f4393211930c590c3d2c00630f6c5a7a77edc1ef6436dfd85a6a7ee3", 726 + "url": "https://pub.dev" 727 + }, 728 + "source": "hosted", 729 + "version": "1.0.4" 730 + }, 731 + "shelf_static": { 732 + "dependency": "direct main", 733 + "description": { 734 + "name": "shelf_static", 735 + "sha256": "c87c3875f91262785dade62d135760c2c69cb217ac759485334c5857ad89f6e3", 736 + "url": "https://pub.dev" 737 + }, 738 + "source": "hosted", 739 + "version": "1.1.3" 740 + }, 741 + "shelf_web_socket": { 742 + "dependency": "direct main", 743 + "description": { 744 + "name": "shelf_web_socket", 745 + "sha256": "073c147238594ecd0d193f3456a5fe91c4b0abbcc68bf5cd95b36c4e194ac611", 746 + "url": "https://pub.dev" 747 + }, 748 + "source": "hosted", 749 + "version": "2.0.0" 750 + }, 751 + "source_map_stack_trace": { 752 + "dependency": "direct main", 753 + "description": { 754 + "name": "source_map_stack_trace", 755 + "sha256": "c0713a43e323c3302c2abe2a1cc89aa057a387101ebd280371d6a6c9fa68516b", 756 + "url": "https://pub.dev" 757 + }, 758 + "source": "hosted", 759 + "version": "2.1.2" 760 + }, 761 + "source_maps": { 762 + "dependency": "direct main", 763 + "description": { 764 + "name": "source_maps", 765 + "sha256": "708b3f6b97248e5781f493b765c3337db11c5d2c81c3094f10904bfa8004c703", 766 + "url": "https://pub.dev" 767 + }, 768 + "source": "hosted", 769 + "version": "0.10.12" 770 + }, 771 + "source_span": { 772 + "dependency": "direct main", 773 + "description": { 774 + "name": "source_span", 775 + "sha256": "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c", 776 + "url": "https://pub.dev" 777 + }, 778 + "source": "hosted", 779 + "version": "1.10.0" 780 + }, 781 + "sprintf": { 782 + "dependency": "direct main", 783 + "description": { 784 + "name": "sprintf", 785 + "sha256": "1fc9ffe69d4df602376b52949af107d8f5703b77cda567c4d7d86a0693120f23", 786 + "url": "https://pub.dev" 787 + }, 788 + "source": "hosted", 789 + "version": "7.0.0" 790 + }, 791 + "sse": { 792 + "dependency": "direct main", 793 + "description": { 794 + "name": "sse", 795 + "sha256": "111a05843ea9035042975744fe61d5e8b95bc4d38656dbafc5532da77a0bb89a", 796 + "url": "https://pub.dev" 797 + }, 798 + "source": "hosted", 799 + "version": "4.1.6" 800 + }, 801 + "stack_trace": { 802 + "dependency": "direct main", 803 + "description": { 804 + "name": "stack_trace", 805 + "sha256": "9f47fd3630d76be3ab26f0ee06d213679aa425996925ff3feffdec504931c377", 806 + "url": "https://pub.dev" 807 + }, 808 + "source": "hosted", 809 + "version": "1.12.0" 810 + }, 811 + "standard_message_codec": { 812 + "dependency": "direct main", 813 + "description": { 814 + "name": "standard_message_codec", 815 + "sha256": "fc7dd712d191b7e33196a0ecf354c4573492bb95995e7166cb6f73b047f9cae0", 816 + "url": "https://pub.dev" 817 + }, 818 + "source": "hosted", 819 + "version": "0.0.1+4" 820 + }, 821 + "stream_channel": { 822 + "dependency": "direct main", 823 + "description": { 824 + "name": "stream_channel", 825 + "sha256": "ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7", 826 + "url": "https://pub.dev" 827 + }, 828 + "source": "hosted", 829 + "version": "2.1.2" 830 + }, 831 + "string_scanner": { 832 + "dependency": "direct main", 833 + "description": { 834 + "name": "string_scanner", 835 + "sha256": "688af5ed3402a4bde5b3a6c15fd768dbf2621a614950b17f04626c431ab3c4c3", 836 + "url": "https://pub.dev" 837 + }, 838 + "source": "hosted", 839 + "version": "1.3.0" 840 + }, 841 + "sync_http": { 842 + "dependency": "direct main", 843 + "description": { 844 + "name": "sync_http", 845 + "sha256": "7f0cd72eca000d2e026bcd6f990b81d0ca06022ef4e32fb257b30d3d1014a961", 846 + "url": "https://pub.dev" 847 + }, 848 + "source": "hosted", 849 + "version": "0.3.1" 850 + }, 851 + "term_glyph": { 852 + "dependency": "direct main", 853 + "description": { 854 + "name": "term_glyph", 855 + "sha256": "a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84", 856 + "url": "https://pub.dev" 857 + }, 858 + "source": "hosted", 859 + "version": "1.2.1" 860 + }, 861 + "test": { 862 + "dependency": "direct main", 863 + "description": { 864 + "name": "test", 865 + "sha256": "713a8789d62f3233c46b4a90b174737b2c04cb6ae4500f2aa8b1be8f03f5e67f", 866 + "url": "https://pub.dev" 867 + }, 868 + "source": "hosted", 869 + "version": "1.25.8" 870 + }, 871 + "test_api": { 872 + "dependency": "direct main", 873 + "description": { 874 + "name": "test_api", 875 + "sha256": "664d3a9a64782fcdeb83ce9c6b39e78fd2971d4e37827b9b06c3aa1edc5e760c", 876 + "url": "https://pub.dev" 877 + }, 878 + "source": "hosted", 879 + "version": "0.7.3" 880 + }, 881 + "test_core": { 882 + "dependency": "direct main", 883 + "description": { 884 + "name": "test_core", 885 + "sha256": "12391302411737c176b0b5d6491f466b0dd56d4763e347b6714efbaa74d7953d", 886 + "url": "https://pub.dev" 887 + }, 888 + "source": "hosted", 889 + "version": "0.6.5" 890 + }, 891 + "typed_data": { 892 + "dependency": "direct main", 893 + "description": { 894 + "name": "typed_data", 895 + "sha256": "facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c", 896 + "url": "https://pub.dev" 897 + }, 898 + "source": "hosted", 899 + "version": "1.3.2" 900 + }, 901 + "unified_analytics": { 902 + "dependency": "direct main", 903 + "description": { 904 + "name": "unified_analytics", 905 + "sha256": "9f3c68cb30faa6d05b920498d2af79eace00fef0bae9beba9f3cda84fdbe46df", 906 + "url": "https://pub.dev" 907 + }, 908 + "source": "hosted", 909 + "version": "6.1.4" 910 + }, 911 + "usage": { 912 + "dependency": "direct main", 913 + "description": { 914 + "name": "usage", 915 + "sha256": "0bdbde65a6e710343d02a56552eeaefd20b735e04bfb6b3ee025b6b22e8d0e15", 916 + "url": "https://pub.dev" 917 + }, 918 + "source": "hosted", 919 + "version": "4.1.1" 920 + }, 921 + "uuid": { 922 + "dependency": "direct main", 923 + "description": { 924 + "name": "uuid", 925 + "sha256": "a5be9ef6618a7ac1e964353ef476418026db906c4facdedaa299b7a2e71690ff", 926 + "url": "https://pub.dev" 927 + }, 928 + "source": "hosted", 929 + "version": "4.5.1" 930 + }, 931 + "vm_service": { 932 + "dependency": "direct main", 933 + "description": { 934 + "name": "vm_service", 935 + "sha256": "f6be3ed8bd01289b34d679c2b62226f63c0e69f9fd2e50a6b3c1c729a961041b", 936 + "url": "https://pub.dev" 937 + }, 938 + "source": "hosted", 939 + "version": "14.3.0" 940 + }, 941 + "vm_service_interface": { 942 + "dependency": "direct main", 943 + "description": { 944 + "name": "vm_service_interface", 945 + "sha256": "f827453d9a3f8ceae04e389810da26f9b67636bdd13aa2dd9405b110c4daf59c", 946 + "url": "https://pub.dev" 947 + }, 948 + "source": "hosted", 949 + "version": "1.1.0" 950 + }, 951 + "vm_snapshot_analysis": { 952 + "dependency": "direct main", 953 + "description": { 954 + "name": "vm_snapshot_analysis", 955 + "sha256": "5a79b9fbb6be2555090f55b03b23907e75d44c3fd7bdd88da09848aa5a1914c8", 956 + "url": "https://pub.dev" 957 + }, 958 + "source": "hosted", 959 + "version": "0.7.6" 960 + }, 961 + "watcher": { 962 + "dependency": "direct main", 963 + "description": { 964 + "name": "watcher", 965 + "sha256": "3d2ad6751b3c16cf07c7fca317a1413b3f26530319181b37e3b9039b84fc01d8", 966 + "url": "https://pub.dev" 967 + }, 968 + "source": "hosted", 969 + "version": "1.1.0" 970 + }, 971 + "web": { 972 + "dependency": "direct main", 973 + "description": { 974 + "name": "web", 975 + "sha256": "cd3543bd5798f6ad290ea73d210f423502e71900302dde696f8bff84bf89a1cb", 976 + "url": "https://pub.dev" 977 + }, 978 + "source": "hosted", 979 + "version": "1.1.0" 980 + }, 981 + "web_socket": { 982 + "dependency": "direct main", 983 + "description": { 984 + "name": "web_socket", 985 + "sha256": "3c12d96c0c9a4eec095246debcea7b86c0324f22df69893d538fcc6f1b8cce83", 986 + "url": "https://pub.dev" 987 + }, 988 + "source": "hosted", 989 + "version": "0.1.6" 990 + }, 991 + "web_socket_channel": { 992 + "dependency": "direct main", 993 + "description": { 994 + "name": "web_socket_channel", 995 + "sha256": "9f187088ed104edd8662ca07af4b124465893caf063ba29758f97af57e61da8f", 996 + "url": "https://pub.dev" 997 + }, 998 + "source": "hosted", 999 + "version": "3.0.1" 1000 + }, 1001 + "webdriver": { 1002 + "dependency": "direct main", 1003 + "description": { 1004 + "name": "webdriver", 1005 + "sha256": "3d773670966f02a646319410766d3b5e1037efb7f07cc68f844d5e06cd4d61c8", 1006 + "url": "https://pub.dev" 1007 + }, 1008 + "source": "hosted", 1009 + "version": "3.0.4" 1010 + }, 1011 + "webkit_inspection_protocol": { 1012 + "dependency": "direct main", 1013 + "description": { 1014 + "name": "webkit_inspection_protocol", 1015 + "sha256": "87d3f2333bb240704cd3f1c6b5b7acd8a10e7f0bc28c28dcf14e782014f4a572", 1016 + "url": "https://pub.dev" 1017 + }, 1018 + "source": "hosted", 1019 + "version": "1.2.1" 1020 + }, 1021 + "xml": { 1022 + "dependency": "direct main", 1023 + "description": { 1024 + "name": "xml", 1025 + "sha256": "b015a8ad1c488f66851d762d3090a21c600e479dc75e68328c52774040cf9226", 1026 + "url": "https://pub.dev" 1027 + }, 1028 + "source": "hosted", 1029 + "version": "6.5.0" 1030 + }, 1031 + "yaml": { 1032 + "dependency": "direct main", 1033 + "description": { 1034 + "name": "yaml", 1035 + "sha256": "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5", 1036 + "url": "https://pub.dev" 1037 + }, 1038 + "source": "hosted", 1039 + "version": "3.1.2" 1040 + }, 1041 + "yaml_edit": { 1042 + "dependency": "direct main", 1043 + "description": { 1044 + "name": "yaml_edit", 1045 + "sha256": "e9c1a3543d2da0db3e90270dbb1e4eebc985ee5e3ffe468d83224472b2194a5f", 1046 + "url": "https://pub.dev" 1047 + }, 1048 + "source": "hosted", 1049 + "version": "2.2.1" 1050 + } 1051 + }, 1052 + "sdks": { 1053 + "dart": ">=3.4.3 <4.0.0" 1054 + } 1055 + } 1056 + }
+19
pkgs/development/compilers/flutter/versions/3_27/patches/deregister-pub-dependencies-artifact.patch
··· 1 + diff --git a/packages/flutter_tools/lib/src/flutter_cache.dart b/packages/flutter_tools/lib/src/flutter_cache.dart 2 + index 252021cf78..e50ef0885d 100644 3 + --- a/packages/flutter_tools/lib/src/flutter_cache.dart 4 + +++ b/packages/flutter_tools/lib/src/flutter_cache.dart 5 + @@ -51,14 +51,6 @@ class FlutterCache extends Cache { 6 + registerArtifact(IosUsbArtifacts(artifactName, this, platform: platform)); 7 + } 8 + registerArtifact(FontSubsetArtifacts(this, platform: platform)); 9 + - registerArtifact(PubDependencies( 10 + - logger: logger, 11 + - // flutter root and pub must be lazily initialized to avoid accessing 12 + - // before the version is determined. 13 + - flutterRoot: () => Cache.flutterRoot!, 14 + - pub: () => pub, 15 + - projectFactory: projectFactory, 16 + - )); 17 + } 18 + } 19 +
+30
pkgs/development/compilers/flutter/versions/3_27/patches/disable-auto-update.patch
··· 1 + diff --git a/packages/flutter_tools/lib/src/runner/flutter_command.dart b/packages/flutter_tools/lib/src/runner/flutter_command.dart 2 + index e4e474ab6e..5548599802 100644 3 + --- a/packages/flutter_tools/lib/src/runner/flutter_command.dart 4 + +++ b/packages/flutter_tools/lib/src/runner/flutter_command.dart 5 + @@ -1693,7 +1693,7 @@ Run 'flutter -h' (or 'flutter <command> -h') for available flutter commands and 6 + 7 + // Populate the cache. We call this before pub get below so that the 8 + // sky_engine package is available in the flutter cache for pub to find. 9 + - if (shouldUpdateCache) { 10 + + if (false) { 11 + // First always update universal artifacts, as some of these (e.g. 12 + // ios-deploy on macOS) are required to determine `requiredArtifacts`. 13 + final bool offline; 14 + diff --git a/packages/flutter_tools/lib/src/runner/flutter_command_runner.dart b/packages/flutter_tools/lib/src/runner/flutter_command_runner.dart 15 + index 50783f8435..db94062840 100644 16 + --- a/packages/flutter_tools/lib/src/runner/flutter_command_runner.dart 17 + +++ b/packages/flutter_tools/lib/src/runner/flutter_command_runner.dart 18 + @@ -377,11 +377,7 @@ class FlutterCommandRunner extends CommandRunner<void> { 19 + globals.analytics.suppressTelemetry(); 20 + } 21 + 22 + - globals.flutterVersion.ensureVersionFile(); 23 + final bool machineFlag = topLevelResults[FlutterGlobalOptions.kMachineFlag] as bool? ?? false; 24 + - if (await _shouldCheckForUpdates(topLevelResults, topLevelMachineFlag: machineFlag)) { 25 + - await globals.flutterVersion.checkFlutterVersionFreshness(); 26 + - } 27 + 28 + // See if the user specified a specific device. 29 + final String? specifiedDeviceId = topLevelResults[FlutterGlobalOptions.kDeviceIdOption] as String?; 30 +
+69
pkgs/development/compilers/flutter/versions/3_27/patches/fix-ios-build-xcode-backend-sh.patch
··· 1 + From 6df275df3b8694daf16302b407520e3b1dee6724 Mon Sep 17 00:00:00 2001 2 + From: Philip Hayes <philiphayes9@gmail.com> 3 + Date: Thu, 12 Sep 2024 13:23:00 -0700 4 + Subject: [PATCH] fix: cleanup xcode_backend.sh to fix iOS build w/ 5 + `NixOS/nixpkgs` flutter 6 + 7 + This patch cleans up `xcode_backend.sh`. It now effectively just runs 8 + `exec $FLUTTER_ROOT/bin/dart ./xcode_backend.dart`. 9 + 10 + The previous `xcode_backend.sh` tries to discover `$FLUTTER_ROOT` from 11 + argv[0], even though its presence is already guaranteed (the wrapped 12 + `xcode_backend.dart` also relies on this env). 13 + 14 + When using nixpkgs flutter, the flutter SDK directory is composed of several 15 + layers, joined together using symlinks (called a `symlinkJoin`). Without this 16 + patch, the auto-discover traverses the symlinks into the wrong layer, and so it 17 + uses an "unwrapped" `dart` command instead of a "wrapped" dart that sets some 18 + important envs/flags (like `$FLUTTER_ROOT`). 19 + 20 + Using the "unwrapped" dart then manifests in this error when compiling, since 21 + it doesn't see the ios build-support artifacts: 22 + 23 + ``` 24 + $ flutter run -d iphone 25 + Running Xcode build... 26 + Xcode build done. 6.4s 27 + Failed to build iOS app 28 + Error (Xcode): Target debug_unpack_ios failed: Error: Flutter failed to create a directory at "/<nix-store>/XXXX-flutter-3.24.1-unwrapped/bin/cache/artifacts". 29 + ``` 30 + --- 31 + packages/flutter_tools/bin/xcode_backend.sh | 25 ++++----------------- 32 + 1 file changed, 4 insertions(+), 21 deletions(-) 33 + 34 + diff --git a/packages/flutter_tools/bin/xcode_backend.sh b/packages/flutter_tools/bin/xcode_backend.sh 35 + index 2889d7c8e4..48b9d06c6e 100755 36 + --- a/packages/flutter_tools/bin/xcode_backend.sh 37 + +++ b/packages/flutter_tools/bin/xcode_backend.sh 38 + @@ -6,24 +6,7 @@ 39 + # exit on error, or usage of unset var 40 + set -euo pipefail 41 + 42 + -# Needed because if it is set, cd may print the path it changed to. 43 + -unset CDPATH 44 + - 45 + -function follow_links() ( 46 + - cd -P "$(dirname -- "$1")" 47 + - file="$PWD/$(basename -- "$1")" 48 + - while [[ -h "$file" ]]; do 49 + - cd -P "$(dirname -- "$file")" 50 + - file="$(readlink -- "$file")" 51 + - cd -P "$(dirname -- "$file")" 52 + - file="$PWD/$(basename -- "$file")" 53 + - done 54 + - echo "$file" 55 + -) 56 + - 57 + -PROG_NAME="$(follow_links "${BASH_SOURCE[0]}")" 58 + -BIN_DIR="$(cd "${PROG_NAME%/*}" ; pwd -P)" 59 + -FLUTTER_ROOT="$BIN_DIR/../../.." 60 + -DART="$FLUTTER_ROOT/bin/dart" 61 + - 62 + -"$DART" "$BIN_DIR/xcode_backend.dart" "$@" 63 + +# Run `dart ./xcode_backend.dart` with the dart from $FLUTTER_ROOT. 64 + +dart="${FLUTTER_ROOT}/bin/dart" 65 + +xcode_backend_dart="${BASH_SOURCE[0]%.sh}.dart" 66 + +exec "${dart}" "${xcode_backend_dart}" "$@" 67 + -- 68 + 2.46.0 69 +
+44
pkgs/development/compilers/flutter/versions/3_27/patches/gradle-flutter-tools-wrapper.patch
··· 1 + This patch introduces an intermediate Gradle build step to alter the behavior 2 + of flutter_tools' Gradle project, specifically moving the creation of `build` 3 + and `.gradle` directories from within the Nix Store to somewhere in `$HOME/.cache/flutter/nix-flutter-tools-gradle/$engineShortRev`. 4 + 5 + Without this patch, flutter_tools' Gradle project tries to generate `build` and `.gradle` 6 + directories within the Nix Store. Resulting in read-only errors when trying to build a 7 + Flutter Android app at runtime. 8 + 9 + This patch takes advantage of the fact settings.gradle takes priority over settings.gradle.kts to build the intermediate Gradle project 10 + when a Flutter app runs `includeBuild("${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle")` 11 + 12 + `rootProject.buildFileName = "/dev/null"` so that the intermediate project doesn't use `build.gradle.kts` that's in the same directory. 13 + 14 + The intermediate project makes a `settings.gradle` file in `$HOME/.cache/flutter/nix-flutter-tools-gradle/<short engine rev>/` and `includeBuild`s it. 15 + This Gradle project will build the actual `packages/flutter_tools/gradle` project by setting 16 + `rootProject.projectDir = new File("$settingsDir")` and `apply from: new File("$settingsDir/settings.gradle.kts")`. 17 + 18 + Now the `.gradle` will be built in `$HOME/.cache/flutter/nix-flutter-tools-gradle/<short engine rev>/`, but `build` doesn't. 19 + To move `build` to `$HOME/.cache/flutter/nix-flutter-tools-gradle/<short engine rev>/` as well, we need to set `buildDirectory`. 20 + diff --git a/packages/flutter_tools/gradle/settings.gradle b/packages/flutter_tools/gradle/settings.gradle 21 + new file mode 100644 22 + index 0000000000..b2485c94b4 23 + --- /dev/null 24 + +++ b/packages/flutter_tools/gradle/settings.gradle 25 + @@ -0,0 +1,19 @@ 26 + +rootProject.buildFileName = "/dev/null" 27 + + 28 + +def engineShortRev = (new File("$settingsDir/../../../bin/internal/engine.version")).text.take(10) 29 + +def dir = new File("$System.env.HOME/.cache/flutter/nix-flutter-tools-gradle/$engineShortRev") 30 + +dir.mkdirs() 31 + +def file = new File(dir, "settings.gradle") 32 + + 33 + +file.text = """ 34 + +rootProject.projectDir = new File("$settingsDir") 35 + +apply from: new File("$settingsDir/settings.gradle.kts") 36 + + 37 + +gradle.allprojects { project -> 38 + + project.beforeEvaluate { 39 + + project.layout.buildDirectory = new File("$dir/build") 40 + + } 41 + +} 42 + +""" 43 + + 44 + +includeBuild(dir)
+1
pkgs/top-level/all-packages.nix
··· 14510 14510 flutterPackages-source = recurseIntoAttrs (callPackage ../development/compilers/flutter { useNixpkgsEngine = true; }); 14511 14511 flutterPackages = flutterPackages-bin; 14512 14512 flutter = flutterPackages.stable; 14513 + flutter327 = flutterPackages.v3_27; 14513 14514 flutter326 = flutterPackages.v3_26; 14514 14515 flutter324 = flutterPackages.v3_24; 14515 14516 flutter319 = flutterPackages.v3_19;