noogle/flake.nix

45 lines
1.3 KiB
Nix
Raw Normal View History

2022-11-26 12:36:08 +03:00
{
2023-11-23 14:31:33 +03:00
description = "Noogle.dev | Discover the nix api surface";
2023-01-25 17:54:44 +03:00
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
2023-11-29 23:37:07 +03:00
nixpkgs-master.url = "nixpkgs/master";
2023-12-22 22:34:22 +03:00
# A custom nix version, to introspect lambda values.
nix.url = "github:hsjobeki/nix/?ref=feat/positions";
2023-01-25 17:54:44 +03:00
pre-commit-hooks = {
url = "github:cachix/pre-commit-hooks.nix";
inputs.nixpkgs.follows = "nixpkgs";
};
2023-11-23 14:31:33 +03:00
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";
2022-11-26 12:36:08 +03:00
crane.url = "github:ipetkov/crane";
crane.inputs.nixpkgs.follows = "nixpkgs";
2023-11-23 14:31:33 +03:00
floco.url = "github:aakropotkin/floco";
floco.inputs.nixpkgs.follows = "nixpkgs";
};
2023-11-23 14:31:33 +03:00
outputs = inputs@{ flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } ({ ... }: {
systems = [ "x86_64-linux" ];
imports = [
./devShell.nix
./preCommit.nix
./website/flake-module.nix
2023-12-22 23:09:02 +03:00
./salt/flake-module.nix
./pasta/flake-module.nix
./pesto/flake-module.nix
2023-11-29 23:37:07 +03:00
# Deprecated. Will be removed.
2023-12-22 22:34:22 +03:00
./codemod/flake-module.nix
2023-11-29 23:37:07 +03:00
./indexer/flake-module.nix
./scripts/flake-module.nix
];
2023-11-23 14:31:33 +03:00
});
2022-11-26 12:36:08 +03:00
}
2023-11-25 19:30:43 +03:00