From 2d4e9a5abfc08386250f42ba0f0c25ae63073d3e Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Sat, 10 Jun 2023 22:21:25 +0300 Subject: 2023-06-10 --- lib/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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: { -- cgit 1.4.1