-
Notifications
You must be signed in to change notification settings - Fork 11
/
flake.nix
56 lines (49 loc) · 1.66 KB
/
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
description = "Noogle.dev | Discover the nix api surface";
inputs = {
# --- sources of documentation ---
# Updated automatically
nixpkgs-master.url = "nixpkgs/master";
nix-master.url = "github:NixOS/nix/?ref=master";
# --- Other flake inputs ---
nixpkgs.url = "nixpkgs/nixos-unstable";
# A custom nix version, to introspect lambda values.
nix.url = "github:hsjobeki/nix/?ref=feat/positions";
pre-commit-hooks = {
url = "github:cachix/pre-commit-hooks.nix";
inputs.nixpkgs.follows = "nixpkgs";
};
flake-parts.url = "github:hercules-ci/flake-parts";
flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs";
treefmt-nix.url = "github:numtide/treefmt-nix";
treefmt-nix.inputs.nixpkgs.follows = "nixpkgs";
crane.url = "github:ipetkov/crane";
crane.inputs.nixpkgs.follows = "nixpkgs";
floco.url = "github:aakropotkin/floco";
floco.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = inputs@{ flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } ({ ... }: {
systems = [ "x86_64-linux" ];
imports = [
./devShell.nix
./preCommit.nix
./website/flake-module.nix
./salt/flake-module.nix
./pasta/flake-module.nix
./pesto/flake-module.nix
# Deprecated. Will be removed.
./codemod/flake-module.nix
];
perSystem = { inputs', ... }: {
packages = {
# nix = inputs'.nix-master.packages.nix-cli.overrideAttrs (prev: {
# # doCheck = false;
# mesonFlags = prev.mesonFlags or [] ++ [
# "-Dunit-tests=false"
# ];
# });
};
};
});
}