nixpkgs/pkgs/data/fonts/powerline-symbols/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
523 B
Nix
Raw Normal View History

{ lib, runCommand, powerline }:
2021-01-10 08:30:21 +03:00
let
inherit (powerline) version;
in runCommand "powerline-symbols-${version}" {
2021-01-10 08:30:21 +03:00
meta = {
inherit (powerline.meta) license;
priority = (powerline.meta.priority or 0) + 1;
maintainers = with lib.maintainers; [ midchildan ];
};
} ''
install -Dm644 \
${powerline.src}/font/PowerlineSymbols.otf \
$out/share/fonts/OTF/PowerlineSymbols.otf
install -Dm644 \
${powerline.src}/font/10-powerline-symbols.conf \
$out/etc/fonts/conf.d/10-powerline-symbols.conf
''