iosevka: Declare version in mkDerivation

This commit is contained in:
Riley Inman 2019-09-22 14:10:04 -04:00
parent e1ace0f772
commit 0ef7d0d908

View File

@ -24,9 +24,9 @@ stdenv.mkDerivation rec {
then "iosevka-${set}" then "iosevka-${set}"
else "iosevka"; else "iosevka";
inherit (src) version; version = "2.3.0";
src = nodePackages."iosevka-https://github.com/be5invis/Iosevka/archive/v2.3.0.tar.gz"; src = nodePackages."iosevka-https://github.com/be5invis/Iosevka/archive/v${version}.tar.gz";
sourceRoot = "${src.name}/lib/node_modules/iosevka"; sourceRoot = "${src.name}/lib/node_modules/iosevka";
nativeBuildInputs = [ nativeBuildInputs = [