fix: put .pixi/build in detached-environments location#5787
Closed
moritzwilksch wants to merge 1 commit intoprefix-dev:mainfrom
Closed
fix: put .pixi/build in detached-environments location#5787moritzwilksch wants to merge 1 commit intoprefix-dev:mainfrom
.pixi/build in detached-environments location#5787moritzwilksch wants to merge 1 commit intoprefix-dev:mainfrom
Conversation
detached-environments location for .pixi/build dir.pixi/build in detached-environments location
Collaborator
|
sorry, forgot to review this after dealing with the exclude-newer stuff. @ruben-arts solved it in #5855 so i guess we can close this one 😅 |
Contributor
|
Oh sorry this also completely missed my scope 🥲 |
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.
Description
This changes pixi to store the
.pixi/builddirectory alongside the environment in the detached location whendetached-environmentsis enabled.I'm using
detached-environmentsbecause my project directory lives on a slow network filesystem, so I create the pixi environment in a faster, machine-local location. That works well for the environment itself, but.pixi/buildstill gets created in the project directory, which slows things down. It would be more consistent to put that directory in the detached location too.Fixes #4320
How Has This Been Tested?
git clone https://github.com/moritzwilksch/pixi-workspace-demo && cd pixi-workspace-demodetached-environments="/tmp"in~/.pixi/config.tomlpixi installls -l .pixi/AI Disclosure
Tools: Claude, Codex
Checklist:
schema/model.py.