installFonts: move to pkgs/by-name

This will prevent unnecessary pings, as seen in
https://github.com/NixOS/nixpkgs/issues/532030#issuecomment-4711382871
This commit is contained in:
Michael Daniels
2026-06-15 17:39:58 -04:00
parent 2138017d84
commit 392f1151c7
3 changed files with 17 additions and 13 deletions
+17
View File
@@ -0,0 +1,17 @@
{
lib,
makeSetupHook,
}:
makeSetupHook {
name = "install-fonts-hook";
meta = {
description = "Copies standard font extension into their respective installation path";
maintainers = with lib.maintainers; [
pancaek
sigmanificient
jopejoe1
];
license = lib.licenses.mit;
};
} ./install-fonts.sh
-13
View File
@@ -753,19 +753,6 @@ with pkgs;
makeDesktopItem = callPackage ../build-support/make-desktopitem { };
installFonts = makeSetupHook {
name = "install-fonts-hook";
meta = {
description = "Copies standard font extension into their respective installation path";
maintainers = with lib.maintainers; [
pancaek
sigmanificient
jopejoe1
];
license = lib.licenses.mit;
};
} ../build-support/setup-hooks/install-fonts.sh;
copyPkgconfigItems = makeSetupHook {
name = "copy-pkg-config-items-hook";
meta.license = lib.licenses.mit;