Closed haohaolee closed 2 months ago
I found the answer myself:
devbox shell --omit-nix-env=true
But I am wondering why this switch is not even mentioned in devbox help shell
?
@haohaolee to explain a bit about what's happening here. That gcc
from nix store is introduced by the nix environment. We added this --omit-nix-env
as a temporary measure for devbox global
to work properly.
That --omit-nix-env
is a hidden flag for now, because we don't like the design of users needing to opt-in to the nix environment versus not. Instead Devbox should be smart enough to include the parts of nix-environment that certain packages need. However, that work is still uncertain in scope.
is the same possible for devbox run
?
Hi Hivemind,
I am a beginner of devbox. I want to use the new version of cmake, so I
devbox add cmake
anddevbox shell
, but when I tried to look for my compiler, I found that:I didn't intend to install gcc, and the installed gcc hide my system one:
Why is like this and how can I resolve it?
Thanks