lol

fira-code: add option to install regular fonts instead

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>

authored by scrumplex.net and committed by

Robert Helgesson 05b242b1 5448017c

+2 -2
+2 -2
pkgs/data/fonts/fira-code/default.nix
··· 1 - { lib, stdenvNoCC, fetchzip }: 1 + { lib, stdenvNoCC, fetchzip, useVariableFont ? true }: 2 2 3 3 stdenvNoCC.mkDerivation rec { 4 4 pname = "fira-code"; ··· 14 14 installPhase = '' 15 15 runHook preInstall 16 16 17 - install -Dm644 variable_ttf/*-VF.ttf -t $out/share/fonts/truetype 17 + install -Dm644 -t $out/share/fonts/truetype ${if useVariableFont then "variable_ttf/*-VF.ttf" else "ttf/*.ttf"} 18 18 19 19 runHook postInstall 20 20 '';