2020-04-11 14:45:25 +00:00
|
|
|
{
|
|
|
|
description = "Pure Nix flake utility functions";
|
2023-04-09 10:34:52 +00:00
|
|
|
|
|
|
|
# Externally extensible flake systems. See <https://github.com/nix-systems/nix-systems>.
|
|
|
|
inputs.systems.url = "github:nix-systems/default";
|
|
|
|
|
|
|
|
outputs = { self, systems }: {
|
|
|
|
lib = import ./lib.nix {
|
|
|
|
defaultSystems = import systems;
|
|
|
|
};
|
2022-05-17 07:58:38 +00:00
|
|
|
templates = {
|
2023-04-09 10:49:34 +00:00
|
|
|
default = self.templates.each-system;
|
2022-05-17 07:58:38 +00:00
|
|
|
simple-flake = {
|
|
|
|
path = ./examples/simple-flake;
|
|
|
|
description = "A flake using flake-utils.lib.simpleFlake";
|
|
|
|
};
|
|
|
|
each-system = {
|
|
|
|
path = ./examples/each-system;
|
|
|
|
description = "A flake using flake-utils.lib.eachDefaultSystem";
|
|
|
|
};
|
|
|
|
check-utils = {
|
|
|
|
path = ./examples/check-utils;
|
|
|
|
description = "A flake with tests";
|
|
|
|
};
|
|
|
|
};
|
2020-04-11 14:45:25 +00:00
|
|
|
};
|
|
|
|
}
|