Commit Graph

16 Commits

Author SHA1 Message Date
qzylinra
6188b7af00 flutterPackages-source: drop 2026-08-14 07:30:13 +00:00
Emily
fdb820602b treewide: drop simple x86_64-darwin mentions
To reproduce:

    $ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
        -- scan --update-all --inline-rules '
          id: nix-x86_64-darwin
          language: nix
          rule:
            any:
              - pattern: "\"x86_64-darwin\""
                kind: list_expression > string_expression
              - pattern:
                  context: "{ \"x86_64-darwin\" = $EXPR; }"
                  selector: binding
              - pattern:
                  context: "{ x86_64-darwin = $EXPR; }"
                  selector: binding
          fix:
            template: ""
        ' pkgs
    $ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
        -- scan --update-all --inline-rules '
          id: json-first-x86_64-darwin
          language: json
          rule:
            kind: object > pair:nth-child(1)
            has:
              pattern: "\"x86_64-darwin\""
              field: key
          fix:
            template: ""
            expandEnd: { regex: "," }
        ' pkgs
    $ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
        -- scan --update-all --inline-rules '
          id: json-x86_64-darwin
          language: json
          rule:
            kind: object > pair
            has:
              pattern: "\"x86_64-darwin\""
              field: key
          fix:
            template: ""
            expandStart: { regex: "," }
        ' pkgs
    $ git restore pkgs/by-name/om/omnix/package.nix
    $ git diff --name-only -z \
        | nix shell nixpkgs/3b32825de172d0bc85664f495edb096b10862524#gnused \
            -c xargs -0 sed -i '/^$/N; /^\n\? \+$/d'
    $ treefmt
2026-07-15 03:58:16 +01:00
hacker1024
4a7fb2c8ea Revert "flutterPackages: refactor"
This reverts commit fe90d5a666.
2026-04-12 20:41:26 +10:00
kyehn
fe90d5a666 flutterPackages: refactor 2026-04-03 08:09:50 +00:00
qzylinra
b9ae5776db flutter335: 3.35.5 -> 3.35.7 2025-10-24 04:30:44 +00:00
kyehn
2978a603a6 flutter335: 3.35.4 -> 3.35.5 2025-09-30 03:03:26 +00:00
qzylinra
9a6d3d4db4 flutter: 3.35.3 -> 3.35.4 2025-09-19 06:31:37 +00:00
Sandro
895fd1610f flutter335: fix android build (#435027) 2025-09-16 16:13:39 +00:00
Sandro
b780ce5f51 flutter335: fix macos build (#434503) 2025-09-16 12:02:12 +00:00
kyehn
873854efc0 flutter335: 3.35.2 -> 3.35.3 2025-09-05 01:47:00 +00:00
kyehn
27b23c793a flutter335: 3.35.1 -> 3.35.2 2025-08-26 23:40:50 +00:00
qzylinra
b30acab643 flutter: remove package_graph related patches 2025-08-26 11:57:30 +08:00
birros
ba029e0978 flutter335: fix android build
The Flutter tools Gradle patch is still required with flutter335. The following patch is a rebased copy of the one for flutter332.
2025-08-19 16:50:18 +02:00
birros
7674d7296e flutter335: fix macos build
Fix for macOS build issue in Flutter >= 3.35

Since version 3.35, the behavior of macos_assemble.sh and xcode_backend.sh
is almost identical. This caused the same error for macOS that previously
occurred for iOS.

Derived from the iOS patch: ./fix-ios-build-xcode-backend-sh.patch

Example error:
```
$ flutter run -d macos
Launching lib/main.dart on macOS in debug mode...
Target debug_unpack_macos failed: Error: Flutter failed to create a directory at "/<nix-store>/XXXX-flutter-3.35.1-unwrapped/bin/cache/artifacts".
Please ensure that the SDK and/or project is installed in a location that has read/write permissions for the current user.
Failed to copy Flutter framework.
** BUILD FAILED **
```
2025-08-17 17:59:44 +02:00
qzylinra
b87e875449 flutter335: 3.35.0-0.3.pre -> 3.35.1 2025-08-15 06:41:12 +08:00
qzylinra
1647956667 flutter335: init at 3.35.0-0.3.pre 2025-08-12 09:46:03 +08:00