fix(flake): use nixvim's nixpkgs instead of our own
All checks were successful
/ check (nvimDev) (push) Successful in 5s
/ check (nvimHeadless) (push) Successful in 3s
/ check (nvimNoBundledBins) (push) Successful in 5s
/ check (nvimNoLsp) (push) Successful in 5s
/ check (nvimNoTSGrammars) (push) Successful in 5s
/ check (treefmt) (push) Successful in 2s
/ build (audiomenu) (push) Successful in 1s
/ build (docs) (push) Successful in 1s
/ build (jpassmenu) (push) Successful in 1s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 2s
/ build (nvim) (push) Successful in 2s
/ report-size (push) Successful in 4s

This ensures the `nixpkgs-unstable` we consume is tested against
`nixvim`.
This commit is contained in:
Jalil David Salamé Messina 2025-02-09 12:37:42 +01:00
parent 0964177420
commit 767e5f500a
Signed by: jalil
GPG key ID: F016B9E770737A0B
3 changed files with 28 additions and 27 deletions

View file

@ -1,7 +1,5 @@
{ inputs, ... }: { inputs, ... }:
{ {
flake.overlays.nixvim = inputs.nixvim.overlays.default;
perSystem = perSystem =
{ lib, system, ... }: { lib, system, ... }:
let let

47
flake.lock generated
View file

@ -295,6 +295,22 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_2": {
"locked": {
"lastModified": 1738797219,
"narHash": "sha256-KRwX9Z1XavpgeSDVM/THdFd6uH8rNm/6R+7kIbGa+2s=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "1da52dd49a127ad74486b135898da2cef8c62665",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixvim": { "nixvim": {
"inputs": { "inputs": {
"devshell": [], "devshell": [],
@ -307,20 +323,18 @@
"home-manager" "home-manager"
], ],
"nix-darwin": [], "nix-darwin": [],
"nixpkgs": [ "nixpkgs": "nixpkgs_2",
"unstable"
],
"nuschtosSearch": [], "nuschtosSearch": [],
"treefmt-nix": [ "treefmt-nix": [
"treefmt-nix" "treefmt-nix"
] ]
}, },
"locked": { "locked": {
"lastModified": 1738622717, "lastModified": 1738966895,
"narHash": "sha256-XSFbbhN8xdr4qKRFbubXJ3vkSusKSnALf69G9fdGPXE=", "narHash": "sha256-OXOh35rTEnFSO4vj/SDMIlDvFPGW0ba1XhZkfx+AlL0=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixvim", "repo": "nixvim",
"rev": "6288354d43ada972480cbd10dc7102637eeafc1e", "rev": "e7f20a602f6e08a70045f36c531bc44ba1baed07",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -339,7 +353,10 @@
"stylix": "stylix", "stylix": "stylix",
"systems": "systems", "systems": "systems",
"treefmt-nix": "treefmt-nix", "treefmt-nix": "treefmt-nix",
"unstable": "unstable" "unstable": [
"nixvim",
"nixpkgs"
]
} }
}, },
"stylix": { "stylix": {
@ -468,22 +485,6 @@
"repo": "treefmt-nix", "repo": "treefmt-nix",
"type": "github" "type": "github"
} }
},
"unstable": {
"locked": {
"lastModified": 1738410390,
"narHash": "sha256-xvTo0Aw0+veek7hvEVLzErmJyQkEcRk6PSR4zsRQFEc=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "3a228057f5b619feb3186e986dbe76278d707b6e",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
} }
}, },
"root": "root", "root": "root",

View file

@ -3,10 +3,13 @@
# A helpful description of your flake # A helpful description of your flake
description = "My NixOS configuration"; description = "My NixOS configuration";
# Trick renovate into accepting this lockfile (see https://github.com/renovatebot/renovate/issues/29721)
# "github:NixOS/nixpkgs/nixos-unstable"
# Flake inputs # Flake inputs
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
unstable.url = "github:NixOS/nixpkgs/nixos-unstable"; unstable.follows = "nixvim/nixpkgs";
# Lix # Lix
lix-module = { lix-module = {
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.92.0.tar.gz"; url = "https://git.lix.systems/lix-project/nixos-module/archive/2.92.0.tar.gz";
@ -35,7 +38,6 @@
nixvim = { nixvim = {
url = "github:nix-community/nixvim"; url = "github:nix-community/nixvim";
inputs = { inputs = {
nixpkgs.follows = "unstable";
home-manager.follows = "home-manager"; home-manager.follows = "home-manager";
flake-parts.follows = "flake-parts"; flake-parts.follows = "flake-parts";
treefmt-nix.follows = "treefmt-nix"; treefmt-nix.follows = "treefmt-nix";