nixpkgs/pkgs/by-name/sy
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
..
symbolicator symbolicator: fix build on Darwin 2024-01-21 22:49:08 -05:00
symfony-cli symfony-cli: move to pkgs/by-name 2024-03-06 21:32:37 +01:00
syn2mas treewide: fix sourceRoot for fetchgit-based src 2024-03-09 07:53:25 +08:00
syncrclone
syndicate_utils syndicate_utils: init at 20231130 2023-12-10 09:26:02 +00:00
syntax
synthesia
syslogng syslogng: 4.5.0 -> 4.6.0 2024-01-26 22:58:35 +01:00
systemctl-tui systemctl-tui: 0.2.2 -> 0.2.4 2024-01-13 19:16:13 -07:00
systemd-lock-handler nixos/systemd-lock-handler: init 2024-01-27 11:55:46 +02:00