2025-02-22 16:02:13 +00:00
|
|
|
{
|
|
|
|
description = "Private inputs for development purposes. These are used by the top level flake in the `dev` partition, but do not appear in consumers' lock files.";
|
|
|
|
|
|
|
|
inputs = {
|
2025-03-28 04:41:55 +00:00
|
|
|
# NOTE: Use a different name to the root flake's inputs.nixpkgs to avoid shadowing it.
|
|
|
|
# NOTE: The only reason we specify a nixpkgs input at all here, is so the other inputs can follow it.
|
|
|
|
# TODO: Once nix 2.26 is more prevalent, follow the root flake's inputs using a "path:../.." input.
|
|
|
|
dev-nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
2025-02-22 16:02:13 +00:00
|
|
|
|
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager";
|
2025-03-28 04:41:55 +00:00
|
|
|
inputs.nixpkgs.follows = "dev-nixpkgs";
|
2025-02-22 16:02:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nix-darwin = {
|
|
|
|
url = "github:lnl7/nix-darwin";
|
2025-03-28 04:41:55 +00:00
|
|
|
inputs.nixpkgs.follows = "dev-nixpkgs";
|
2025-02-22 16:02:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
devshell = {
|
|
|
|
url = "github:numtide/devshell";
|
2025-03-28 04:41:55 +00:00
|
|
|
inputs.nixpkgs.follows = "dev-nixpkgs";
|
2025-02-22 16:02:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
treefmt-nix = {
|
|
|
|
url = "github:numtide/treefmt-nix";
|
2025-03-28 04:41:55 +00:00
|
|
|
inputs.nixpkgs.follows = "dev-nixpkgs";
|
2025-02-22 16:02:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
flake-compat.url = "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz";
|
|
|
|
|
|
|
|
git-hooks = {
|
|
|
|
url = "github:cachix/git-hooks.nix";
|
2025-03-28 04:41:55 +00:00
|
|
|
inputs.nixpkgs.follows = "dev-nixpkgs";
|
2025-02-22 16:02:13 +00:00
|
|
|
inputs.flake-compat.follows = "flake-compat";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
# This flake is only used for its inputs.
|
|
|
|
outputs = inputs: { };
|
|
|
|
}
|