Commit Graph

4 Commits

Author SHA1 Message Date
R. Ryantm
b42281928e syn2mas: 0.8.0 -> 0.9.0 2024-04-03 03:36:31 +00:00
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
fe79756103 syn2mas: 0.7.0 -> 0.8.0 2024-02-10 10:56:06 +00:00
teutat3s
51f5b7df97
syn2mas: init at 0.7.0
Tool to help with the migration of a Matrix Synapse installation to the Matrix Authentication Service.

https://github.com/matrix-org/matrix-authentication-service/tree/main/tools/syn2mas

Related to #275057
2023-12-18 18:29:58 +01:00