@@ -1,13 +1,13 @@
1−{ stdenv, fetchFromGitHub, bash, which }:
1+{ stdenv, fetchFromGitHub, bash, which, withFont ? "" }:
22
33stdenv.mkDerivation rec {
4− version = "0.7.0";
4+ version = "0.8.0";
55 name = "nerdfonts-${version}";
66 src = fetchFromGitHub {
77 owner = "ryanoasis";
88 repo = "nerd-fonts";
99 rev = version;
10− sha256 = "0q2h8hpkbid8idi2kvzx5bnhyh65y51k02g7xpv3drjqj08cz7y0";
10+ sha256 = "0n7idfk4460j8g0rw73hzz195pdh4c916hpc5r6dxpvgcmvryzc5";
1111 };
1212 dontPatchShebangs = true;
1313 buildInputs = [ which ];
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717 '';
1818 installPhase = ''
1919 mkdir -p $out/share/fonts/truetype
20− ./install.sh
20+ ./install.sh ${withFont}
2121 '';
2222 meta = with stdenv.lib; {
2323 description = "Nerd Fonts is a project that attempts to patch as many developer targeted and/or used fonts as possible. The patch is to specifically add a high number of additional glyphs from popular 'iconic fonts' such as Font Awesome, Devicons, Octicons, and others.";