Skip to content

Conversation

@nixvim-ci
Copy link
Contributor

@nixvim-ci nixvim-ci bot commented Dec 4, 2025

Root lockfile

flake.lock updates:
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/f720de59066162ee879adcc8c79e15c51fe6bfb4?narHash=sha256-mvbFFzVBhVK1FjyPHZGMAKpNiqkr7k%2B%2BxIwy%2Bp/NQvA%3D' (2025-12-02)
  → 'github:NixOS/nixpkgs/ebc94f855ef25347c314258c10393a92794e7ab9?narHash=sha256-UMVihg0OQ980YqmOAPz%2BzkuCEb9hpE5Xj2v%2BZGNjQ%2BM%3D' (2025-12-03)

Dev lockfile

flake/dev/flake.lock updates:
• Updated input 'dev-nixpkgs':
    'github:NixOS/nixpkgs/f720de59066162ee879adcc8c79e15c51fe6bfb4?narHash=sha256-mvbFFzVBhVK1FjyPHZGMAKpNiqkr7k%2B%2BxIwy%2Bp/NQvA%3D' (2025-12-02)
  → 'github:NixOS/nixpkgs/ebc94f855ef25347c314258c10393a92794e7ab9?narHash=sha256-UMVihg0OQ980YqmOAPz%2BzkuCEb9hpE5Xj2v%2BZGNjQ%2BM%3D' (2025-12-03)
• Updated input 'flake-compat':
    'github:NixOS/flake-compat/01ad7ce89c455171e4f864799b21d0785ba94a3a?narHash=sha256-bHDJDoMHMMctf90Ug0po2LNanPgdB8aRl0psH7%2BTWzc%3D' (2025-10-27)
  → 'github:NixOS/flake-compat/4dd386262c30922367e6b549c81e9cbdf8f3132f?narHash=sha256-JbjxGEA9gVRZ47LylRFe7TLVjI2KaoW0cwflbQ2apBs%3D' (2025-12-04)
• Updated input 'home-manager':
    'github:nix-community/home-manager/bcc7afa1d873ead5932fbb4d42f1916a9627c084?narHash=sha256-Q/%2B03EAvtzCbhGXv7yLsYh%2BpXIzLUgibpQKxo5CI2bk%3D' (2025-12-03)
  → 'github:nix-community/home-manager/d441981b200305ebb8e2e2921395f51d207fded6?narHash=sha256-QCgaXEj8036JlfyVM2e5fgKIxoF7IgGRcAi8LkehKvo%3D' (2025-12-04)

This PR was most recently updated by workflow run 19928700479.

You can re-run the update by going to the workflow's page or by using the gh command:

gh workflow run update.yml

If needed, you can also specify workflow inputs on the command line, using the -F --field, -f --raw-field, or --json flags.
See gh workflow run --help.

nixvim-ci bot and others added 3 commits December 4, 2025 12:19
flake.lock updates:
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/f720de59066162ee879adcc8c79e15c51fe6bfb4?narHash=sha256-mvbFFzVBhVK1FjyPHZGMAKpNiqkr7k%2B%2BxIwy%2Bp/NQvA%3D' (2025-12-02)
  → 'github:NixOS/nixpkgs/ebc94f855ef25347c314258c10393a92794e7ab9?narHash=sha256-UMVihg0OQ980YqmOAPz%2BzkuCEb9hpE5Xj2v%2BZGNjQ%2BM%3D' (2025-12-03)

flake/dev/flake.lock updates:
• Updated input 'dev-nixpkgs':
    'github:NixOS/nixpkgs/f720de59066162ee879adcc8c79e15c51fe6bfb4?narHash=sha256-mvbFFzVBhVK1FjyPHZGMAKpNiqkr7k%2B%2BxIwy%2Bp/NQvA%3D' (2025-12-02)
  → 'github:NixOS/nixpkgs/ebc94f855ef25347c314258c10393a92794e7ab9?narHash=sha256-UMVihg0OQ980YqmOAPz%2BzkuCEb9hpE5Xj2v%2BZGNjQ%2BM%3D' (2025-12-03)
