Commit Graph

223 Commits

Author SHA1 Message Date
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
Tristan Ross
bf4565a7fc
flutterPackages-source.v3_24: disable test building when checks are disabled 2024-08-26 22:16:43 -07:00
Tristan Ross
a2b56cd6e0
flutterPackages.v3_24: fix patches 2024-08-22 18:27:57 -07:00
Tristan Ross
92c116b439
flutterPackages.v3_24: init 2024-08-22 18:27:53 -07:00
Tristan Ross
34863ee342
flutterPackages-source.v3_{13,16,19}.engine.release.src: fix output size 2024-08-17 07:55:41 -07:00
Tristan Ross
bc927415b4
Merge pull request #324717 from ExpidusOS/fix/flutter-engine
flutterPackages-source: disable old version sources, fix update hashes
2024-08-16 09:04:15 -07:00
Felix Buehler
df46afcb61 flutter: remove 'with lib;' 2024-08-16 16:09:03 +02:00
Tristan Ross
883f716047
flutterPackages-source: disable old version sources, fix update hashes 2024-08-15 19:41:02 -07:00
Tristan Ross
46a0243923
flutterPackages-source.v3_23.engine: fix building 2024-06-25 22:15:45 -07:00
Tristan Ross
2572634a6d
flutter.engine: fix swiftshader size 2024-06-25 22:05:30 -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
f20386e27d
flutter.engine: enable tests 2024-06-17 23:02:33 -07:00
Tristan Ross
f14d70d5dc
flutter.engine.src: actually fix making logs silent 2024-06-17 22:22:30 -07:00
Tristan Ross
9f0188e6cd
flutter.engine: less verbose building 2024-06-17 22:14:58 -07:00
Tristan Ross
12e6408a61
flutter: disable linux artifacts if engine is used 2024-06-17 22:14:58 -07:00
Tristan Ross
504d414dbd
flutter.engine: remove unnecessary files 2024-06-17 22:14:57 -07:00
Tristan Ross
a65d13a67e
flutter.engine: use builtins for store & add out name attrib 2024-06-17 22:14:57 -07:00
Tristan Ross
c3ae65579a
flutterPackages-source.*.engine.src: prevent hydra log limit issue 2024-06-16 23:18:08 -07:00
Tristan Ross
a54e49b360
flutter.engine: init 2024-06-14 21:01:16 -07:00
Tristan Ross
0284d26d08
flutter323: init 2024-06-13 14:47:34 -07:00
Tristan Ross
cdd31bb726
flutterPackages: support beta releases 2024-06-13 14:47:30 -07:00
Tristan Ross
2dc4e52d20
flutter322: 3.22.0 -> 3.22.2 2024-06-08 18:21:46 -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
github-actions[bot]
3588aea450
Merge master into staging-next 2024-05-03 00:02:39 +00:00
Jan Tojnar
eb04659fc2 treewide: wrapGAppsHook → wrapGAppsHook3
This was achieved using the following command:

    sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b')

And then manually reverted the following changes:

- alias in top-level.nix
- function name in wrap-gapps-hook.sh
- comment in postFixup of at-spi2-core
- comment in gtk4
- comment in preFixup of 1password-gui/linux.nix
- comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix
- comment in postFixup of telegram-desktop
- comment in postFixup of fwupd
- buildCommand of mongodb-compass
- postFixup of xflux-gui
- comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config
- description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
2024-04-27 02:23:22 +02:00
ethnh
ad91edc217
flutter: 3.19.3 -> 3.19.4 2024-03-28 10:15:26 -05:00
ethnh
76f7212210
Merge branch 'NixOS:master' into master 2024-03-28 00:34:55 -05:00
Maciej Krüger
10bfb6d146
Merge pull request #298683 from FlafyDev/flutter-gradle-fix
flutter: move flutter-tools' Gradle build files out of Nix Store
2024-03-25 01:53:52 +01:00
FlafyDev
fdab275c08 flutter: move flutter-tools' Gradle build files out of Nix Store 2024-03-24 18:35:02 +02:00
Mads Marquart
04ef11c35a flutter: Allow impure reference to the arch binary on macOS
The `arch` binary is not available in `darwin.adv_cmds`, it is provided via. `darwin.system_cmds` instead, but support for this is still experimental.
2024-03-18 17:19:10 +01:00
Ethan Hindmarsh
86cc853973 flutter: 3.19.0 -> 3.19.3 2024-03-13 17:33:10 -05:00
Yueh-Shun Li
91b3db1309 treewide: fix sourceRoot for fetchgit-based src
According to Nixpkgs manual[1] and NixOS 23.11 Release Note[2], the
`sourceRoot` attribute passed to `stdenv.mkDerivation` should be
specified as `"${src.name}"` or `"${src.name}/subdir"` when `src` is
produced using `fetchgit`-based fetchers.

`sourceRoot = "source"` or `sourceRoot = "source/subdir"` is based on
the assumption that the `name` attribute of these pre-unpacked fetchers
are always `"source"`, which is not the case. Expecting constant `name`
also makes the source FODs prone to irrelevent hashes during version
bumps.

[1]: https://nixos.org/manual/nixpkgs/unstable/#var-stdenv-sourceRoot
[2]: https://nixos.org/manual/nixos/stable/release-notes#sec-release-23.11
2024-03-09 07:53:25 +08:00
FlafyDev
fcaebf4a40 flutter: 3.16.7 -> 3.19.0 2024-02-17 15:34:33 +02:00
FlafyDev
d77999079f flutter: remove unnecessary git-dir.patch
Flutter still works like normal with the patch `git-dir.patch` removed.
I'm not sure what it's supposed to do but I don't think it's necessary anymore.
2024-02-17 15:34:10 +02:00
Janne Heß
ab168d1f13
flutter: Apply multiple Darwin aarch64 fixes
Taken from: https://github.com/NixOS/nixpkgs/pull/286750#issuecomment-1935147584
2024-02-11 18:28:40 +01:00
Janne Heß
db38aeee72
flutter316: Add aarch64-darwin hashes and fix meta.platforms 2024-02-11 18:28:40 +01:00
Janne Heß
5dfd5ecc84
flutter313: Fix aarch64-darwin 2024-02-11 18:28:40 +01:00
sternenseemann
488b4c9fa1 flutter/update: provide fake hashes of the proper length 2024-01-31 21:21:09 +01:00
sternenseemann
6dc3672c15 flutter/update: add .in extensions to Nix expression template files
Use autotools inspired extensions (as syntax sort of matches) to make
clear that these are not Nix expressions yet and don't necessarily parse
or evaluate.
2024-01-31 20:30:34 +01:00
sternenseemann
8cf33c2dd1 flutter: remove path interpolation
Path interpolation is not supported in Nix 2.3 which nixpkgs maintains
support for.
2024-01-31 20:30:33 +01:00
hacker1024
f51a0b053d flutter.buildFlutterApplication: Allow building for the Web 2024-01-18 10:27:32 +11:00
FlafyDev
15b87fdcd9 flutter: 3.13.8 -> 3.16.7 2024-01-15 16:26:36 +02:00
FlafyDev
8710f46544 flutter: Add update script 2024-01-15 16:26:34 +02:00
FlafyDev
5e99fd3304 flutter: Move to a structure more fitting for multiple versions 2024-01-15 01:35:45 +02:00
FlafyDev
b73ceb1ca7 flutter: Make it possible to override operatingSystem internally
Makes it possible to get artifact hashes for other system platforms.

Useful for an update script.
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
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