mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-14 19:24:34 +02:00
Pin flake-compat to https://github.com/edolstra/flake-compat/pull/75 which fixes https://github.com/edolstra/flake-compat/issues/74 If the flake is a shallow git repo, such as when fetched in CI, flake-compat was failing to run in nix-instantiate. Flake lock file updates: • Updated input 'flake-compat': 'https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.1.0/01948eb7-9cba-704f-bbf3-3fa956735b52/source.tar.gz?narHash=sha256-NeCCThCEP3eCl2l/%2B27kNNK7QrwZB1IJCrXfrbv5oqU%3D' (2024-12-04) → 'github:edolstra/flake-compat/b70558fcb45e248abd2a0add41cfb6464c94eb03?narHash=sha256-JtdaTv%2B1VIiZpLsULCSQte6Qg3ew5axbdpOYjo%2B8D2U%3D' (2025-07-12)
47 lines
1.6 KiB
Nix
47 lines
1.6 KiB
Nix
{
|
|
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 = {
|
|
# 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";
|
|
|
|
# flake-compat is used by the root `default.nix` to allow non-flake users to import nixvim
|
|
#
|
|
# The pinned PR resolves an issue with shallow clones, such as those used by CI.
|
|
flake-compat.url = "github:edolstra/flake-compat?ref=pull/75/merge";
|
|
|
|
# keep-sorted start block=yes newline_separated=yes
|
|
devshell = {
|
|
url = "github:numtide/devshell";
|
|
inputs.nixpkgs.follows = "dev-nixpkgs";
|
|
};
|
|
|
|
git-hooks = {
|
|
url = "github:cachix/git-hooks.nix";
|
|
inputs.nixpkgs.follows = "dev-nixpkgs";
|
|
inputs.flake-compat.follows = "flake-compat";
|
|
};
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "dev-nixpkgs";
|
|
};
|
|
|
|
nix-darwin = {
|
|
url = "github:lnl7/nix-darwin";
|
|
inputs.nixpkgs.follows = "dev-nixpkgs";
|
|
};
|
|
|
|
treefmt-nix = {
|
|
url = "github:numtide/treefmt-nix";
|
|
inputs.nixpkgs.follows = "dev-nixpkgs";
|
|
};
|
|
|
|
# keep-sorted end
|
|
};
|
|
|
|
# This flake is only used for its inputs.
|
|
outputs = inputs: { };
|
|
}
|