diff options
| -rw-r--r-- | snowfall/lib/color-conversion/default.nix (renamed from util/color-conversion.nix) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/color-conversion.nix b/snowfall/lib/color-conversion/default.nix index 969eec1..437b511 100644 --- a/util/color-conversion.nix +++ b/snowfall/lib/color-conversion/default.nix @@ -1,4 +1,5 @@ { lib }: + let hexToDecMap = { "0" = 0; @@ -102,8 +103,7 @@ let hexToDecMap."${lowerHex}" else throw "Character ${hex} is not a hexadecimal value."; -in -rec { +in rec { /* Converts from hexadecimal to decimal. Type: hexToDec :: string -> int |