2023-11-01 19:54:06 +03:00
|
|
|
{
|
|
|
|
description = "Flake containing inputs/outputs not intended for overriding by the end-user";
|
|
|
|
|
|
|
|
nixConfig = {
|
|
|
|
extra-trusted-public-keys = "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=";
|
|
|
|
extra-substituters = "https://nix-community.cachix.org";
|
|
|
|
};
|
|
|
|
|
|
|
|
inputs = {
|
2024-02-24 15:25:23 +03:00
|
|
|
nixpkgs.url = "nixpkgs/nixpkgs-unstable";
|
2023-11-01 19:54:06 +03:00
|
|
|
|
|
|
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
|
|
|
flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs";
|
|
|
|
|
|
|
|
flake-compat.url = "github:nix-community/flake-compat/pull/4/head";
|
|
|
|
flake-compat.flake = false;
|
|
|
|
|
2024-04-04 10:57:30 +03:00
|
|
|
# TODO: remove once merged: https://github.com/badboy/mdbook-toc/pull/52
|
|
|
|
mdbook-toc.url = "github:DavHau/mdbook-toc";
|
|
|
|
mdbook-toc.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
2023-11-01 19:54:06 +03:00
|
|
|
pre-commit-hooks.url = "github:cachix/pre-commit-hooks.nix";
|
|
|
|
pre-commit-hooks.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
|
|
|
devshell = {
|
|
|
|
url = "github:numtide/devshell";
|
|
|
|
flake = false;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = {
|
|
|
|
self,
|
|
|
|
devshell,
|
|
|
|
flake-parts,
|
|
|
|
nixpkgs,
|
|
|
|
pre-commit-hooks,
|
|
|
|
...
|
|
|
|
} @ inputs:
|
|
|
|
flake-parts.lib.mkFlake {inherit inputs;} {
|
|
|
|
imports = [
|
|
|
|
../modules/flake-parts/all-modules.nix
|
|
|
|
../pkgs/fetchPipMetadata/flake-module.nix
|
|
|
|
];
|
|
|
|
systems = [
|
|
|
|
"x86_64-linux"
|
|
|
|
"aarch64-linux"
|
|
|
|
"x86_64-darwin"
|
|
|
|
"aarch64-darwin"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|