nixpkgs/pkgs/development/compilers/flutter
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
..
artifacts flutter: Apply multiple Darwin aarch64 fixes 2024-02-11 18:28:40 +01:00
patches flutter: remove unnecessary git-dir.patch 2024-02-17 15:34:10 +02:00
update flutter313: Fix aarch64-darwin 2024-02-11 18:28:40 +01:00
versions flutter: 3.16.7 -> 3.19.0 2024-02-17 15:34:33 +02:00
default.nix flutter.buildFlutterApplication: Allow building for the Web 2024-01-18 10:27:32 +11:00
flutter-tools.nix treewide: fix sourceRoot for fetchgit-based src 2024-03-09 07:53:25 +08:00
flutter.nix flutter316: Add aarch64-darwin hashes and fix meta.platforms 2024-02-11 18:28:40 +01:00
sdk-symlink.nix
wrapper.nix