Repository navigation
Conversation
Assisted-by: Replit
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.
Summary
Add an opt-in
builtins.resolveGoPackagesadapter for hybrid discovery:IETS_GO2NIX_RESOLVERexecutable. Flakes and project settings cannot choose the executable, and the builtin stays absent by default.lib.mkGo2nixResolverto package an existing, ABI-matched Nix/go2nix plugin as the helper. Only that resolver call uses Nix; iets still evaluates the flake and its derivations.The PR targets the existing upload-fix branch so that adopting the adapter preserves the upload correction.
Why
iets does not load native Nix plugins. A flake using go2nix's
resolveGoPackagestherefore falls back to Nix for every affected output. This adapter supplies the missing operation while keeping the existing resolver and toolchain under the host's control.Validation
classic_build,classic_shellande2e_daemon. All four failures were reproduced on the unchanged upload-fix parent. Other test targets passed.The workload replay used
eval-jobs --no-instantiate; it verifies evaluation results, not daemon uploads, builds or a production rollout. No production timing claim is included.Post-publication: the remote head matches the locally tested commit. macOS and both Windows jobs passed; policy review is pending.
Revertibility
Safe to revert. The adapter is off by default; a host can also unset
IETS_GO2NIX_RESOLVERto return to the previous missing-builtin/fallback behavior. No data or protocol migration is involved.~ written by ⠕ Replit