aboutsummaryrefslogtreecommitdiffhomepage
path: root/overlay.nix
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-04-27 16:34:27 +0900
committernsfisis <nsfisis@gmail.com>2025-04-27 16:34:27 +0900
commit939f02ceab3cecf66a399e50e72af46e4d277bd1 (patch)
tree9e44341e8e4eab3911d8285ed5b0d3529a158c9c /overlay.nix
parentf37e8e6866204551eae29aff5cecf706e8167edb (diff)
downloadnur-packages-939f02ceab3cecf66a399e50e72af46e4d277bd1.tar.gz
nur-packages-939f02ceab3cecf66a399e50e72af46e4d277bd1.tar.zst
nur-packages-939f02ceab3cecf66a399e50e72af46e4d277bd1.zip
treefmt
Diffstat (limited to 'overlay.nix')
-rw-r--r--overlay.nix14
1 files changed, 9 insertions, 5 deletions
diff --git a/overlay.nix b/overlay.nix
index bff7396..4272d50 100644
--- a/overlay.nix
+++ b/overlay.nix
@@ -5,11 +5,15 @@
self: super:
let
isReserved = n: n == "lib" || n == "overlays" || n == "modules";
- nameValuePair = n: v: { name = n; value = v; };
+ nameValuePair = n: v: {
+ name = n;
+ value = v;
+ };
nurAttrs = import ./default.nix { pkgs = super; };
in
-builtins.listToAttrs
- (map (n: nameValuePair n nurAttrs.${n})
- (builtins.filter (n: !isReserved n)
- (builtins.attrNames nurAttrs)))
+builtins.listToAttrs (
+ map (n: nameValuePair n nurAttrs.${n}) (
+ builtins.filter (n: !isReserved n) (builtins.attrNames nurAttrs)
+ )
+)