overlays/cascadia-code: init to remove NF icons
This commit is contained in:
parent
b0d7064ca3
commit
9eb196ea3a
2 changed files with 13 additions and 0 deletions
12
overlays/cascadia-code.nix
Normal file
12
overlays/cascadia-code.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
self: super: {
|
||||||
|
cascadia-code = super.cascadia-code.overrideAttrs(o: {
|
||||||
|
installPhase = (builtins.replaceStrings ["runHook postInstall"] [""] o.installPhase) + ''
|
||||||
|
install -Dm644 otf/static/*.otf -t $out/share/fonts/opentype
|
||||||
|
install -Dm644 ttf/static/*.ttf -t $out/share/fonts/truetype
|
||||||
|
rm $out/share/fonts/opentype/*NF*
|
||||||
|
rm $out/share/fonts/truetype/*NF*
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
builtins.map (path: import path) [
|
builtins.map (path: import path) [
|
||||||
./android-studio.nix
|
./android-studio.nix
|
||||||
|
./cascadia-code.nix
|
||||||
./ccache.nix
|
./ccache.nix
|
||||||
./eww.nix
|
./eww.nix
|
||||||
./material-icons.nix
|
./material-icons.nix
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue