Commit Graph

15 Commits

Author SHA1 Message Date
teutat3s
45d7f9fcc3
yubioath-flutter: fix build by relaxing helper deps 2023-05-17 02:58:30 +02:00
hacker1024
ff9c888297 flutter: Move applications back to 3.7 2023-05-12 23:09:41 +10:00
hacker1024
9f05297dc8 flutter.buildFlutterApplication: Manually supply the dependency list
This removes the need for IFD.
2023-04-23 00:12:45 +10:00
hacker1024
65631597c1 yubioauth-flutter: Update vendor hash for new pubspec.lock handling 2023-04-16 03:14:29 +10:00
hacker1024
607a57d48e flutter.mkFlutterApp: Rename to flutter.buildFlutterApplication
This fits more appropriately with other build derivations like buildPythonApplication.
2023-04-15 20:57:21 +10:00
hacker1024
c3a87421ae flutter: Don't tarball the package cache
Co-authored-by: FlafyDev <flafyarazi@gmail.com>

The dependency fixed-output derivation now uses the recursive hash mode to avoid tarballing and copying all the files.

https://github.com/NixOS/nix/issues/6660 was ran into during the development of this change. Input references were found in the Git package cache before nukeReferences was used.

It turns out that the mirrors in the Git package cache do not actually need to be preserved, as the SDK does not use them during the build process. They are therefore deleted in the dependency derivation and re-created as blank repositories in the main derivation.

A description of the Git package cache layout can be found here: c890afa1d6/lib/src/source/git.dart (L339)
2023-04-15 20:17:44 +10:00
hacker1024
fdce3f30c4 flutter.mkFlutterApp: Don't hash more unstable files
Files and directories such as .dart_tool, .flutter-plugins, .packages and .pub-cache/hosted/*/.cache will be happily regenerated by the SDK in an offline environment.

The patches being made to these files and directories to remove non-determinism were flawed: They did not handle cases where files only appeared in one run, or cases where tooling versions had an effect on the output.
2023-04-15 03:18:56 +10:00
hacker1024
f7e3c19cc8 flutter.mkFlutterApp: Don't vendor arbitrary configuration files 2023-04-14 01:49:09 +10:00
Weijia Wang
7e07464c25
yubioath-flutter: fix build on aarch64-linux 2023-02-08 10:26:51 +01:00
Austin Butler
4b5b453266 yubioath-flutter: 6.0.2 -> 6.1.0 2023-02-08 00:00:03 -08:00
Luke Granger-Brown
9a1a1f1faa yubioath-flutter: flutter itself should not be in the closure for yubioath-flutter 2023-01-23 03:55:02 +00:00
Ilan Joselevich
1a9d89fe38
yubioath-flutter: fix QR scanning 2023-01-04 16:09:20 +02:00
Luke Granger-Brown
88d6c7c7a7 yubioath-flutter: package and set path to icon 2023-01-02 18:00:06 +00:00
Ilan Joselevich
cb8de6b910
yubioath-flutter: slight refactor and cleanup 2022-12-29 22:56:06 +02:00
Luke Granger-Brown
e4f139a78e yubioath-flutter: init at 6.0.2 2022-12-02 03:31:23 +00:00