nixpkgs/pkgs/tools
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
..
admin Merge pull request #293471 from fabaff/google-api-python-client-bump 2024-03-08 08:20:57 +01:00
archivers Merge pull request #292520 from r-ryantm/auto-update/xarchiver 2024-03-07 12:02:24 +01:00
audio abcmidi: 2024.02.25 -> 2024.03.02 2024-03-04 01:16:11 +00:00
backup zfs-replicate: 3.2.8 -> 3.2.9 2024-02-26 19:52:39 +00:00
bluetooth treewide: add mainProgram 2024-02-11 03:19:15 +01:00
bootloaders/refind
cd-dvd Merge pull request #289980 from fgaz/treewide/fgaz-finalAttrs 2024-03-05 11:05:28 +01:00
compression Merge master into staging-next 2024-03-05 12:01:17 +00:00
dotool
filesystems Merge pull request #287411 from r-ryantm/auto-update/ceph-csi 2024-03-07 09:42:47 +01:00
games treewide: add mainProgram 2024-02-11 03:19:15 +01:00
graphics svg2pdf: 0.9.1 -> 0.10.0 2024-03-07 15:04:55 +00:00
inputmethods Merge pull request #291350 from r-ryantm/auto-update/ibus-engines.typing-booster-unwrapped 2024-03-07 08:19:19 +01:00
llm
misc treewide: fix sourceRoot for fetchgit-based src 2024-03-09 07:53:25 +08:00
networking Merge pull request #285471 from r-ryantm/auto-update/frp 2024-03-07 23:41:01 +01:00
nix nixos-option: update to nix 2.18 2024-03-05 09:14:43 -08:00
package-management Merge pull request #294031 from RaitoBezarius/cve-2024-27297 2024-03-07 12:50:45 +01:00
security Merge #292500: staging-next 2024-03-01 2024-03-08 12:35:06 +01:00
system Merge #292500: staging-next 2024-03-01 2024-03-08 12:35:06 +01:00
text ugrep: 5.0.0 -> 5.1.0 2024-03-08 00:57:09 +00:00
typesetting Merge pull request #286278 from r-ryantm/auto-update/pulldown-cmark 2024-03-07 10:46:01 +01:00
video yaydl: 0.13.0 -> 0.14.0 2024-02-28 22:30:12 +00:00
virtualization govc: 0.35.0 -> 0.36.0 2024-03-08 01:52:35 +00:00
wayland Merge pull request #293492 from r-ryantm/auto-update/swaysome 2024-03-06 09:09:13 -05:00
X11 Merge pull request #287828 from r-ryantm/auto-update/ckbcomp 2024-03-07 09:21:44 +01:00