Commit Graph

84 Commits

Author SHA1 Message Date
qzylinra
6188b7af00 flutterPackages-source: drop 2026-08-14 07:30:13 +00: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
kyehn
9a2382c7f4 dart: use dart-source in linux 2026-02-20 04:55:22 +08:00
kyehn
805fe4e2c5 flutter341: 3.41.0-0.3.pre -> 3.41.0 2026-02-12 02:45:18 +00:00
kyehn
5645616b5d dart: 3.10.7 -> 3.10.9 2026-02-08 12:16:09 +08:00
kyehn
4f5e6edadf flutter338: 3.38.0-0.2.pre -> 3.38.0 2025-11-12 21:03:21 +00:00
qzylinra
e61e676f4b flutter338: init at 3.38.0-0.2.pre 2025-11-03 07:14:56 +00:00
qzylinra
02a40a83de flutter: remove rec 2025-08-13 16:26:50 +08:00
Wolfgang Walther
a6910dc450 flutterPackages.beta: fix eval
This attribute shouldn't be available when no beta versions are
packaged, otherwise it fails eval in CI.
2025-07-19 13:07:29 +02:00
emaryn
09d94451ca flutter332, flutter329: add patch 2025-05-12 22:19:05 +00:00
emaryn
3781a682a9 flutter332: init at 3.32.0-0.3.pre 2025-05-05 15:27:40 +00: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
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
Silvan Mosberger
4f0dadbf38 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 b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Maciej Krüger
9d0ac32117 flutter: fix iOS/macOS builds in nix-shell (#341470) 2024-09-23 14:29:04 +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
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
Tristan Ross
a037d6378f flutter.engine: bring source size down to hydra limits 2024-06-19 01:05:33 -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
hacker1024
f51a0b053d flutter.buildFlutterApplication: Allow building for the Web 2024-01-18 10:27:32 +11:00
FlafyDev
5e99fd3304 flutter: Move to a structure more fitting for multiple versions 2024-01-15 01:35:45 +02:00
FlafyDev
579e01329e flutter: Rename platform to flutterPlatform
This helps avoid the ambiguity between Flutter platforms like Linux, IOS, and Android and platforms like linux-x64
2024-01-11 01:37:55 +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
44030b7f7d flutter: Fetch artifacts with flutter prefetch 2023-12-21 11:44:14 +01:00
hacker1024
175112a996 flutter: Remove hard dependency on Git 2023-12-21 11:44:08 +01:00
hacker1024
30170047b8 flutter: Use deepClone = true for SDK repository 2023-12-21 11:44:07 +01:00
hacker1024
ee289896a7 flutter: Build flutter_tools with buildDartApplication 2023-12-21 11:44:07 +01:00
hacker1024
46e7b32262 flutterPackages.stable: 3.13.4 -> 3.13.8 2023-10-22 16:12:29 +11:00
gilice
64b86c1a19 flutter: 3.13.0 -> 3.13.4 2023-09-19 17:18:05 +02:00
gilice
c511f60c48 flutter: 3.13.0 -> 3.13.4 2023-09-19 08:27:14 +00:00
hacker1024
f5a2f237de flutter37: Drop 2023-08-29 13:12:11 +02:00
gilice
40e82051b9 flutter: 3.10.5 -> 3.13.0
flutter: Update remaining engine artifact hashes for v3.13.0

Co-Authored-By: hacker1024 <20849728+hacker1024@users.noreply.github.com>
2023-08-27 16:06:45 +02:00
Sunghoon Kang
77702747e7 flutter: add darwin support
Signed-off-by: Sunghoon Kang <me@hoon.dev>
2023-07-07 13:07:34 +09:00
hacker1024
309f54ae5b flutter: Remove Flutter 2 2023-07-04 08:59:01 +10:00
gilice
dcf789f53e flutter: 3.10.0 -> 3.10.5 2023-06-14 19:12:50 +02:00
FlafyDev
b1efbff8ec flutter: Move artifact installation logic to the wrapper 2023-05-15 01:16:47 +03:00
hacker1024
6af167f231 flutter: Keep 3.7 available 2023-05-12 23:09:41 +10:00
hacker1024
7f36f6e96b flutter: 3.7.12 -> 3.10.0 2023-05-12 23:09:41 +10:00
gilice
596aa930b2 flutter: rename & expose builders to pkgs
The renames are:
  mkFlutter -> mkCustomFlutter
  flutterDrv -> mkFlutter

I hope this will bring more clarity
2023-04-30 18:33:05 +02:00
hacker1024
552e3fe498 flutter: Don't use IFD to read the engine version 2023-04-23 14:44:46 +10:00
hacker1024
7e53598823 flutter: 3.7.11 -> 3.7.12 2023-04-23 14:30:37 +10:00
hacker1024
c3797393b7 flutter: Use fetchzip instead of fetchurl for source downloads
This allows for speedier re-use of the source archives, and lets files inside be read in Nix.
2023-04-15 01:52:30 +10:00
hacker1024
d5aa0c1f97 Merge remote-tracking branch 'NixOS/master' into patch-3 2023-04-13 19:22:50 +10:00
hacker1024
0f2848638f flutter: 3.3.3 -> 3.7.11 2023-04-13 18:01:58 +10:00
hacker1024
e552959395 flutter: Remove the FHS wrapper
Now that Flutter artifacts are patched, there is no need for a FHS at runtime or any stage of the build process.

Those relying on it for the Android SDK should look at https://github.com/tadfisher/android-nixpkgs.
2023-04-13 18:01:32 +10:00
hacker1024
7840f2055a flutter: Create the flutter derivation with callPackage alone 2023-04-13 00:09:42 +10:00
hacker1024
341fa709ff flutter: Redesign wrapping architecture
The following principles are now in place:

- All wrappers will include SDK file symlinks. There is not much of a reason to not do so, and removing the option to omit it makes it easier to understand what each wrapper does.
- There is no longer a way to get the previous derivation from a wrapper. This could yield unexpected results based on the wrapping order. Instead, "sdk", "unwrapped", and "noFHS" passthru attributes are provided where appropriate.
2023-02-18 00:43:17 +11:00