diff options
| author | quentin@aristote.fr <quentin@aristote.fr> | 2023-09-17 18:40:48 +0200 |
|---|---|---|
| committer | quentin@aristote.fr <quentin@aristote.fr> | 2023-09-17 18:40:48 +0200 |
| commit | eebffc190776afdb92ef959270c4863bf21a3cf8 (patch) | |
| tree | 68c7bd8fa25b9044213b67c34adba822445c65f2 /default.nix | |
| parent | 7f5f01ef3d3eb56a24db31b7ddf85fc4ce3b37fc (diff) | |
reformat code
Diffstat (limited to 'default.nix')
| -rw-r--r-- | default.nix | 37 |
1 files changed, 21 insertions, 16 deletions
diff --git a/default.nix b/default.nix index 325cc58..11fd374 100644 --- a/default.nix +++ b/default.nix @@ -1,21 +1,26 @@ -{ markup, pkgs, ... }: - -let +{ + markup, + pkgs, + ... +}: let files = ./files; - commonArgs = markup // { - inherit files make pkgs; - inherit (pkgs) lib; - }; - make = path: overrides: - let f = import path; - in f ((builtins.intersectAttrs (builtins.functionArgs f) commonArgs) + commonArgs = + markup + // { + inherit files make pkgs; + inherit (pkgs) lib; + }; + make = path: overrides: let + f = import path; + in + f ((builtins.intersectAttrs (builtins.functionArgs f) commonArgs) // overrides); in { inherit files; - basics = make ./basics { }; - publications = make ./publications { }; - experience = make ./experience { }; - languages = make ./languages { }; - education = make ./education { }; - software = make ./software { }; + basics = make ./basics {}; + publications = make ./publications {}; + experience = make ./experience {}; + languages = make ./languages {}; + education = make ./education {}; + software = make ./software {}; } |
