forked from numtide/flake-utils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
27 lines (25 loc) · 780 Bytes
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
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;
};
templates = {
default = self.templates.each-system;
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";
};
};
};
}