about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/default.nix2
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: {

Consider giving Nix/NixOS a try! <3