1
0
Fork 0
mirror of https://github.com/numtide/flake-utils.git synced 2024-12-14 11:47:31 +00:00
flake-utils/flake.nix

28 lines
780 B
Nix
Raw Permalink Normal View History

2020-04-11 14:45:25 +00:00
{
description = "Pure Nix flake utility functions";
# 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
};
}