path:
/flake.nix
511 B | plain
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
{
description = "Filesystem-based module system for Nix";
inputs = {
nixpkgs.url = "github:nix-community/nixpkgs.lib";
};
outputs = { self, nixpkgs }: {
checks = self.lib.loadEvalTests {
src = ./tests;
inputs = {
inherit (nixpkgs) lib;
haumea = self.lib;
};
};
lib = import self {
inherit (nixpkgs) lib;
};
templates = {
default = {
path = ./templates/default;
description = "A Nix library";
};
};
};
}