Commit Graph

6 Commits

Author SHA1 Message Date
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
R. Ryantm
662fc4b024 mpremote: 1.22.1 -> 1.22.2 2024-02-21 17:53:52 +00:00
R. Ryantm
b5c4e4a403 mpremote: 1.20.0 -> 1.22.1 2024-01-23 19:57:37 +00:00
Martin Weinelt
8056f9250c
treewide: remove redundant SETUPTOOLS_SCM_PRETEND_VERSION usage
The setuptools-scm packages gained a setup hook, that sets it to the
derivation version automatically, so setting it to that manually has
become redundant.

This also affects downstream consumers of setuptools-scm, like hatch-vcs
or flit-scm.
2023-12-20 20:16:39 +01:00
h7x4
41974d5ed9
treewide: add mainProgram 2023-11-27 02:17:53 +01:00
Sophie Tauchert
00f2f4b727
mpremote: init at 1.20.0 2023-08-17 11:28:53 +02:00