improvements - #48
Closed
jbadeau wants to merge 86 commits into
Closed
Conversation
- Fix backend_list_versions to return empty list when package not found in nixhub, allowing flake reference versions to work - Remove ghe+ and gli+ prefix support (use https+ instead) - Fix nested path support for github+ and gitlab+ prefixes - Fix Lua pattern bug (| doesn't work as alternation in Lua) - Simplify parse_git_ref_syntax (Nix handles URL formats natively) - Add unit tests for custom git prefix conversions - Add e2e tests for GitLab sources and https+ syntax
Add a new environment subsystem that exposes runtime env vars (JAVA_HOME, GOROOT, MANPATH, etc.) from Nix packages, with profile-based multi-output linking. Key changes: - nix_env.lua: caches `nix print-dev-env` at install time, reads instantly at exec time. Filters build-time vars, merges runtime vars on top of PATH fallback. Store-path hints for JAVA_HOME/GOROOT. - output_join.lua: profile-based linking (runtime/dev) of common subpaths (bin, share/man, share/doc, completions, etc.) from all nix outputs. - backend_exec_env.lua: uses nix_env.for_context() with pcall fallback. - install.lua: calls output_join and env cache after build. Config: MISE_NIX_ENV_MODE (auto/dev-env/path-only), MISE_NIX_LINK_PROFILE (runtime/dev), MISE_NIX_LINK_PATHS override.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.