forked from pub-solar/os
21 lines
428 B
Nix
21 lines
428 B
Nix
args@{ lib, dev, utils, nixpkgs, ... }:
|
|
lib.genAttrs utils.lib.defaultSystems (system:
|
|
lib.makeExtensible (final:
|
|
let
|
|
pkgs = import nixpkgs { inherit system; };
|
|
callLibs = file: import file
|
|
(args // {
|
|
inherit pkgs system;
|
|
pkgs-lib = final;
|
|
});
|
|
in
|
|
with final;
|
|
{
|
|
inherit callLibs;
|
|
|
|
tests = callLibs ./tests;
|
|
shell = callLibs ./shell;
|
|
}
|
|
)
|
|
)
|