Hello, is there a way to run flox activate in a way that creates a clean environment with no system tools available (except for some declared exceptions)? That way I can be sure I have declared all required dependencies and everything will work on another machine. It’s also my preferred way to develop since I know nothing from my environment is leaking into my setup unless explicitly allowed.
I saw a post mentioned you can use flox nix develop --ignore-environment but is there first class support for this feature directly using flox?
I think we are already tracking that use case under (How to) Create isolated environments · Issue #2447 · flox/flox · GitHub.
Unfortunately we are not actively working on bringing that feature into Flox as we are wrapping up a different feature at the moment.
However if you could comment or react on that issue that would help us prioritize feature requests from the community.
N.B. the flox nix develop command hasn’t been part of the Flox CLI for a long time, I’m afraid you have uncovered some dusted documentation.