about summary refs log tree commit diff stats
path: root/flake/packages
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-10-08 11:36:15 +0200
committerSoispha <soispha@vhack.eu>2023-10-08 11:36:15 +0200
commitd2f492003b4fa5211a57a9adfb1fd9baf73f10e4 (patch)
tree65c94b68d7b265d597f4001f93e0591f2e19df42 /flake/packages
parentfix(hm/conf/python): Set the sessionVariables in zsh context (diff)
downloadnixos-config-d2f492003b4fa5211a57a9adfb1fd9baf73f10e4.tar.gz
nixos-config-d2f492003b4fa5211a57a9adfb1fd9baf73f10e4.zip
fix(flake/packages): Apply eta-reduction
Diffstat (limited to '')
-rw-r--r--flake/packages/default.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/flake/packages/default.nix b/flake/packages/default.nix
index a78b45c5..7d91f2bf 100644
--- a/flake/packages/default.nix
+++ b/flake/packages/default.nix
@@ -30,15 +30,14 @@
             config = value.config.home-manager.users.soispha;
           };
 
-        merge_attrs = list_of_attrs: merge list_of_attrs;
         resolve_imports = attrs:
-          merge_attrs (builtins.map (v: import v build_args)
+          merge (builtins.map (v: import v build_args)
             attrs.imports);
 
         resolve_imports' = attrs:
           if builtins.any (n: n == "imports") (builtins.attrNames attrs)
           then
-            resolve_imports' (merge_attrs [
+            resolve_imports' (merge [
               (resolve_imports attrs)
               (builtins.removeAttrs
                 attrs