Merge pull request #172873 from schuelermine/update/flutter-dart

This commit is contained in:
Maciej Krüger 2022-05-26 13:45:12 +02:00 committed by GitHub
commit a97c7f7380
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,19 +10,19 @@ let
# Decouples flutter derivation from dart derivation, # Decouples flutter derivation from dart derivation,
# use specific dart version to not need to bump dart derivation when bumping flutter. # use specific dart version to not need to bump dart derivation when bumping flutter.
dartVersion = "2.16.1"; dartVersion = "2.16.2";
dartSourceBase = "https://storage.googleapis.com/dart-archive/channels"; dartSourceBase = "https://storage.googleapis.com/dart-archive/channels";
dartForFlutter = dart.override { dartForFlutter = dart.override {
version = dartVersion; version = dartVersion;
sources = { sources = {
"${dartVersion}-x86_64-linux" = fetchurl { "${dartVersion}-x86_64-linux" = fetchurl {
url = "${dartSourceBase}/stable/release/${dartVersion}/sdk/dartsdk-linux-x64-release.zip"; url = "${dartSourceBase}/stable/release/${dartVersion}/sdk/dartsdk-linux-x64-release.zip";
sha256 = "sha256-PMY6DCFQC8XrlnFzOEPcwgBAs5/cAvNd78969Z+I1Fk="; sha256 = "sha256-egrYd7B4XhkBiHPIFE2zopxKtQ58GqlogAKA/UeiXnI=";
}; };
}; };
}; };
in { in {
mkFlutter = mkFlutter; inherit mkFlutter;
stable = mkFlutter rec { stable = mkFlutter rec {
inherit version; inherit version;
dart = dartForFlutter; dart = dartForFlutter;