dotfiles.nix/pkgs/recursive-patched.nix

14 lines
386 B
Nix
Raw Normal View History

2023-11-04 01:31:47 +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;
}