forked from mirrors/nixpkgs
iosevka-bin: make it possible to use sgr-iosevka variants
This commit is contained in:
parent
a2c2a38f70
commit
81d4455359
|
@ -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-")
|
||||
|
|
Loading…
Reference in a new issue