dotfiles.nix/pkgs/recursive-patched.nix

18 lines
393 B
Nix
Raw Normal View History

2024-07-18 14:16:04 +00:00
{
stdenv,
nerd-font-patcher,
recursive,
}:
stdenv.mkDerivation {
name = "recursive-nerd-font-patched";
src = recursive;
nativeBuildInputs = [ nerd-font-patcher ];
buildPhase = ''
find -name RecMono\*.ttf -execdir nerd-font-patcher -c {} \;
2023-12-23 01:49:53 +00:00
find -name \*CslSt\* -delete
find -name \*LnrSt\* -delete
'';
installPhase = "cp -a . $out";
2023-12-23 01:49:53 +00:00
inherit (recursive) meta;
}