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