Flox 1.13.0 is released!
Features
flox deactivateis now available. Use it to leave an active environment and return your shell to its previous state, without closing the shell or terminal the wayexitwould.- A new
profile.deactivatesection for scripts that run when an environment is deactivated. Requires settingschema-version = "1.13.0". flox upgradeoutput now distinguishes version changes (curl: 8.9.0 -> 8.10.1) from same-version rebuilds (terraform-docs: 0.21.0 (rebuild, ...)) and summarizes them as “N version changes and M rebuilds”.- Manifest builds support two new
sandboxlevels,warnandenforce, alongsideoffandpure, plus asandbox-allowallow-list for files outside the build closure. Requires settingschema-version = "1.13.0". - A new
disable_hookconfig option skips installing the prompt hook when set totrue.
Fixes
flox activateno longer re-locks or rebuilds an environment whose lockfile is already current.flox upgradeandflox activate --remotenow correctly create activation symlinks on the first run in an environment that has never been built locally.- Flox environment creation is faster, reducing
nix buildinvocations from 3 to 1 per build-and-link cycle and spawning no fetch subprocesses when all packages are already cached.
Notes and download links available here!