flake/dev: drop dev-nixpkgs for nixvim path ref

flake/dev/flake.lock updates:
• Removed input 'dev-nixpkgs'
• Updated input 'devshell/nixpkgs':
    follows 'dev-nixpkgs'
  → follows 'nixvim/nixpkgs'
• Updated input 'git-hooks/nixpkgs':
    follows 'dev-nixpkgs'
  → follows 'nixvim/nixpkgs'
• Updated input 'home-manager/nixpkgs':
    follows 'dev-nixpkgs'
  → follows 'nixvim/nixpkgs'
• Updated input 'nix-darwin/nixpkgs':
    follows 'dev-nixpkgs'
  → follows 'nixvim/nixpkgs'
• Added input 'nixvim':
    'path:../..'
• Added input 'nixvim/flake-parts':
    'github:hercules-ci/flake-parts/f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb?narHash=sha256-m1Yf0wZ8j1OHjTc2UwHwyQRSnNeSgLJOd7q5Y45hzi4%3D' (2026-05-13)
• Added input 'nixvim/flake-parts/nixpkgs-lib':
    follows 'nixvim/nixpkgs'
• Added input 'nixvim/nixpkgs':
    'github:NixOS/nixpkgs/d99b013d5d1931ad77fe3912ed218170dec5d9a4?narHash=sha256-7DKWmH23hL2eYdkxCKeqj2i%2ByljTKuU%2B3Nk1UPHOnxc%3D' (2026-05-20)
• Added input 'nixvim/systems':
    'github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e?narHash=sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768%3D' (2023-04-09)
• Updated input 'nuschtosSearch/nixpkgs':
    follows 'dev-nixpkgs'
  → follows 'nixvim/nixpkgs'
• Updated input 'treefmt-nix/nixpkgs':
    follows 'dev-nixpkgs'
  → follows 'nixvim/nixpkgs'
This commit is contained in:
Matt Sturgeon 2026-05-24 16:23:21 +01:00
parent 01bd278849
commit 860304dd63
3 changed files with 93 additions and 39 deletions

View file

@ -108,12 +108,8 @@ writeShellApplication {
fi
# Update the dev lockfile
root_nixpkgs=$(nix eval --raw --file . 'inputs.nixpkgs.rev')
echo "Updating dev lockfile"
nix flake update \
--override-input 'dev-nixpkgs' "github:NixOS/nixpkgs/$root_nixpkgs" \
--flake './flake/dev' \
2> >(tee "$dev_update" >&2)
nix flake update --flake './flake/dev' 2> >(tee "$dev_update" >&2)
cleanUpdateOutput "$dev_update" > "$dev_msg"
if [ -s "$dev_msg" ]; then
{

106
flake/dev/flake.lock generated
View file

@ -1,25 +1,10 @@
{
"nodes": {
"dev-nixpkgs": {
"locked": {
"lastModified": 1779259093,
"narHash": "sha256-7DKWmH23hL2eYdkxCKeqj2i+yljTKuU+3Nk1UPHOnxc=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "d99b013d5d1931ad77fe3912ed218170dec5d9a4",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"devshell": {
"inputs": {
"nixpkgs": [
"dev-nixpkgs"
"nixvim",
"nixpkgs"
]
},
"locked": {
@ -51,9 +36,30 @@
"type": "github"
}
},
"flake-parts": {
"inputs": {
"nixpkgs-lib": [
"nixvim",
"nixpkgs"
]
},
"locked": {
"lastModified": 1778716662,
"narHash": "sha256-m1Yf0wZ8j1OHjTc2UwHwyQRSnNeSgLJOd7q5Y45hzi4=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"flake-utils": {
"inputs": {
"systems": "systems"
"systems": "systems_2"
},
"locked": {
"lastModified": 1731533236,
@ -76,7 +82,8 @@
],
"gitignore": "gitignore",
"nixpkgs": [
"dev-nixpkgs"
"nixvim",
"nixpkgs"
]
},
"locked": {
@ -117,7 +124,8 @@
"home-manager": {
"inputs": {
"nixpkgs": [
"dev-nixpkgs"
"nixvim",
"nixpkgs"
]
},
"locked": {
@ -163,7 +171,8 @@
"nix-darwin": {
"inputs": {
"nixpkgs": [
"dev-nixpkgs"
"nixvim",
"nixpkgs"
]
},
"locked": {
@ -180,12 +189,45 @@
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1779259093,
"narHash": "sha256-7DKWmH23hL2eYdkxCKeqj2i+yljTKuU+3Nk1UPHOnxc=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "d99b013d5d1931ad77fe3912ed218170dec5d9a4",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixvim": {
"inputs": {
"flake-parts": "flake-parts",
"nixpkgs": "nixpkgs",
"systems": "systems"
},
"locked": {
"path": "../..",
"type": "path"
},
"original": {
"path": "../..",
"type": "path"
},
"parent": []
},
"nuschtosSearch": {
"inputs": {
"flake-utils": "flake-utils",
"ixx": "ixx",
"nixpkgs": [
"dev-nixpkgs"
"nixvim",
"nixpkgs"
]
},
"locked": {
@ -205,12 +247,12 @@
},
"root": {
"inputs": {
"dev-nixpkgs": "dev-nixpkgs",
"devshell": "devshell",
"flake-compat": "flake-compat",
"git-hooks": "git-hooks",
"home-manager": "home-manager",
"nix-darwin": "nix-darwin",
"nixvim": "nixvim",
"nuschtosSearch": "nuschtosSearch",
"treefmt-nix": "treefmt-nix"
}
@ -230,10 +272,26 @@
"type": "github"
}
},
"systems_2": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"treefmt-nix": {
"inputs": {
"nixpkgs": [
"dev-nixpkgs"
"nixvim",
"nixpkgs"
]
},
"locked": {

View file

@ -2,10 +2,10 @@
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";
# Nix 2.26 improved support for relative path flake inputs.
# This dev-flake is only evaluated by flake-parts' flake-compat,
# and is only managed by our update CI, so we can safely rely on it.
nixvim.url = ../..;
# flake-compat is used by the root `default.nix` to allow non-flake users to import nixvim
flake-compat.url = "github:NixOS/flake-compat";
@ -13,34 +13,34 @@
# keep-sorted start block=yes newline_separated=yes
devshell = {
url = "github:numtide/devshell";
inputs.nixpkgs.follows = "dev-nixpkgs";
inputs.nixpkgs.follows = "nixvim/nixpkgs";
};
git-hooks = {
url = "github:cachix/git-hooks.nix";
inputs.nixpkgs.follows = "dev-nixpkgs";
inputs.nixpkgs.follows = "nixvim/nixpkgs";
inputs.flake-compat.follows = "flake-compat";
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "dev-nixpkgs";
inputs.nixpkgs.follows = "nixvim/nixpkgs";
};
nix-darwin = {
url = "github:lnl7/nix-darwin";
inputs.nixpkgs.follows = "dev-nixpkgs";
inputs.nixpkgs.follows = "nixvim/nixpkgs";
};
nuschtosSearch = {
# TODO: newer versions fail with: TimeoutError: The operation was aborted due to timeout
url = "github:NuschtOS/search/b6f77b88e9009bfde28e2130e218e5123dc66796";
inputs.nixpkgs.follows = "dev-nixpkgs";
inputs.nixpkgs.follows = "nixvim/nixpkgs";
};
treefmt-nix = {
url = "github:numtide/treefmt-nix";
inputs.nixpkgs.follows = "dev-nixpkgs";
inputs.nixpkgs.follows = "nixvim/nixpkgs";
};
# keep-sorted end