nixpkgs/pkgs/development/compilers/flutter
Luke Granger-Brown 19cd58a6ca flutter37: fix skyNotice hash for version 1a65d409c7a1438a34d21b60bf30a6fd5db59314
Using fetchurl like this means that, if you build the `flutter`
derivation first, you will get a file named "LICENSE" in your store with
the correct hash. `flutter37` will then build because this file is
already in your store, even though the LICENSE to which _it_ refers is
different. This is dangerous in this case - but an intentional design
decision in the way fetchurl works to allow artifacts which are the same
to be fetched from arbitrary sources, or even pre-populated into the
store.

To avoid this, explicitly tag the fetchurl with a name and the commit
hash we're fetching from. This means we _must_ fetch these separately
for each flutter version and avoids the problem of accidentally reusing
artifacts for a different build.
2023-08-13 14:30:43 +01:00
..
engine-artifacts flutter37: fix skyNotice hash for version 1a65d409c7a1438a34d21b60bf30a6fd5db59314 2023-08-13 14:30:43 +01:00
package-overrides flutter: package-overrides: olm: init 2023-04-26 16:54:06 +10:00
patches/flutter3 flutter: revert patch changes 2023-07-07 16:56:40 +09:00
default.nix flutter: add darwin support 2023-07-07 13:07:34 +09:00
flutter.nix flutter: add darwin support 2023-07-07 13:07:34 +09:00
sdk-symlink.nix flutter: Redesign wrapping architecture 2023-02-18 00:43:17 +11:00
wrapper.nix flutter: link notices to all of the artifact directories. 2023-08-11 10:03:39 +02:00