Skip to content

wrappers: use flake-locked lib instead of host's#3977

Merged
MattSturgeon merged 1 commit intonix-community:mainfrom
MattSturgeon:wrappers-import-pinned-lib
Nov 24, 2025
Merged

wrappers: use flake-locked lib instead of host's#3977
MattSturgeon merged 1 commit intonix-community:mainfrom
MattSturgeon:wrappers-import-pinned-lib

Conversation

@MattSturgeon
Copy link
Member

@MattSturgeon MattSturgeon commented Nov 24, 2025

Previously, we constructed Nixvim's extended lib from the host configuration's lib.

Naïvely, this potentially allowed fetching fewer Nixpkgs revisions and instantiating fewer lib instances. However, it also means our lib interface is unstable, especially when the host configuration is using a different Nixpkgs release to Nixvim.

This should fix #3966 (needs testing), a regression caused by #3960.

See also: matrix discussion.

Previously, we constructed Nixvim's extended lib from the host
configuration's lib.

Naïvely, this potentially allowed fetching fewer Nixpkgs revisions and
instantiating fewer lib instances. However, it also means our `lib`
interface is unstable, especially when the host configuration is using a
different Nixpkgs release to Nixvim.
@MattSturgeon MattSturgeon added this pull request to the merge queue Nov 24, 2025
Merged via the queue into nix-community:main with commit 3426dd0 Nov 24, 2025
4 checks passed
@MattSturgeon MattSturgeon deleted the wrappers-import-pinned-lib branch November 24, 2025 01:17
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.

[BUG] <BUG> Nixvim cannot build with attribute 'valueMeta' missing after recent update

3 participants