nixpkgs/pkgs/development/tools/electron
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
..
binary electron_*-bin: fix libGL 2024-02-02 20:44:54 +01:00
.gitignore electron: don't track cache directory 2023-10-03 22:15:23 +02:00
common.nix treewide: fix sourceRoot for fetchgit-based src 2024-03-09 07:53:25 +08:00
default.nix electron-source.electron_26: init at 26.2.3 2023-09-28 11:44:17 +02:00
info.json electron_26: 26.6.6 -> 26.6.9 2024-02-10 19:13:27 +01:00
update.py chromium,electron: always output sri hashes from update scripts 2023-10-21 15:16:58 +02:00
version.patch electron_27: remove versions patch 2023-12-05 19:38:28 +01:00
wrapper.nix electron: fix GSETTINGS_SCHEMAS_PATH (#259157) 2023-10-05 20:06:37 +02:00