Replies: 1 comment 7 replies
-
Isn't
i would recommend against this for exact these reasons |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Using
direnv
witheval "$(pixi shell-hook)"
in.envrc
is great because "things just work" when working inside the repo, except it takes ~7secs for our large project just tocd
into the directory. (feels even worse when you're in the habit of opening many bash sessions in tmux)Requests:
pixi shell-hook
without the "check" (--skip-check
flag?, probably applies to other pixi commands too)I'm assuming the "check current env against pixi.toml" step is the time consuming part.
My pixi.lock is ~800KB or ~24k lines.
In order to ensure up-to-date env (thinking out loud):
Alternatives considered:
pixi shell-hook
, I considered just doingpath_add .pixi/envs/default/bin
in .envrc, however I found some tools needed the whole env exported to work.Beta Was this translation helpful? Give feedback.
All reactions