eab0bf074c
Also format all files and add a flake.lock for lib for a folder thats meant to work on other flakes theres never a reason it should need to refer to itself, only other flakes. So "self" and "inputs" are better namings for these variables. The userFlake* is redundant and confusing, when trying to call the functions its hard to figure out how to use them when there are now two lines of arguments to figure out.
13 lines
314 B
Nix
13 lines
314 B
Nix
{ lib, nixpkgs, deploy, devshell }:
|
|
|
|
lib.genAttrs
|
|
lib.defaultSystems
|
|
(system:
|
|
let
|
|
pkgs = import nixpkgs { inherit system; };
|
|
in
|
|
{
|
|
tests = import ./tests { inherit lib deploy nixpkgs pkgs system; };
|
|
shell = import ./shell { inherit lib devshell deploy nixpkgs system; };
|
|
}
|
|
)
|