mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
bahaghari/lib: fix toBaseDigitsWithGlyphs
This commit is contained in:
parent
d0f57db0aa
commit
7159fc597f
@ -39,8 +39,8 @@
|
||||
*/
|
||||
toBaseDigitsWithGlyphs = base: i: glyphs:
|
||||
let
|
||||
baseDigits = pkgs.lib.toBaseDigits i;
|
||||
toBaseDigits = d: glyphs.${builtins.toString i};
|
||||
baseDigits = pkgs.lib.toBaseDigits base i;
|
||||
toBaseDigits = d: glyphs.${builtins.toString d};
|
||||
in
|
||||
pkgs.lib.concatMapStrings toBaseDigits baseDigits;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user