nixconf/fonts/default.nix
Deepak Mallubhotla a057d9bcc7
All checks were successful
gitea-deepak/nixconf/pipeline/head This commit looks good
Test templates, puts into cache / nix (nix-runner) (push) Successful in 6m33s
fmt: reformat
2025-03-24 04:12:00 -05:00

26 lines
409 B
Nix

{
pkgs ? import <nixpkgs> { },
}:
let
custom-fonts = pkgs.stdenvNoCC.mkDerivation {
pname = "input";
version = "1.0.2";
src = ./.;
dontConfigure = true;
installPhase = ''
runHook preInstall
mkdir -p $out/share
cp -R out $out/share/fonts
runHook postInstall
'';
meta = {
description = "Input DJR font";
};
};
in
{
inherit custom-fonts;
}