nixpkgs/pkgs/applications/science
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
..
astronomy gnuastro: add meta.changelog 2024-02-05 18:44:12 +04:00
biology Merge pull request #285423 from r-ryantm/auto-update/diamond 2024-03-07 11:24:20 +01:00
chemistry treewide: fix sourceRoot for fetchgit-based src 2024-03-09 07:53:25 +08:00
computer-architecture Merge pull request #288000 from trofi/timeloop-gcc-13-fix 2024-02-17 07:19:06 -05:00
electronics Merge pull request #291482 from r-ryantm/auto-update/verilator 2024-03-07 08:08:34 +01:00
engineering strictdoc: refactor 2024-02-21 17:33:31 +01:00
geometry gama: fix build on aarch64-darwin 2024-01-28 08:25:53 +01:00
logic Merge pull request #292724 from r-ryantm/auto-update/cvc5 2024-03-08 08:48:25 +01:00
machine-learning starspace: mark broken 2024-02-24 22:44:20 +00:00
math Merge pull request #293432 from alois31/geogebra-3d 2024-03-07 19:53:05 +01:00
medicine dcmtk: 3.6.7 -> 3.6.8 2024-01-06 23:03:08 +01:00
misc treewide: fix sourceRoot for fetchgit-based src 2024-03-09 07:53:25 +08:00
molecular-dynamics gromacs: 2024 -> 2024.1 2024-03-05 14:38:54 +01:00
networking/sumo sumo: 1.18.0 -> 1.19.0 2023-11-08 23:02:41 +00:00
physics nnpdf: 4.0.8 -> 4.0.9 2024-03-01 12:36:01 -05:00
programming maintainers: remove jfrankenau 2023-11-20 08:44:58 +01:00
robotics mujoco: 3.1.2 -> 3.1.3 2024-03-07 15:41:37 +01:00