2021-04-18 01:56:24 +00:00
|
|
|
args@{ lib, nixpkgs, ... }:
|
|
|
|
lib.genAttrs lib.defaultSystems (system:
|
2021-04-10 17:59:10 +00:00
|
|
|
lib.makeExtensible (final:
|
|
|
|
let
|
2021-04-02 02:10:24 +00:00
|
|
|
pkgs = import nixpkgs { inherit system; };
|
2021-04-10 17:59:10 +00:00
|
|
|
callLibs = file: import file
|
|
|
|
(args // {
|
|
|
|
inherit pkgs system;
|
|
|
|
pkgs-lib = final;
|
|
|
|
});
|
|
|
|
in
|
|
|
|
with final;
|
|
|
|
{
|
|
|
|
inherit callLibs;
|
|
|
|
|
|
|
|
tests = callLibs ./tests;
|
|
|
|
shell = callLibs ./shell;
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|