From 4a22b7be191298f1b8a9b32f26fa020dd003bce0 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Tue, 3 Mar 2026 02:08:42 +0100 Subject: [PATCH] blackout: use installFonts --- pkgs/by-name/bl/blackout/package.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/pkgs/by-name/bl/blackout/package.nix b/pkgs/by-name/bl/blackout/package.nix index 1fa0f8e704f2..cc353081a0b1 100644 --- a/pkgs/by-name/bl/blackout/package.nix +++ b/pkgs/by-name/bl/blackout/package.nix @@ -2,6 +2,7 @@ lib, fetchFromGitHub, stdenvNoCC, + installFonts, }: stdenvNoCC.mkDerivation { @@ -15,13 +16,7 @@ stdenvNoCC.mkDerivation { hash = "sha256-UmJVmtuPQYW/w+mdnJw9Ql4R1xf/07l+/Ky1wX9WKqw="; }; - installPhase = '' - runHook preInstall - - install -D -m444 -t $out/share/fonts/truetype $src/*.ttf - - runHook postInstall - ''; + nativeBuildInputs = [ installFonts ]; meta = { description = "Bad-ass, unholy-mother-shut-your-mouth stencil sans-serif";