diff options
author | Azat Bahawi <azat@bahawi.net> | 2023-06-10 22:21:25 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2023-06-10 22:21:25 +0300 |
commit | 2d4e9a5abfc08386250f42ba0f0c25ae63073d3e (patch) | |
tree | 9ebbc36a66679886df3f7ce673935a58f96f15c9 /lib | |
parent | 2023-06-02 (diff) |
2023-06-10
Diffstat (limited to '')
-rw-r--r-- | lib/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/default.nix b/lib/default.nix index de013c2..4251f7e 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -12,7 +12,7 @@ lib: _: rec { pow = base: exponent: assert (builtins.isInt base) && (builtins.isInt exponent); assert exponent > 0; - builtins.foldl' (x: _: x * base) 1 (builtins.genList _ exponent); + builtins.foldl' (x: _: x * base) 1 (builtins.genList (_: _) exponent); mapListToAttrs = f: xs: builtins.listToAttrs (map (name: { |