-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
50 lines (44 loc) · 1.09 KB
/
flake.nix
File metadata and controls
50 lines (44 loc) · 1.09 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
description = "my flake";
# Add all your dependencies here
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
blueprint = {
url = "github:numtide/blueprint";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-github-actions = {
url = "github:nix-community/nix-github-actions";
inputs.nixpkgs.follows = "nixpkgs";
};
treefmt-nix = {
url = "github:numtide/treefmt-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
nixConfig = {
extra-substituters = [ "https://freecad-nix.cachix.org" ];
extra-trusted-public-keys = [
"freecad-nix.cachix.org-1:4udrBfknw1PmAxiLtiyiij7in4jlU//l64G7zaAYYYE="
];
};
# Keep the magic invocations to minimum.
outputs =
inputs@{
self,
nix-github-actions,
nixpkgs,
...
}:
let
supportedSystems = [ "x86_64-linux" ];
in
(
inputs.blueprint { inherit inputs; }
// {
githubActions = nix-github-actions.lib.mkGithubMatrix {
checks = nixpkgs.lib.getAttrs supportedSystems self.packages;
};
}
);
}