• Updated input 'flake-compat':
    'github:NixOS/flake-compat/01ad7ce89c455171e4f864799b21d0785ba94a3a?narHash=sha256-bHDJDoMHMMctf90Ug0po2LNanPgdB8aRl0psH7%2BTWzc%3D' (2025-10-27)
  → 'github:NixOS/flake-compat/4dd386262c30922367e6b549c81e9cbdf8f3132f?narHash=sha256-JbjxGEA9gVRZ47LylRFe7TLVjI2KaoW0cwflbQ2apBs%3D' (2025-12-04)
• Updated input 'home-manager':
    'github:nix-community/home-manager/bcc7afa1d873ead5932fbb4d42f1916a9627c084?narHash=sha256-Q/%2B03EAvtzCbhGXv7yLsYh%2BpXIzLUgibpQKxo5CI2bk%3D' (2025-12-03)
  → 'github:nix-community/home-manager/d441981b200305ebb8e2e2921395f51d207fded6?narHash=sha256-QCgaXEj8036JlfyVM2e5fgKIxoF7IgGRcAi8LkehKvo%3D' (2025-12-04)
@GaetanLepage GaetanLepage added this pull request to the merge queue Dec 4, 2025
Merged via the queue into main with commit 8e85c25 Dec 4, 2025
4 checks passed
@GaetanLepage GaetanLepage deleted the update/main branch December 4, 2025 23:59
@BryceBeagle
Copy link

BryceBeagle commented Dec 5, 2025

I believe this commit is causing me this error:

$ sudo nixos-rebuild --flake . switch --upgrade-all
...

       error: tclint cannot be found in pkgs

Downgrading nixvim to one commit prior makes this go away.

It looks like tclint was just added to nixpkgs in NixOS/nixpkgs#464961 but hasn't made its way to unstable yet.

Is this expected to be used yet -- should HEAD of nixvim be relying on something not even in unstable yet?

(Forgive the ignorance, I actually don't know what's standard practice here or what behavior I should be expecting)

@saygo-png
Copy link
Contributor

   error: tclint cannot be found in pkgs

I think this is caused by
https://github.com/BryceBeagle/nixos-config/blob/9ed8452a434d405355220d2aef7d98415a6af9bb/flake.nix#L32
If you remove the follows line it should work. I tested my config after updating and it builds fine, even if i include tclfmt in the conform plugin. We test against our revision of nixpkgs, if you override it with follows you run an unsupported Nixvim configuration and will run into problems occasionally.

Though it makes me wonder why this is not lazy... i'd expect this to only trigger if you are actually using tclfmt in Conform but you don't even use the autoinstall option. I'll check this out later

@MattSturgeon
Copy link
Member

Though it makes me wonder why this is not lazy...

I think this is because we are checking the value of packages, to see if they are things like "unpackaged". Therefore every package gets evaluated.

Instead, I think we need to separate "special" tagged package names from actual inherits, using separate attrsets.

@saygo-png
Copy link
Contributor

saygo-png commented Dec 6, 2025

I think this is because we are checking the value of packages, to see if they are things like "unpackaged". Therefore every package gets evaluated.

This doesn't make sense to me because i'm only checking if a name exists in multiple attrsets, and only after it does do i check what value it is. And this entire thing only happens when autoinstall is enabled, which it wasn't here.

I tried replicating this error and i can't. I set some package-formatters to throw or trace and made up a bogus formatter. Neither gave me the error listed or triggered when they weren't used. I think this is actually coming from lspconfig packages which are not lazy, not conform. Both were added in this commit.

Now I have even tried using an old commit from before tclint was added to nixpkgs, and then using follows and i still can't replicate it! I tried using plugins.lsp, lsp and conform and none of them throw... I only get an error if I try using tclint in lsp or conform.

In conform the error is

       error: undefined variable 'tclint'
       at /nix/store/ccbgfi5ydxxjlgixd00bn7alvvxwwnja-source/plugins/by-name/conform-nvim/formatter-packages.nix:152:14:
          151|     inherit (rubyPackages) syntax_tree;
          152|     tclfmt = tclint;
             |              ^
          153|     terraform_fmt = tenv;

But in lsp with lsp.servers.tclsp.enable = true; it is

/modules/lsp/servers/server.nix':

       … while evaluating the option `lsp.servers.tclsp.package':

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: tclint cannot be found in pkgs

Which is why i think this is an lsponfig issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants