Commit Graph

101 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
Tristan Ross
8c3e65938a flutter: enable strict deps and structured attrs (#531536) 2026-06-29 03:38:16 +00:00
ccicnce113424
4fd0f759fb flutter344: init at 3.44.2 2026-06-14 23:23:14 +08:00
Tristan Ross
32c2e0c69e flutter: enable strict deps and structured attrs 2026-06-13 19:17:10 -07:00
username-generic
9c3db7cffb flutter: add shell completions 2026-05-08 11:28:49 +02: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
Aleksana
a49bbbe71e flutter: set sourceProvenance (#440682) 2025-11-28 13:54:09 +00:00
qzylinra
5b6735adf9 flutter: remove unused code 2025-11-05 05:58:57 +00:00
qzylinra
e61e676f4b flutter338: init at 3.38.0-0.2.pre 2025-11-03 07:14:56 +00:00
linsui
aea5e85af8 flutter: set sourceProvenance 2025-09-06 22:44:56 +08:00
qzylinra
4cf826e2e1 flutterPackages-source: mark broken for old version 2025-08-21 06:41:44 +08:00
qzylinra
086140219e flutter: remove with lib 2025-08-13 16:21:52 +08:00
qzylinra
1647956667 flutter335: init at 3.35.0-0.3.pre 2025-08-12 09:46:03 +08:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
poz
909bb8de09 flutter: add meta.mainProgram 2025-07-19 14:20:53 +02:00
Fernando Rodrigues
05580f4b44 treewide: switch instances of lib.teams.*.members to the new meta.teams attribute
Follow-up to #394797.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2025-04-25 22:20:17 -03:00
emaryn
d50372811d flutter: readd package_config.json 2025-03-31 19:44:33 +08:00
emaryn
ce0be78ee3 flutter329: init at 3.29.2 2025-03-28 13:28:58 +00:00
Pol Dellaiera
4930316677 flutter: replace git with gitMinimal 2025-01-09 21:02:44 +01:00
K900
c9a9b70b2a flutter: patchShebangs more things 2024-12-23 11:40:59 +03:00
Silvan Mosberger
84d4f874c2 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev 78e9caf153
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:23:58 +01:00
github-actions[bot]
d33b8cc4e0 Merge staging-next into staging 2024-12-04 06:05:41 +00:00
FliegendeWurst
5f107ee86d flutter: fix build with strictDeps = true 2024-11-23 10:47:54 +01:00
Joshua Leivenzon
3688e311b4 flutter: Pass flutter_tools package_config.json to Dart runtime 2024-11-07 19:50:37 +11:00
Tristan Ross
883f716047 flutterPackages-source: disable old version sources, fix update hashes 2024-08-15 19:41:02 -07:00
Tristan Ross
a037d6378f flutter.engine: bring source size down to hydra limits 2024-06-19 01:05:33 -07:00
Tristan Ross
df1bef18e0 flutter: use engine dart when available 2024-06-17 23:02:37 -07:00
Tristan Ross
a54e49b360 flutter.engine: init 2024-06-14 21:01:16 -07:00
Tristan Ross
cdd31bb726 flutterPackages: support beta releases 2024-06-13 14:47:30 -07:00
Bastien Riviere
40c9def80e remove 'babariviere' as a maintainer 2024-06-02 18:49:26 +02:00
Tristan Ross
5a9c5be31d flutter: 3.19.4 -> 3.22.0 2024-05-15 07:56:03 -07:00
FlafyDev
fdab275c08 flutter: move flutter-tools' Gradle build files out of Nix Store 2024-03-24 18:35:02 +02:00
Janne Heß
db38aeee72 flutter316: Add aarch64-darwin hashes and fix meta.platforms 2024-02-11 18:28:40 +01:00
FlafyDev
5e99fd3304 flutter: Move to a structure more fitting for multiple versions 2024-01-15 01:35:45 +02:00
FlafyDev
da6757fd9d flutter: Make fetch-artifects.nix independent from the host's platform
This is useful for an update script
2024-01-11 01:37:59 +02:00
FlafyDev
dc1bb8caba flutter: Add version json file
Needed for flutter doctor and flutter --version

Co-authored-by: Sergii Maksymov <ua.maximoff@gmail.com>
2024-01-11 01:37:48 +02:00
hacker1024
23952fb641 buildDartApplication: Remove depsListFile
We get a dependency list with pub2nix now. We can no longer easily distinguish between development dependency dependencies and regular dependency dependencies, but we weren't doing this anyway.
2023-12-26 18:48:12 +02:00
hacker1024
3081228cc4 dart: Use Nix instead of Pub 2023-12-26 17:05:20 +02:00
hacker1024
03ae92a17d flutter: Remove aarch64-darwin platform
There are no aarch64-darwin host artifacts.
Development should be done with Rosetta 2.

- https://github.com/flutter/flutter/issues/60118
- https://github.com/flutter/flutter/issues/69157
- https://github.com/flutter/flutter/issues/101138
2023-12-21 11:46:17 +01:00
hacker1024
133d03eb42 flutter: Set FLUTTER_ALREADY_LOCKED to prevent writes to the immutable lockfile 2023-12-21 11:46:17 +01:00
hacker1024
27f61f5e1b flutter: Remove existing .git directories 2023-12-21 11:46:16 +01:00
hacker1024
ef3625ff56 flutter: Link in the fluter_tools package_config.json 2023-12-21 11:46:13 +01:00
hacker1024
b63ffdda86 flutter: Allow adding additional Dart VM options when launching CLI 2023-12-21 11:44:12 +01:00
hacker1024
2dc524e2a7 flutter: Remove any existing Dart SDK 2023-12-21 11:44:10 +01:00
hacker1024
ec0c30d6d7 flutter: Specify commit date for fake SDK repository 2023-12-21 11:44:10 +01:00
hacker1024
075bbf494b flutter: Use custom launchers 2023-12-21 11:44:09 +01:00
hacker1024
175112a996 flutter: Remove hard dependency on Git 2023-12-21 11:44:08 +01:00
hacker1024
00a11274d4 flutter: Include patches in flutter_tools snapshot 2023-12-21 11:44:08 +01:00