Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nixvimInfo: access package.default using tryEval #2228

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MattSturgeon
Copy link
Member

Allow getting meta.homepage from the default package to fail gracefully when the nixpkgs channel lock is out-of-sync with ours.

This is a draft because we still need to:

  • see if this fixes (or at least helps with) end-user mismatched/out-of-sync nixpkgs lock errors
  • add a test to ensure plugin maintainers set a valid URL (or use a package that has meta.homepage)

Allow getting `meta.homepage` from the default package to fail
gracefully when the nixpkgs channel lock is out-of-sync with ours.
@MattSturgeon
Copy link
Member Author

Anyone have a reproducible example that would cause a "not found in pkgs" error without this PR?

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.

1 participant