nerdfonts: fix wrong attribute name in error message (#364463)
[NixPkgs.git] / pkgs / by-name / po / powerline-symbols / package.nix
blob8c23ea08da831727cc6fdbee6aff11d7d12361ad
2   lib,
3   runCommand,
4   powerline,
5 }:
7 let
8   inherit (powerline) version;
9 in
10 runCommand "powerline-symbols-${version}"
11   {
12     meta = {
13       inherit (powerline.meta) license;
14       priority = (powerline.meta.priority or lib.meta.defaultPriority) + 1;
15       maintainers = with lib.maintainers; [ midchildan ];
16     };
17   }
18   ''
19     install -Dm644 \
20       ${powerline.src}/font/PowerlineSymbols.otf \
21       $out/share/fonts/OTF/PowerlineSymbols.otf
22     install -Dm644 \
23       ${powerline.src}/font/10-powerline-symbols.conf \
24       $out/etc/fonts/conf.d/10-powerline-symbols.conf
25   ''