flutter332: init at 3.32.0-0.3.pre (#401583)

authored by Maciej Krüger and committed by GitHub d91608b0 df710512

+1231 -6
+4
pkgs/development/compilers/flutter/artifacts/fetch-artifacts.nix
··· 78 78 mkdir "$FLUTTER_ROOT/bin/cache/dart-sdk" 79 79 lndir -silent '${flutter'}/bin/cache/dart-sdk' "$FLUTTER_ROOT/bin/cache/dart-sdk" 80 80 '' 81 + # Could not determine engine revision 82 + + lib.optionalString (lib.versionAtLeast flutter'.version "3.32") '' 83 + cp '${flutter'}/bin/internal/engine.version' "$FLUTTER_ROOT/bin/cache/engine.stamp" 84 + '' 81 85 + '' 82 86 83 87 HOME="$(mktemp -d)" flutter precache ${
+22 -6
pkgs/development/compilers/flutter/default.nix
··· 6 6 dart, 7 7 lib, 8 8 stdenv, 9 + runCommand, 9 10 }: 10 11 let 11 12 mkCustomFlutter = args: callPackage ./flutter.nix args; ··· 69 70 }; 70 71 }; 71 72 }; 72 - src = fetchFromGitHub { 73 - owner = "flutter"; 74 - repo = "flutter"; 75 - rev = version; 76 - hash = flutterHash; 77 - }; 73 + src = 74 + let 75 + source = fetchFromGitHub { 76 + owner = "flutter"; 77 + repo = "flutter"; 78 + rev = version; 79 + hash = flutterHash; 80 + }; 81 + in 82 + ( 83 + if lib.versionAtLeast version "3.32" then 84 + # # Could not determine engine revision 85 + (runCommand source.name { } '' 86 + cp -r ${source} $out 87 + chmod +w $out/bin 88 + mkdir $out/bin/cache 89 + cp $out/bin/internal/engine.version $out/bin/cache/engine.stamp 90 + '') 91 + else 92 + source 93 + ); 78 94 }; 79 95 in 80 96 (mkCustomFlutter args).overrideAttrs (
+1040
pkgs/development/compilers/flutter/versions/3_32/data.json
··· 1 + { 2 + "version": "3.32.0-0.3.pre", 3 + "engineVersion": "453dd7174cc6555e3e9eb5f006c86e6ec221a0d2", 4 + "engineSwiftShaderHash": "sha256-ATVcuxqPHqHOWYyO7DoX9LdgUiO3INUi7m9Mc6ccc1M=", 5 + "engineSwiftShaderRev": "d040a5bab638bf7c226235c95787ba6288bb6416", 6 + "channel": "beta", 7 + "engineHashes": { 8 + "aarch64-linux": { 9 + "aarch64-linux": "sha256-ql8yUGCPMhFI2+pfVtTZFXpb5WDKq8jAzhr0X6LXE7A=", 10 + "x86_64-linux": "sha256-ql8yUGCPMhFI2+pfVtTZFXpb5WDKq8jAzhr0X6LXE7A=" 11 + }, 12 + "x86_64-linux": { 13 + "aarch64-linux": "sha256-JWv1aHPOcw2qBN0Jjn6kIMCF8hZYlh6ZbGLVa0GP5NE=", 14 + "x86_64-linux": "sha256-JWv1aHPOcw2qBN0Jjn6kIMCF8hZYlh6ZbGLVa0GP5NE=" 15 + } 16 + }, 17 + "dartVersion": "3.8.0-278.2.beta", 18 + "dartHash": { 19 + "x86_64-linux": "sha256-ux89ySr218exFOhscGhumXC1Eizdk6hvpWwxPTJDAFo=", 20 + "aarch64-linux": "sha256-Ggc7HOytWwqimOKFUu4+CKtz0L4F09/fXY5BkeS/HAw=", 21 + "x86_64-darwin": "sha256-etOXUGIDL4n7PmuH+g74ByXuuWjJ8JnT4iwGm4rPXYQ=", 22 + "aarch64-darwin": "sha256-+7Eewv0x+V6gDqyfj5/z50whBU8NrvdidOWPPeaEAwE=" 23 + }, 24 + "flutterHash": "sha256-FqJR0PQYks2njzMgZCQSQqy2Goqp6QeN8Ej4a4EHVes=", 25 + "artifactHashes": { 26 + "android": { 27 + "aarch64-darwin": "sha256-A5AUxqKHwUYm9Mf6cqTAazCxGP+JwGpIfeMZ7vIqQUs=", 28 + "aarch64-linux": "sha256-WQ7gM4i2UuaYaciT67HwYL7McBGXLYdZn748Mkghbxw=", 29 + "x86_64-darwin": "sha256-A5AUxqKHwUYm9Mf6cqTAazCxGP+JwGpIfeMZ7vIqQUs=", 30 + "x86_64-linux": "sha256-WQ7gM4i2UuaYaciT67HwYL7McBGXLYdZn748Mkghbxw=" 31 + }, 32 + "fuchsia": { 33 + "aarch64-darwin": "sha256-n+aperOaIbS+KxPtwBslcZT2QXTchX6TQiqM++RbCUk=", 34 + "aarch64-linux": "sha256-n+aperOaIbS+KxPtwBslcZT2QXTchX6TQiqM++RbCUk=", 35 + "x86_64-darwin": "sha256-n+aperOaIbS+KxPtwBslcZT2QXTchX6TQiqM++RbCUk=", 36 + "x86_64-linux": "sha256-n+aperOaIbS+KxPtwBslcZT2QXTchX6TQiqM++RbCUk=" 37 + }, 38 + "ios": { 39 + "aarch64-darwin": "sha256-MS1rqPayx4njEHm9rNjphcKwrNv1PVgL4rkgjOj42xY=", 40 + "aarch64-linux": "sha256-MS1rqPayx4njEHm9rNjphcKwrNv1PVgL4rkgjOj42xY=", 41 + "x86_64-darwin": "sha256-MS1rqPayx4njEHm9rNjphcKwrNv1PVgL4rkgjOj42xY=", 42 + "x86_64-linux": "sha256-MS1rqPayx4njEHm9rNjphcKwrNv1PVgL4rkgjOj42xY=" 43 + }, 44 + "linux": { 45 + "aarch64-darwin": "sha256-Uo+NABCVVTI2aAlhoWJ4N9M+wXUtATA0bjKOhK3df84=", 46 + "aarch64-linux": "sha256-Uo+NABCVVTI2aAlhoWJ4N9M+wXUtATA0bjKOhK3df84=", 47 + "x86_64-darwin": "sha256-LsBWcZtzxbULYSqsUAik3DMNX8BON88udrIownJVnDo=", 48 + "x86_64-linux": "sha256-LsBWcZtzxbULYSqsUAik3DMNX8BON88udrIownJVnDo=" 49 + }, 50 + "macos": { 51 + "aarch64-darwin": "sha256-He/H1CfAVV2+HX2z0p9aetEyJV1lCBmsDjATtdEkSMs=", 52 + "aarch64-linux": "sha256-He/H1CfAVV2+HX2z0p9aetEyJV1lCBmsDjATtdEkSMs=", 53 + "x86_64-darwin": "sha256-He/H1CfAVV2+HX2z0p9aetEyJV1lCBmsDjATtdEkSMs=", 54 + "x86_64-linux": "sha256-He/H1CfAVV2+HX2z0p9aetEyJV1lCBmsDjATtdEkSMs=" 55 + }, 56 + "universal": { 57 + "aarch64-darwin": "sha256-dIpU21J5zVQCQJWRINXleC7b480IHY5/8KZzBCi9TVc=", 58 + "aarch64-linux": "sha256-/O/eAYa6KZwXG/w3sN2Egla+xBMqJ8hFAQktQjcVHxo=", 59 + "x86_64-darwin": "sha256-9+I7GjB2ZX6gZsmxij1XB+iA0VYjoKJt4NFK22ooYes=", 60 + "x86_64-linux": "sha256-ApqDXK7BVUDJY612PNn2SqX8fvHESYGv5pl0814+uzs=" 61 + }, 62 + "web": { 63 + "aarch64-darwin": "sha256-1VNmZdw56u0zjVl1JYom2kk6OLdxSAUEQZJKWyOieOU=", 64 + "aarch64-linux": "sha256-1VNmZdw56u0zjVl1JYom2kk6OLdxSAUEQZJKWyOieOU=", 65 + "x86_64-darwin": "sha256-1VNmZdw56u0zjVl1JYom2kk6OLdxSAUEQZJKWyOieOU=", 66 + "x86_64-linux": "sha256-1VNmZdw56u0zjVl1JYom2kk6OLdxSAUEQZJKWyOieOU=" 67 + }, 68 + "windows": { 69 + "x86_64-darwin": "sha256-nSIm4HAFn+K7CPOVtD2DTGmWfXM1t2lD5GqXa3INTQQ=", 70 + "x86_64-linux": "sha256-nSIm4HAFn+K7CPOVtD2DTGmWfXM1t2lD5GqXa3INTQQ=" 71 + } 72 + }, 73 + "pubspecLock": { 74 + "packages": { 75 + "_fe_analyzer_shared": { 76 + "dependency": "direct main", 77 + "description": { 78 + "name": "_fe_analyzer_shared", 79 + "sha256": "dc27559385e905ad30838356c5f5d574014ba39872d732111cd07ac0beff4c57", 80 + "url": "https://pub.dev" 81 + }, 82 + "source": "hosted", 83 + "version": "80.0.0" 84 + }, 85 + "analyzer": { 86 + "dependency": "direct main", 87 + "description": { 88 + "name": "analyzer", 89 + "sha256": "192d1c5b944e7e53b24b5586db760db934b177d4147c42fbca8c8c5f1eb8d11e", 90 + "url": "https://pub.dev" 91 + }, 92 + "source": "hosted", 93 + "version": "7.3.0" 94 + }, 95 + "archive": { 96 + "dependency": "direct main", 97 + "description": { 98 + "name": "archive", 99 + "sha256": "cb6a278ef2dbb298455e1a713bda08524a175630ec643a242c399c932a0a1f7d", 100 + "url": "https://pub.dev" 101 + }, 102 + "source": "hosted", 103 + "version": "3.6.1" 104 + }, 105 + "args": { 106 + "dependency": "direct main", 107 + "description": { 108 + "name": "args", 109 + "sha256": "d0481093c50b1da8910eb0bb301626d4d8eb7284aa739614d2b394ee09e3ea04", 110 + "url": "https://pub.dev" 111 + }, 112 + "source": "hosted", 113 + "version": "2.7.0" 114 + }, 115 + "async": { 116 + "dependency": "direct main", 117 + "description": { 118 + "name": "async", 119 + "sha256": "758e6d74e971c3e5aceb4110bfd6698efc7f501675bcfe0c775459a8140750eb", 120 + "url": "https://pub.dev" 121 + }, 122 + "source": "hosted", 123 + "version": "2.13.0" 124 + }, 125 + "boolean_selector": { 126 + "dependency": "direct main", 127 + "description": { 128 + "name": "boolean_selector", 129 + "sha256": "8aab1771e1243a5063b8b0ff68042d67334e3feab9e95b9490f9a6ebf73b42ea", 130 + "url": "https://pub.dev" 131 + }, 132 + "source": "hosted", 133 + "version": "2.1.2" 134 + }, 135 + "browser_launcher": { 136 + "dependency": "direct main", 137 + "description": { 138 + "name": "browser_launcher", 139 + "sha256": "ca2557663d3033845f2ef2b60f94fc249528324fd1affddccb7c63ac0ccd6c67", 140 + "url": "https://pub.dev" 141 + }, 142 + "source": "hosted", 143 + "version": "1.1.3" 144 + }, 145 + "built_collection": { 146 + "dependency": "direct main", 147 + "description": { 148 + "name": "built_collection", 149 + "sha256": "376e3dd27b51ea877c28d525560790aee2e6fbb5f20e2f85d5081027d94e2100", 150 + "url": "https://pub.dev" 151 + }, 152 + "source": "hosted", 153 + "version": "5.1.1" 154 + }, 155 + "built_value": { 156 + "dependency": "direct main", 157 + "description": { 158 + "name": "built_value", 159 + "sha256": "ea90e81dc4a25a043d9bee692d20ed6d1c4a1662a28c03a96417446c093ed6b4", 160 + "url": "https://pub.dev" 161 + }, 162 + "source": "hosted", 163 + "version": "8.9.5" 164 + }, 165 + "checked_yaml": { 166 + "dependency": "direct dev", 167 + "description": { 168 + "name": "checked_yaml", 169 + "sha256": "feb6bed21949061731a7a75fc5d2aa727cf160b91af9a3e464c5e3a32e28b5ff", 170 + "url": "https://pub.dev" 171 + }, 172 + "source": "hosted", 173 + "version": "2.0.3" 174 + }, 175 + "clock": { 176 + "dependency": "direct main", 177 + "description": { 178 + "name": "clock", 179 + "sha256": "fddb70d9b5277016c77a80201021d40a2247104d9f4aa7bab7157b7e3f05b84b", 180 + "url": "https://pub.dev" 181 + }, 182 + "source": "hosted", 183 + "version": "1.1.2" 184 + }, 185 + "code_builder": { 186 + "dependency": "direct main", 187 + "description": { 188 + "name": "code_builder", 189 + "sha256": "0ec10bf4a89e4c613960bf1e8b42c64127021740fb21640c29c909826a5eea3e", 190 + "url": "https://pub.dev" 191 + }, 192 + "source": "hosted", 193 + "version": "4.10.1" 194 + }, 195 + "collection": { 196 + "dependency": "direct dev", 197 + "description": { 198 + "name": "collection", 199 + "sha256": "2f5709ae4d3d59dd8f7cd309b4e023046b57d8a6c82130785d2b0e5868084e76", 200 + "url": "https://pub.dev" 201 + }, 202 + "source": "hosted", 203 + "version": "1.19.1" 204 + }, 205 + "completion": { 206 + "dependency": "direct main", 207 + "description": { 208 + "name": "completion", 209 + "sha256": "f11b7a628e6c42b9edc9b0bc3aa490e2d930397546d2f794e8e1325909d11c60", 210 + "url": "https://pub.dev" 211 + }, 212 + "source": "hosted", 213 + "version": "1.0.1" 214 + }, 215 + "convert": { 216 + "dependency": "direct main", 217 + "description": { 218 + "name": "convert", 219 + "sha256": "b30acd5944035672bc15c6b7a8b47d773e41e2f17de064350988c5d02adb1c68", 220 + "url": "https://pub.dev" 221 + }, 222 + "source": "hosted", 223 + "version": "3.1.2" 224 + }, 225 + "coverage": { 226 + "dependency": "direct main", 227 + "description": { 228 + "name": "coverage", 229 + "sha256": "e3493833ea012784c740e341952298f1cc77f1f01b1bbc3eb4eecf6984fb7f43", 230 + "url": "https://pub.dev" 231 + }, 232 + "source": "hosted", 233 + "version": "1.11.1" 234 + }, 235 + "crypto": { 236 + "dependency": "direct main", 237 + "description": { 238 + "name": "crypto", 239 + "sha256": "1e445881f28f22d6140f181e07737b22f1e099a5e1ff94b0af2f9e4a463f4855", 240 + "url": "https://pub.dev" 241 + }, 242 + "source": "hosted", 243 + "version": "3.0.6" 244 + }, 245 + "csslib": { 246 + "dependency": "direct main", 247 + "description": { 248 + "name": "csslib", 249 + "sha256": "09bad715f418841f976c77db72d5398dc1253c21fb9c0c7f0b0b985860b2d58e", 250 + "url": "https://pub.dev" 251 + }, 252 + "source": "hosted", 253 + "version": "1.0.2" 254 + }, 255 + "dap": { 256 + "dependency": "direct main", 257 + "description": { 258 + "name": "dap", 259 + "sha256": "42b0b083a09c59a118741769e218fc3738980ab591114f09d1026241d2b9c290", 260 + "url": "https://pub.dev" 261 + }, 262 + "source": "hosted", 263 + "version": "1.4.0" 264 + }, 265 + "dds": { 266 + "dependency": "direct main", 267 + "description": { 268 + "name": "dds", 269 + "sha256": "4e206d308bd94595af42e4a561948ef8dba211c9db47f4360c48a5a1f8b44cb5", 270 + "url": "https://pub.dev" 271 + }, 272 + "source": "hosted", 273 + "version": "5.0.0" 274 + }, 275 + "dds_service_extensions": { 276 + "dependency": "direct main", 277 + "description": { 278 + "name": "dds_service_extensions", 279 + "sha256": "5a5f0f9af646505f5bb21159c78ae5c275cd8bdb99e1a8e27f2f395c49568743", 280 + "url": "https://pub.dev" 281 + }, 282 + "source": "hosted", 283 + "version": "2.0.1" 284 + }, 285 + "devtools_shared": { 286 + "dependency": "direct main", 287 + "description": { 288 + "name": "devtools_shared", 289 + "sha256": "fa71f07006dfdf3f226ec76db95a4bad156820c081452cc99d18a4f291001bee", 290 + "url": "https://pub.dev" 291 + }, 292 + "source": "hosted", 293 + "version": "11.2.0" 294 + }, 295 + "dtd": { 296 + "dependency": "direct main", 297 + "description": { 298 + "name": "dtd", 299 + "sha256": "b8269bc263ef516f3fea23bb47bbbe12a808280ec57245319e538b4767ff6d18", 300 + "url": "https://pub.dev" 301 + }, 302 + "source": "hosted", 303 + "version": "2.5.0" 304 + }, 305 + "dwds": { 306 + "dependency": "direct main", 307 + "description": { 308 + "name": "dwds", 309 + "sha256": "063ca26b035fa80b7b66664d9efbc5d2acb45e139a452d59b0fe6df61a96f443", 310 + "url": "https://pub.dev" 311 + }, 312 + "source": "hosted", 313 + "version": "24.3.10" 314 + }, 315 + "extension_discovery": { 316 + "dependency": "direct main", 317 + "description": { 318 + "name": "extension_discovery", 319 + "sha256": "de1fce715ab013cdfb00befc3bdf0914bea5e409c3a567b7f8f144bc061611a7", 320 + "url": "https://pub.dev" 321 + }, 322 + "source": "hosted", 323 + "version": "2.1.0" 324 + }, 325 + "fake_async": { 326 + "dependency": "direct main", 327 + "description": { 328 + "name": "fake_async", 329 + "sha256": "5368f224a74523e8d2e7399ea1638b37aecfca824a3cc4dfdf77bf1fa905ac44", 330 + "url": "https://pub.dev" 331 + }, 332 + "source": "hosted", 333 + "version": "1.3.3" 334 + }, 335 + "ffi": { 336 + "dependency": "direct main", 337 + "description": { 338 + "name": "ffi", 339 + "sha256": "289279317b4b16eb2bb7e271abccd4bf84ec9bdcbe999e278a94b804f5630418", 340 + "url": "https://pub.dev" 341 + }, 342 + "source": "hosted", 343 + "version": "2.1.4" 344 + }, 345 + "file": { 346 + "dependency": "direct main", 347 + "description": { 348 + "name": "file", 349 + "sha256": "a3b4f84adafef897088c160faf7dfffb7696046cb13ae90b508c2cbc95d3b8d4", 350 + "url": "https://pub.dev" 351 + }, 352 + "source": "hosted", 353 + "version": "7.0.1" 354 + }, 355 + "file_testing": { 356 + "dependency": "direct dev", 357 + "description": { 358 + "name": "file_testing", 359 + "sha256": "eb0c85fd118ddc0d41c295c09f64e0924c256b071087cdc9828d5372c80d554d", 360 + "url": "https://pub.dev" 361 + }, 362 + "source": "hosted", 363 + "version": "3.0.2" 364 + }, 365 + "fixnum": { 366 + "dependency": "direct main", 367 + "description": { 368 + "name": "fixnum", 369 + "sha256": "b6dc7065e46c974bc7c5f143080a6764ec7a4be6da1285ececdc37be96de53be", 370 + "url": "https://pub.dev" 371 + }, 372 + "source": "hosted", 373 + "version": "1.1.1" 374 + }, 375 + "flutter_template_images": { 376 + "dependency": "direct main", 377 + "description": { 378 + "name": "flutter_template_images", 379 + "sha256": "0120589a786dbae4e86af1f61748baccd8530abd56a60e7a13479647a75222fe", 380 + "url": "https://pub.dev" 381 + }, 382 + "source": "hosted", 383 + "version": "5.0.0" 384 + }, 385 + "frontend_server_client": { 386 + "dependency": "direct main", 387 + "description": { 388 + "name": "frontend_server_client", 389 + "sha256": "f64a0333a82f30b0cca061bc3d143813a486dc086b574bfb233b7c1372427694", 390 + "url": "https://pub.dev" 391 + }, 392 + "source": "hosted", 393 + "version": "4.0.0" 394 + }, 395 + "glob": { 396 + "dependency": "direct main", 397 + "description": { 398 + "name": "glob", 399 + "sha256": "c3f1ee72c96f8f78935e18aa8cecced9ab132419e8625dc187e1c2408efc20de", 400 + "url": "https://pub.dev" 401 + }, 402 + "source": "hosted", 403 + "version": "2.1.3" 404 + }, 405 + "graphs": { 406 + "dependency": "direct main", 407 + "description": { 408 + "name": "graphs", 409 + "sha256": "741bbf84165310a68ff28fe9e727332eef1407342fca52759cb21ad8177bb8d0", 410 + "url": "https://pub.dev" 411 + }, 412 + "source": "hosted", 413 + "version": "2.3.2" 414 + }, 415 + "html": { 416 + "dependency": "direct main", 417 + "description": { 418 + "name": "html", 419 + "sha256": "9475be233c437f0e3637af55e7702cbbe5c23a68bd56e8a5fa2d426297b7c6c8", 420 + "url": "https://pub.dev" 421 + }, 422 + "source": "hosted", 423 + "version": "0.15.5+1" 424 + }, 425 + "http": { 426 + "dependency": "direct main", 427 + "description": { 428 + "name": "http", 429 + "sha256": "fe7ab022b76f3034adc518fb6ea04a82387620e19977665ea18d30a1cf43442f", 430 + "url": "https://pub.dev" 431 + }, 432 + "source": "hosted", 433 + "version": "1.3.0" 434 + }, 435 + "http_multi_server": { 436 + "dependency": "direct main", 437 + "description": { 438 + "name": "http_multi_server", 439 + "sha256": "aa6199f908078bb1c5efb8d8638d4ae191aac11b311132c3ef48ce352fb52ef8", 440 + "url": "https://pub.dev" 441 + }, 442 + "source": "hosted", 443 + "version": "3.2.2" 444 + }, 445 + "http_parser": { 446 + "dependency": "direct main", 447 + "description": { 448 + "name": "http_parser", 449 + "sha256": "178d74305e7866013777bab2c3d8726205dc5a4dd935297175b19a23a2e66571", 450 + "url": "https://pub.dev" 451 + }, 452 + "source": "hosted", 453 + "version": "4.1.2" 454 + }, 455 + "intl": { 456 + "dependency": "direct main", 457 + "description": { 458 + "name": "intl", 459 + "sha256": "3df61194eb431efc39c4ceba583b95633a403f46c9fd341e550ce0bfa50e9aa5", 460 + "url": "https://pub.dev" 461 + }, 462 + "source": "hosted", 463 + "version": "0.20.2" 464 + }, 465 + "io": { 466 + "dependency": "direct main", 467 + "description": { 468 + "name": "io", 469 + "sha256": "dfd5a80599cf0165756e3181807ed3e77daf6dd4137caaad72d0b7931597650b", 470 + "url": "https://pub.dev" 471 + }, 472 + "source": "hosted", 473 + "version": "1.0.5" 474 + }, 475 + "js": { 476 + "dependency": "direct dev", 477 + "description": { 478 + "name": "js", 479 + "sha256": "53385261521cc4a0c4658fd0ad07a7d14591cf8fc33abbceae306ddb974888dc", 480 + "url": "https://pub.dev" 481 + }, 482 + "source": "hosted", 483 + "version": "0.7.2" 484 + }, 485 + "json_annotation": { 486 + "dependency": "direct dev", 487 + "description": { 488 + "name": "json_annotation", 489 + "sha256": "1ce844379ca14835a50d2f019a3099f419082cfdd231cd86a142af94dd5c6bb1", 490 + "url": "https://pub.dev" 491 + }, 492 + "source": "hosted", 493 + "version": "4.9.0" 494 + }, 495 + "json_rpc_2": { 496 + "dependency": "direct main", 497 + "description": { 498 + "name": "json_rpc_2", 499 + "sha256": "246b321532f0e8e2ba474b4d757eaa558ae4fdd0688fdbc1e1ca9705f9b8ca0e", 500 + "url": "https://pub.dev" 501 + }, 502 + "source": "hosted", 503 + "version": "3.0.3" 504 + }, 505 + "logging": { 506 + "dependency": "direct main", 507 + "description": { 508 + "name": "logging", 509 + "sha256": "c8245ada5f1717ed44271ed1c26b8ce85ca3228fd2ffdb75468ab01979309d61", 510 + "url": "https://pub.dev" 511 + }, 512 + "source": "hosted", 513 + "version": "1.3.0" 514 + }, 515 + "matcher": { 516 + "dependency": "direct main", 517 + "description": { 518 + "name": "matcher", 519 + "sha256": "dc58c723c3c24bf8d3e2d3ad3f2f9d7bd9cf43ec6feaa64181775e60190153f2", 520 + "url": "https://pub.dev" 521 + }, 522 + "source": "hosted", 523 + "version": "0.12.17" 524 + }, 525 + "meta": { 526 + "dependency": "direct main", 527 + "description": { 528 + "name": "meta", 529 + "sha256": "e3641ec5d63ebf0d9b41bd43201a66e3fc79a65db5f61fc181f04cd27aab950c", 530 + "url": "https://pub.dev" 531 + }, 532 + "source": "hosted", 533 + "version": "1.16.0" 534 + }, 535 + "mime": { 536 + "dependency": "direct main", 537 + "description": { 538 + "name": "mime", 539 + "sha256": "41a20518f0cb1256669420fdba0cd90d21561e560ac240f26ef8322e45bb7ed6", 540 + "url": "https://pub.dev" 541 + }, 542 + "source": "hosted", 543 + "version": "2.0.0" 544 + }, 545 + "multicast_dns": { 546 + "dependency": "direct main", 547 + "description": { 548 + "name": "multicast_dns", 549 + "sha256": "de72ada5c3db6fdd6ad4ae99452fe05fb403c4bb37c67ceb255ddd37d2b5b1eb", 550 + "url": "https://pub.dev" 551 + }, 552 + "source": "hosted", 553 + "version": "0.3.3" 554 + }, 555 + "mustache_template": { 556 + "dependency": "direct main", 557 + "description": { 558 + "name": "mustache_template", 559 + "sha256": "a46e26f91445bfb0b60519be280555b06792460b27b19e2b19ad5b9740df5d1c", 560 + "url": "https://pub.dev" 561 + }, 562 + "source": "hosted", 563 + "version": "2.0.0" 564 + }, 565 + "native_assets_builder": { 566 + "dependency": "direct main", 567 + "description": { 568 + "name": "native_assets_builder", 569 + "sha256": "b860044f53bafc2cf8ac374956e72007a253f84d6ca8cb912c32bce43164b254", 570 + "url": "https://pub.dev" 571 + }, 572 + "source": "hosted", 573 + "version": "0.13.0" 574 + }, 575 + "native_assets_cli": { 576 + "dependency": "direct main", 577 + "description": { 578 + "name": "native_assets_cli", 579 + "sha256": "0907c5b85a21ae08dcdd0d2b75061cc614939911c2cab5ac903f35a9fbb2a50b", 580 + "url": "https://pub.dev" 581 + }, 582 + "source": "hosted", 583 + "version": "0.13.0" 584 + }, 585 + "native_stack_traces": { 586 + "dependency": "direct main", 587 + "description": { 588 + "name": "native_stack_traces", 589 + "sha256": "8ba566c10ea781491c203876b04b9bdcf19dfbe17b9e486869f20eaae0ee470f", 590 + "url": "https://pub.dev" 591 + }, 592 + "source": "hosted", 593 + "version": "0.6.0" 594 + }, 595 + "node_preamble": { 596 + "dependency": "direct dev", 597 + "description": { 598 + "name": "node_preamble", 599 + "sha256": "6e7eac89047ab8a8d26cf16127b5ed26de65209847630400f9aefd7cd5c730db", 600 + "url": "https://pub.dev" 601 + }, 602 + "source": "hosted", 603 + "version": "2.0.2" 604 + }, 605 + "package_config": { 606 + "dependency": "direct main", 607 + "description": { 608 + "name": "package_config", 609 + "sha256": "f096c55ebb7deb7e384101542bfba8c52696c1b56fca2eb62827989ef2353bbc", 610 + "url": "https://pub.dev" 611 + }, 612 + "source": "hosted", 613 + "version": "2.2.0" 614 + }, 615 + "path": { 616 + "dependency": "direct main", 617 + "description": { 618 + "name": "path", 619 + "sha256": "75cca69d1490965be98c73ceaea117e8a04dd21217b37b292c9ddbec0d955bc5", 620 + "url": "https://pub.dev" 621 + }, 622 + "source": "hosted", 623 + "version": "1.9.1" 624 + }, 625 + "petitparser": { 626 + "dependency": "direct main", 627 + "description": { 628 + "name": "petitparser", 629 + "sha256": "07c8f0b1913bcde1ff0d26e57ace2f3012ccbf2b204e070290dad3bb22797646", 630 + "url": "https://pub.dev" 631 + }, 632 + "source": "hosted", 633 + "version": "6.1.0" 634 + }, 635 + "platform": { 636 + "dependency": "direct main", 637 + "description": { 638 + "name": "platform", 639 + "sha256": "5d6b1b0036a5f331ebc77c850ebc8506cbc1e9416c27e59b439f917a902a4984", 640 + "url": "https://pub.dev" 641 + }, 642 + "source": "hosted", 643 + "version": "3.1.6" 644 + }, 645 + "pool": { 646 + "dependency": "direct main", 647 + "description": { 648 + "name": "pool", 649 + "sha256": "20fe868b6314b322ea036ba325e6fc0711a22948856475e2c2b6306e8ab39c2a", 650 + "url": "https://pub.dev" 651 + }, 652 + "source": "hosted", 653 + "version": "1.5.1" 654 + }, 655 + "process": { 656 + "dependency": "direct main", 657 + "description": { 658 + "name": "process", 659 + "sha256": "107d8be718f120bbba9dcd1e95e3bd325b1b4a4f07db64154635ba03f2567a0d", 660 + "url": "https://pub.dev" 661 + }, 662 + "source": "hosted", 663 + "version": "5.0.3" 664 + }, 665 + "pub_semver": { 666 + "dependency": "direct main", 667 + "description": { 668 + "name": "pub_semver", 669 + "sha256": "5bfcf68ca79ef689f8990d1160781b4bad40a3bd5e5218ad4076ddb7f4081585", 670 + "url": "https://pub.dev" 671 + }, 672 + "source": "hosted", 673 + "version": "2.2.0" 674 + }, 675 + "pubspec_parse": { 676 + "dependency": "direct dev", 677 + "description": { 678 + "name": "pubspec_parse", 679 + "sha256": "0560ba233314abbed0a48a2956f7f022cce7c3e1e73df540277da7544cad4082", 680 + "url": "https://pub.dev" 681 + }, 682 + "source": "hosted", 683 + "version": "1.5.0" 684 + }, 685 + "shelf": { 686 + "dependency": "direct main", 687 + "description": { 688 + "name": "shelf", 689 + "sha256": "e7dd780a7ffb623c57850b33f43309312fc863fb6aa3d276a754bb299839ef12", 690 + "url": "https://pub.dev" 691 + }, 692 + "source": "hosted", 693 + "version": "1.4.2" 694 + }, 695 + "shelf_packages_handler": { 696 + "dependency": "direct main", 697 + "description": { 698 + "name": "shelf_packages_handler", 699 + "sha256": "89f967eca29607c933ba9571d838be31d67f53f6e4ee15147d5dc2934fee1b1e", 700 + "url": "https://pub.dev" 701 + }, 702 + "source": "hosted", 703 + "version": "3.0.2" 704 + }, 705 + "shelf_proxy": { 706 + "dependency": "direct main", 707 + "description": { 708 + "name": "shelf_proxy", 709 + "sha256": "a71d2307f4393211930c590c3d2c00630f6c5a7a77edc1ef6436dfd85a6a7ee3", 710 + "url": "https://pub.dev" 711 + }, 712 + "source": "hosted", 713 + "version": "1.0.4" 714 + }, 715 + "shelf_static": { 716 + "dependency": "direct main", 717 + "description": { 718 + "name": "shelf_static", 719 + "sha256": "c87c3875f91262785dade62d135760c2c69cb217ac759485334c5857ad89f6e3", 720 + "url": "https://pub.dev" 721 + }, 722 + "source": "hosted", 723 + "version": "1.1.3" 724 + }, 725 + "shelf_web_socket": { 726 + "dependency": "direct main", 727 + "description": { 728 + "name": "shelf_web_socket", 729 + "sha256": "cc36c297b52866d203dbf9332263c94becc2fe0ceaa9681d07b6ef9807023b67", 730 + "url": "https://pub.dev" 731 + }, 732 + "source": "hosted", 733 + "version": "2.0.1" 734 + }, 735 + "source_map_stack_trace": { 736 + "dependency": "direct main", 737 + "description": { 738 + "name": "source_map_stack_trace", 739 + "sha256": "c0713a43e323c3302c2abe2a1cc89aa057a387101ebd280371d6a6c9fa68516b", 740 + "url": "https://pub.dev" 741 + }, 742 + "source": "hosted", 743 + "version": "2.1.2" 744 + }, 745 + "source_maps": { 746 + "dependency": "direct main", 747 + "description": { 748 + "name": "source_maps", 749 + "sha256": "190222579a448b03896e0ca6eca5998fa810fda630c1d65e2f78b3f638f54812", 750 + "url": "https://pub.dev" 751 + }, 752 + "source": "hosted", 753 + "version": "0.10.13" 754 + }, 755 + "source_span": { 756 + "dependency": "direct main", 757 + "description": { 758 + "name": "source_span", 759 + "sha256": "254ee5351d6cb365c859e20ee823c3bb479bf4a293c22d17a9f1bf144ce86f7c", 760 + "url": "https://pub.dev" 761 + }, 762 + "source": "hosted", 763 + "version": "1.10.1" 764 + }, 765 + "sprintf": { 766 + "dependency": "direct main", 767 + "description": { 768 + "name": "sprintf", 769 + "sha256": "1fc9ffe69d4df602376b52949af107d8f5703b77cda567c4d7d86a0693120f23", 770 + "url": "https://pub.dev" 771 + }, 772 + "source": "hosted", 773 + "version": "7.0.0" 774 + }, 775 + "sse": { 776 + "dependency": "direct main", 777 + "description": { 778 + "name": "sse", 779 + "sha256": "4389a01d5bc7ef3e90fbc645f8e7c6d8711268adb1f511e14ae9c71de47ee32b", 780 + "url": "https://pub.dev" 781 + }, 782 + "source": "hosted", 783 + "version": "4.1.7" 784 + }, 785 + "stack_trace": { 786 + "dependency": "direct main", 787 + "description": { 788 + "name": "stack_trace", 789 + "sha256": "8b27215b45d22309b5cddda1aa2b19bdfec9df0e765f2de506401c071d38d1b1", 790 + "url": "https://pub.dev" 791 + }, 792 + "source": "hosted", 793 + "version": "1.12.1" 794 + }, 795 + "standard_message_codec": { 796 + "dependency": "direct main", 797 + "description": { 798 + "name": "standard_message_codec", 799 + "sha256": "fc7dd712d191b7e33196a0ecf354c4573492bb95995e7166cb6f73b047f9cae0", 800 + "url": "https://pub.dev" 801 + }, 802 + "source": "hosted", 803 + "version": "0.0.1+4" 804 + }, 805 + "stream_channel": { 806 + "dependency": "direct main", 807 + "description": { 808 + "name": "stream_channel", 809 + "sha256": "969e04c80b8bcdf826f8f16579c7b14d780458bd97f56d107d3950fdbeef059d", 810 + "url": "https://pub.dev" 811 + }, 812 + "source": "hosted", 813 + "version": "2.1.4" 814 + }, 815 + "string_scanner": { 816 + "dependency": "direct main", 817 + "description": { 818 + "name": "string_scanner", 819 + "sha256": "921cd31725b72fe181906c6a94d987c78e3b98c2e205b397ea399d4054872b43", 820 + "url": "https://pub.dev" 821 + }, 822 + "source": "hosted", 823 + "version": "1.4.1" 824 + }, 825 + "sync_http": { 826 + "dependency": "direct main", 827 + "description": { 828 + "name": "sync_http", 829 + "sha256": "7f0cd72eca000d2e026bcd6f990b81d0ca06022ef4e32fb257b30d3d1014a961", 830 + "url": "https://pub.dev" 831 + }, 832 + "source": "hosted", 833 + "version": "0.3.1" 834 + }, 835 + "term_glyph": { 836 + "dependency": "direct main", 837 + "description": { 838 + "name": "term_glyph", 839 + "sha256": "7f554798625ea768a7518313e58f83891c7f5024f88e46e7182a4558850a4b8e", 840 + "url": "https://pub.dev" 841 + }, 842 + "source": "hosted", 843 + "version": "1.2.2" 844 + }, 845 + "test": { 846 + "dependency": "direct dev", 847 + "description": { 848 + "name": "test", 849 + "sha256": "301b213cd241ca982e9ba50266bd3f5bd1ea33f1455554c5abb85d1be0e2d87e", 850 + "url": "https://pub.dev" 851 + }, 852 + "source": "hosted", 853 + "version": "1.25.15" 854 + }, 855 + "test_api": { 856 + "dependency": "direct main", 857 + "description": { 858 + "name": "test_api", 859 + "sha256": "fb31f383e2ee25fbbfe06b40fe21e1e458d14080e3c67e7ba0acfde4df4e0bbd", 860 + "url": "https://pub.dev" 861 + }, 862 + "source": "hosted", 863 + "version": "0.7.4" 864 + }, 865 + "test_core": { 866 + "dependency": "direct main", 867 + "description": { 868 + "name": "test_core", 869 + "sha256": "84d17c3486c8dfdbe5e12a50c8ae176d15e2a771b96909a9442b40173649ccaa", 870 + "url": "https://pub.dev" 871 + }, 872 + "source": "hosted", 873 + "version": "0.6.8" 874 + }, 875 + "typed_data": { 876 + "dependency": "direct main", 877 + "description": { 878 + "name": "typed_data", 879 + "sha256": "f9049c039ebfeb4cf7a7104a675823cd72dba8297f264b6637062516699fa006", 880 + "url": "https://pub.dev" 881 + }, 882 + "source": "hosted", 883 + "version": "1.4.0" 884 + }, 885 + "unified_analytics": { 886 + "dependency": "direct main", 887 + "description": { 888 + "name": "unified_analytics", 889 + "sha256": "d581cd7007f5a60594195ee5d35337edea7d53757e4cff5a2f5168b82ec31d05", 890 + "url": "https://pub.dev" 891 + }, 892 + "source": "hosted", 893 + "version": "7.0.2" 894 + }, 895 + "usage": { 896 + "dependency": "direct main", 897 + "description": { 898 + "name": "usage", 899 + "sha256": "0bdbde65a6e710343d02a56552eeaefd20b735e04bfb6b3ee025b6b22e8d0e15", 900 + "url": "https://pub.dev" 901 + }, 902 + "source": "hosted", 903 + "version": "4.1.1" 904 + }, 905 + "uuid": { 906 + "dependency": "direct main", 907 + "description": { 908 + "name": "uuid", 909 + "sha256": "a5be9ef6618a7ac1e964353ef476418026db906c4facdedaa299b7a2e71690ff", 910 + "url": "https://pub.dev" 911 + }, 912 + "source": "hosted", 913 + "version": "4.5.1" 914 + }, 915 + "vm_service": { 916 + "dependency": "direct main", 917 + "description": { 918 + "name": "vm_service", 919 + "sha256": "ddfa8d30d89985b96407efce8acbdd124701f96741f2d981ca860662f1c0dc02", 920 + "url": "https://pub.dev" 921 + }, 922 + "source": "hosted", 923 + "version": "15.0.0" 924 + }, 925 + "vm_service_interface": { 926 + "dependency": "direct main", 927 + "description": { 928 + "name": "vm_service_interface", 929 + "sha256": "503c92c26cf9f77d688bf8fca27fa9ec40450adbf02ec1ec5f12828ded508ac0", 930 + "url": "https://pub.dev" 931 + }, 932 + "source": "hosted", 933 + "version": "2.0.1" 934 + }, 935 + "vm_snapshot_analysis": { 936 + "dependency": "direct main", 937 + "description": { 938 + "name": "vm_snapshot_analysis", 939 + "sha256": "5a79b9fbb6be2555090f55b03b23907e75d44c3fd7bdd88da09848aa5a1914c8", 940 + "url": "https://pub.dev" 941 + }, 942 + "source": "hosted", 943 + "version": "0.7.6" 944 + }, 945 + "watcher": { 946 + "dependency": "direct main", 947 + "description": { 948 + "name": "watcher", 949 + "sha256": "69da27e49efa56a15f8afe8f4438c4ec02eff0a117df1b22ea4aad194fe1c104", 950 + "url": "https://pub.dev" 951 + }, 952 + "source": "hosted", 953 + "version": "1.1.1" 954 + }, 955 + "web": { 956 + "dependency": "direct main", 957 + "description": { 958 + "name": "web", 959 + "sha256": "868d88a33d8a87b18ffc05f9f030ba328ffefba92d6c127917a2ba740f9cfe4a", 960 + "url": "https://pub.dev" 961 + }, 962 + "source": "hosted", 963 + "version": "1.1.1" 964 + }, 965 + "web_socket": { 966 + "dependency": "direct main", 967 + "description": { 968 + "name": "web_socket", 969 + "sha256": "3c12d96c0c9a4eec095246debcea7b86c0324f22df69893d538fcc6f1b8cce83", 970 + "url": "https://pub.dev" 971 + }, 972 + "source": "hosted", 973 + "version": "0.1.6" 974 + }, 975 + "web_socket_channel": { 976 + "dependency": "direct main", 977 + "description": { 978 + "name": "web_socket_channel", 979 + "sha256": "0b8e2457400d8a859b7b2030786835a28a8e80836ef64402abef392ff4f1d0e5", 980 + "url": "https://pub.dev" 981 + }, 982 + "source": "hosted", 983 + "version": "3.0.2" 984 + }, 985 + "webdriver": { 986 + "dependency": "direct main", 987 + "description": { 988 + "name": "webdriver", 989 + "sha256": "2f3a14ca026957870cfd9c635b83507e0e51d8091568e90129fbf805aba7cade", 990 + "url": "https://pub.dev" 991 + }, 992 + "source": "hosted", 993 + "version": "3.1.0" 994 + }, 995 + "webkit_inspection_protocol": { 996 + "dependency": "direct main", 997 + "description": { 998 + "name": "webkit_inspection_protocol", 999 + "sha256": "87d3f2333bb240704cd3f1c6b5b7acd8a10e7f0bc28c28dcf14e782014f4a572", 1000 + "url": "https://pub.dev" 1001 + }, 1002 + "source": "hosted", 1003 + "version": "1.2.1" 1004 + }, 1005 + "xml": { 1006 + "dependency": "direct main", 1007 + "description": { 1008 + "name": "xml", 1009 + "sha256": "b015a8ad1c488f66851d762d3090a21c600e479dc75e68328c52774040cf9226", 1010 + "url": "https://pub.dev" 1011 + }, 1012 + "source": "hosted", 1013 + "version": "6.5.0" 1014 + }, 1015 + "yaml": { 1016 + "dependency": "direct main", 1017 + "description": { 1018 + "name": "yaml", 1019 + "sha256": "b9da305ac7c39faa3f030eccd175340f968459dae4af175130b3fc47e40d76ce", 1020 + "url": "https://pub.dev" 1021 + }, 1022 + "source": "hosted", 1023 + "version": "3.1.3" 1024 + }, 1025 + "yaml_edit": { 1026 + "dependency": "direct main", 1027 + "description": { 1028 + "name": "yaml_edit", 1029 + "sha256": "fb38626579fb345ad00e674e2af3a5c9b0cc4b9bfb8fd7f7ff322c7c9e62aef5", 1030 + "url": "https://pub.dev" 1031 + }, 1032 + "source": "hosted", 1033 + "version": "2.2.2" 1034 + } 1035 + }, 1036 + "sdks": { 1037 + "dart": ">=3.7.0 <4.0.0" 1038 + } 1039 + } 1040 + }
+21
pkgs/development/compilers/flutter/versions/3_32/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 df67547..eacc7c4 100644 3 + --- a/packages/flutter_tools/lib/src/flutter_cache.dart 4 + +++ b/packages/flutter_tools/lib/src/flutter_cache.dart 5 + @@ -51,16 +51,6 @@ class FlutterCache extends Cache { 6 + registerArtifact(IosUsbArtifacts(artifactName, this, platform: platform)); 7 + } 8 + registerArtifact(FontSubsetArtifacts(this, platform: platform)); 9 + - registerArtifact( 10 + - PubDependencies( 11 + - logger: logger, 12 + - // flutter root and pub must be lazily initialized to avoid accessing 13 + - // before the version is determined. 14 + - flutterRoot: () => Cache.flutterRoot!, 15 + - pub: () => pub, 16 + - projectFactory: projectFactory, 17 + - ), 18 + - ); 19 + } 20 + } 21 +
+30
pkgs/development/compilers/flutter/versions/3_32/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 a1104da..1749d65 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 + @@ -444,12 +444,8 @@ class FlutterCommandRunner extends CommandRunner<void> { 19 + globals.analytics.suppressTelemetry(); 20 + } 21 + 22 + - globals.flutterVersion.ensureVersionFile(); 23 + final bool machineFlag = 24 + topLevelResults[FlutterGlobalOptions.kMachineFlag] as bool? ?? false; 25 + - if (await _shouldCheckForUpdates(topLevelResults, topLevelMachineFlag: machineFlag)) { 26 + - await globals.flutterVersion.checkFlutterVersionFreshness(); 27 + - } 28 + 29 + // See if the user specified a specific device. 30 + final String? specifiedDeviceId =
+69
pkgs/development/compilers/flutter/versions/3_32/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_32/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
··· 5126 5126 ); 5127 5127 flutterPackages = flutterPackages-bin; 5128 5128 flutter = flutterPackages.stable; 5129 + flutter332 = flutterPackages.v3_32; 5129 5130 flutter329 = flutterPackages.v3_29; 5130 5131 flutter327 = flutterPackages.v3_27; 5131 5132 flutter326 = flutterPackages.v3_26;