-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdefault.nix
More file actions
27 lines (24 loc) · 763 Bytes
/
default.nix
File metadata and controls
27 lines (24 loc) · 763 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
let
sources = import ./npins;
with-inputs = import sources.with-inputs sources (inputs: {
# uncomment for local checkout on CI
# flake-file = import ./../../modules;
helium.inputs.utils.follows = "flake-utils";
flake-utils.lib.eachDefaultSystem =
let
inherit (inputs.nixpkgs) lib;
eachSystem = lib.genAttrs lib.systems.flakeExposed;
transpose = inputs.flake-aspects { inherit lib; };
in
cb: transpose (eachSystem cb);
nixpkgs-lib.follows = "nixpkgs";
jjui.inputs.flake-parts.follows = "fp";
});
outputs =
inputs:
(inputs.nixpkgs.lib.evalModules {
modules = [ (inputs.import-tree ./modules) ];
specialArgs = { inherit inputs; };
}).config;
in
with-inputs outputs