Commit Graph

372 Commits

Author SHA1 Message Date
emaryn
3781a682a9 flutter332: init at 3.32.0-0.3.pre 2025-05-05 15:27:40 +00: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
015abda46d flutter329: 3.29.2 -> 3.29.3 2025-04-15 18:43:59 +00:00
Martin Weinelt
2d71c5f5dd flutter: unpin python3.9
No version we have in nixpkgs is older than 3.20.
2025-04-13 01:26:40 +02:00
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
emaryn
1033d92c02 flutter324: 3.24.4 -> 3.24.5 2025-04-07 23:57:17 +00:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02: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
Peder Bergebakken Sundt
7972442a9e treewide: finalAttrs.doCheck -> finalAttrs.finalPackage.doCheck 2025-03-03 05:40:39 +01:00
emaryn
60448d2a20 flutter327: fix engineHashes 2025-02-24 00:59:15 +00:00
Tristan Ross
922ee4f344 Update flutter327: 3.27.1 -> 3.27.4 (#380086) 2025-02-12 13:29:16 -08:00
Tristan Ross
768bb2c9b6 flutter319: drop 2025-02-10 18:24:19 -08:00
Oscar Molnar
18ceb04731 Update flutter327: 3.27.1 -> 3.27.4 2025-02-07 13:02:47 +00:00
Pol Dellaiera
4930316677 flutter: replace git with gitMinimal 2025-01-09 21:02:44 +01:00
Tristan Ross
a5877ab314 flutter327: 3.27.0-0.1.pre -> 3.27.1 2024-12-31 22:00:27 -08: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
Tristan Ross
c51787c99c flutter: Pass flutter_tools package_config.json to Dart runtime (#354174) 2024-12-03 21:16:17 -08:00
Martin Weinelt
9b1b10369d Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
- pkgs/development/python-modules/pytest-codspeed/default.nix
2024-11-28 17:11:16 +01:00
sodiboo
edbb4903fa flutterPackages-source.*.engine: don't remove gen 2024-11-27 21:06:37 +01:00
K900
3b5cb28a23 Merge remote-tracking branch 'origin/staging-next' into staging 2024-11-26 09:46:04 +03:00
FliegendeWurst
5f107ee86d flutter: fix build with strictDeps = true 2024-11-23 10:47:54 +01:00
Tristan Ross
1bdff91755 flutter: revert remove usages of aliases {build,host,target}Platform
PR #350299 broke Flutter's update script with how it handled getting the
platform. Furthermore, the problem was made worse in the last update to
Flutter which had to work around that problem. We'll just revert it for
now and do a proper fix once we can figure out how to satify setting the
different platforms without causing any more problems.
2024-11-21 07:03:15 -08:00
Joshua Leivenzon
3688e311b4 flutter: Pass flutter_tools package_config.json to Dart runtime 2024-11-07 19:50:37 +11:00
github-actions[bot]
0ad7ce5327 Merge staging-next into staging 2024-10-29 00:14:56 +00:00
Tristan Ross
7608f645ba flutter327: init; flutterPackages-source.v3_26: fix source; flutter324: 3.24.3 -> 3.24.4 (#351189) 2024-10-28 15:45:55 -07:00
github-actions[bot]
4e6b4b667b Merge staging-next into staging 2024-10-26 00:14:30 +00:00
Tristan Ross
9c3c35d26b buildFlutterApplication: prevent conflicting app directories (#345404) 2024-10-25 13:18:20 -07:00
Tristan Ross
30bb2e0a76 flutterPackages-source.v3_27: fix building 2024-10-25 10:51:22 -07:00
Tristan Ross
ca7877a49d buildFlutterApplication: prevent conflicting app directories 2024-10-25 10:09:49 -07:00
Tristan Ross
1170180cfb flutter324: 3.24.3 -> 3.24.4 2024-10-25 07:39:10 -07:00
Tristan Ross
8c64c8887f flutterPackages-source.v3_26: fix source 2024-10-25 00:02:42 -07:00
Tristan Ross
5bdf46dfde flutter327: init at 3.27.0-0.1.pre 2024-10-24 22:30:22 -07:00
piegames
c3d78ae8a5 treewide: More string indentation fixes (#350774) 2024-10-24 18:33:44 +02:00
piegames
ae207af82b treewide: More string indentation fixes
Follow-up on #350296 with the packages that cause big rebuilds and need
to go through staging.
2024-10-23 21:52:18 +02:00
Artturin
95c1043ff5 treewide: remove usages of aliases {build,host,target}Platform 2024-10-23 22:40:32 +03:00
Tristan Ross
9d5adb9e45 flutter326: init at 3.26.0-0.1pre 2024-10-07 11:04:31 -07:00
Tristan Ross
24acfbe80a flutter323: remove 2024-10-06 09:05:08 -07:00
Tristan Ross
7a8ea953f4 flutter324: 3.24.1 -> 3.24.3 2024-10-06 09:05:08 -07:00
Tristan Ross
276a231441 flutter322: remove 2024-10-06 09:05:07 -07:00
Tristan Ross
426a41f3f0 flutter316: remove 2024-10-06 09:05:06 -07:00
Tristan Ross
f3d53d2f5a flutter313: remove 2024-10-06 09:05:06 -07:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Maciej Krüger
9d0ac32117 flutter: fix iOS/macOS builds in nix-shell (#341470) 2024-09-23 14:29:04 +02:00
Maciej Krüger
962f168c1a flutter: roll forward missed patches to v3.23 and v3.24 (#341133) 2024-09-14 15:59:56 +02:00
Philip Hayes
8ab57cea8a flutter: prevent built iOS/macOS apps from containing links to nix store 2024-09-12 16:02:37 -07:00
Philip Hayes
492e603ecd flutter: fix iOS build error
Without this patch, `xcode_backend.sh` gets confused by the flutter SDK
`symlinkJoin` and picks up the `dart` executable from `flutter-unwrapped`,
which manifests in the following error during an iOS/macOS build:

```
Error (Xcode): Target debug_unpack_ios failed: Error: Flutter failed to create a directory at "/<nix-store-path>-flutter-3.24.1-unwrapped/bin/cache/artifacts".
```
2024-09-12 14:03:47 -07:00
Anderson Torres
a0f3c9ac50 flutter: move build-support/flutter to flutter directory
Rationale:

With the advent of RFC 140, Nixpkgs becomes to promote self-contained package
directories and strongly discourages scattering along the old and deprecated
filesystem hierarchy.

Further, `build-support/flutter/*` is not referenced by any other expressions in
Nixpkgs besides flutter itself.

Further, concentrating all Flutter-related toolset below a same directory
hierarchy (arguably?) eases maintenance and future migrations.
2024-09-12 13:20:33 -03:00