From adef4cf5eaef039bee468cfde8f4f216e4d5d475 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Tue, 19 May 2026 00:32:18 +0200 Subject: [PATCH] ccsymbols: use installFonts --- pkgs/by-name/cc/ccsymbols/package.nix | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/pkgs/by-name/cc/ccsymbols/package.nix b/pkgs/by-name/cc/ccsymbols/package.nix index f9132d165e3e..52d3092c1779 100644 --- a/pkgs/by-name/cc/ccsymbols/package.nix +++ b/pkgs/by-name/cc/ccsymbols/package.nix @@ -2,6 +2,7 @@ lib, stdenvNoCC, fetchurl, + installFonts, unzip, }: @@ -16,15 +17,15 @@ stdenvNoCC.mkDerivation rec { sourceRoot = "."; - nativeBuildInputs = [ unzip ]; + outputs = [ + "out" + "webfont" + ]; - installPhase = '' - runHook preInstall - - install -Dm644 CCSymbols.* -t $out/share/fonts/ccsymbols - - runHook postInstall - ''; + nativeBuildInputs = [ + installFonts + unzip + ]; passthru = { inherit pname version; };