Commit Graph

5 Commits

Author SHA1 Message Date
Victor Engmark
291e11d98f
pre-commit: fix import bug for built-in hooks
And add regression test.

Closes #270805.

Co-Authored-By: Matt Rixman <MatrixManAtYrService@users.noreply.github.com>
2024-11-22 15:42:17 +13:00
Victor Engmark
ae7c1f0fb4
pre-commit: Format using nixfmt-rfc-style 2024-11-22 15:27:12 +13:00
David McFarland
42d69ab59a dotnet: move dotnet_root to $out/share/dotnet 2024-11-17 14:19:23 -04:00
David McFarland
ddd08e404f dotnet: split setup hooks into wrapper for runtime/sdk 2024-11-17 14:19:22 -04:00
aleksana
571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00