b6f2ab0a42
GitOrigin-RevId: 253aecf69ed7595aaefabde779aa6449195bebb7
18 lines
523 B
Nix
18 lines
523 B
Nix
{ lib, runCommand, powerline }:
|
|
|
|
let
|
|
inherit (powerline) version;
|
|
in runCommand "powerline-symbols-${version}" {
|
|
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
|
|
''
|