Format using nixfmt rfc style
This commit is contained in:
parent
d07a224bbc
commit
f6be5f8b80
37 changed files with 934 additions and 612 deletions
|
|
@ -1,4 +1,9 @@
|
|||
{ inputs, lib, pkgs, ... }:
|
||||
{
|
||||
inputs,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
inherit (lib) makeExtensible attrValues foldr;
|
||||
|
|
@ -6,13 +11,25 @@ let
|
|||
|
||||
modules = import ./modules.nix {
|
||||
inherit lib;
|
||||
self.attrs = import ./attrs.nix { inherit lib; self = { }; };
|
||||
self.attrs = import ./attrs.nix {
|
||||
inherit lib;
|
||||
self = { };
|
||||
};
|
||||
};
|
||||
|
||||
mylib = makeExtensible (self:
|
||||
with self; mapModules ./.
|
||||
(file: import file { inherit self lib pkgs inputs; }));
|
||||
mylib = makeExtensible (
|
||||
self:
|
||||
mapModules ./. (
|
||||
file:
|
||||
import file {
|
||||
inherit
|
||||
self
|
||||
lib
|
||||
pkgs
|
||||
inputs
|
||||
;
|
||||
}
|
||||
)
|
||||
);
|
||||
in
|
||||
mylib.extend
|
||||
(self: super:
|
||||
foldr (a: b: a // b) { } (attrValues super))
|
||||
mylib.extend (self: super: foldr (a: b: a // b) { } (attrValues super))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue