3
0
Fork 0
forked from mirrors/nixpkgs

iosevka-bin: make it possible to use sgr-iosevka variants

This commit is contained in:
Artturin 2021-09-07 23:02:28 +03:00
parent a2c2a38f70
commit 81d4455359

View file

@ -3,7 +3,8 @@
}:
let
name = "iosevka" + lib.optionalString (variant != "") "-" + variant;
name = if lib.hasPrefix "sgr" variant then variant
else "iosevka" + lib.optionalString (variant != "") "-" + variant;
variantHashes = import ./variants.nix;
validVariants = map (lib.removePrefix "iosevka-")