Skip to content

lib, treewide: introduce repoRevToName and use it to cleanup most fetch* functions - #316668

Merged
Lassulus merged 3 commits into
NixOS:masterfrom
oxij:tree/repo-to-name-part-1
Jun 10, 2025
Merged

lib, treewide: introduce repoRevToName and use it to cleanup most fetch* functions#316668
Lassulus merged 3 commits into
NixOS:masterfrom
oxij:tree/repo-to-name-part-1

lib, treewide: introduce `repoRevToName`, use it in most `fetch*` fun…

7c8a4ef
Select commit
Loading
Failed to load commit list.
OfBorg / fetchsvn, fetchsvn.passthru.tests, lib, lib.passthru.tests, pkgs/top-level/config.nix, pkgs/top-level/config.nix.passthru.tests, treewide, treewide.passthru.tests on aarch64-darwin succeeded Jun 1, 2025 in 0s

Success

Attempted: lib

The following builds were skipped because they don't evaluate on aarch64-darwin: fetchsvn, fetchsvn.passthru.tests, lib.passthru.tests, pkgs/top-level/config.nix, pkgs/top-level/config.nix.passthru.tests, treewide, treewide.passthru.tests

Details

Partial log

evaluation warning: External use of `lib.modules.mergeModules` is deprecated. If your use case isn't covered by non-deprecated functions, we'd like to know more and perhaps support your use case well, instead of providing access to these low level functions. In this case please open an issue in https://github.com/nixos/nixpkgs/issues/.
evaluation warning: lib.mkFixStrictness has no effect and will be removed. It returns its argument unmodified, so you can just remove any calls.
evaluation warning: mkPackageOptionMD is deprecated and will be removed in 25.05; please use mkPackageOption.
evaluation warning: lib.nixpkgsVersion is a deprecated alias of lib.version.
evaluation warning: External use of `lib.modules.pushDownProperties` is deprecated. If your use case isn't covered by non-deprecated functions, we'd like to know more and perhaps support your use case well, instead of providing access to these low level functions. In this case please open an issue in https://github.com/nixos/nixpkgs/issues/.
evaluation warning: lib.readPathsFromFile is deprecated, use a list instead.
evaluation warning: lib.replaceChars is a deprecated alias of lib.replaceStrings.
evaluation warning: External use of `lib.modules.unifyModuleSyntax` is deprecated. If your use case isn't covered by non-deprecated functions, we'd like to know more and perhaps support your use case well, instead of providing access to these low level functions. In this case please open an issue in https://github.com/nixos/nixpkgs/issues/.
evaluation warning: lib.zip is a deprecated alias of lib.zipAttrsWith.
evaluation warning: lib.zipWithNames is a deprecated alias of lib.zipAttrsWithNames.