Commit Graph

21 Commits

Author SHA1 Message Date
Maciej Krüger
0e273473c2
firmware-updater: unstable-2023-09-17 -> unstable-2024-18-04 (#308100) 2024-04-30 21:36:59 +00:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01: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
d5ef1bc848 firmware-updater: unstable-2023-06-20 -> unstable-2023-09-17, upgrade to Flutter 3.13.0 2023-08-29 13:12:09 +02:00
gilice
bc95815e9e firmware-updater: unstable-2023-04-30 -> unstable-2023-06-20 2023-06-20 12:49:57 +02:00
hacker1024
ff9c888297 flutter: Move applications back to 3.7 2023-05-12 23:09:41 +10:00
gilice
ce838d944f firmware-updater: unstable(unversioned) -> unstable-2023-04-30 2023-04-30 21:15:28 +02: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
396938b6de firmware-updater: Add a pubspec.lock 2023-04-16 03:14:59 +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
divanorama
f9254f470c
Update pkgs/os-specific/linux/firmware/firmware-updater/default.nix 2022-11-08 22:52:57 +01:00
Dmitry Ivankov
2ec4eec9fa firmware-updater: update hashes
Was able to build this package after updating hashes.
Hydra failures don't mention hash mismatch, but maybe update will still help.

ZHF: #199919
2022-11-08 22:19:11 +01:00
nanashi0x74
946474ca0f firmware-updater: build with flutter2 2022-10-02 20:07:18 +02:00
nanashi0x74
043de04db8 update hashes for fluffychat and firmware-updater 2022-07-11 14:02:36 +02:00
Maciej Krüger
5ecd24b043
firmware-updater: update vendor hash 2022-02-23 15:10:59 +01:00
Maciej Krüger
82646d9499
firmware-updater: fix license 2022-02-23 15:02:42 +01:00
Maciej Krüger
4d900be80b
firmware-updater: init at unstable 2022-02-19 15:07:45 +01:00