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