blob: 3976e91dba98ecdf8b225189a62d296ac202b3fc (
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
27
28
29
30
31
32
33
34
35
36
|
{
description = "";
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
compat = {
url = "github:edolstra/flake-compat";
flake = false;
};
parts = {
url = "github:hercules-ci/flake-parts";
inputs.nixpkgs-lib.follows = "nixpkgs";
};
pre-commit = {
url = "github:cachix/pre-commit-hooks.nix";
inputs.nixpkgs.follows = "nixpkgs";
inputs.nixpkgs-stable.follows = "nixpkgs";
inputs.flake-compat.follows = "compat";
};
};
outputs = {
parts,
pre-commit,
...
} @ inputs:
parts.lib.mkFlake {inherit inputs;} {
imports = [
pre-commit.flakeModule
./nix
];
};
}
|