Flox 1.14.1 is released!
Features
- Activations now announce the environment they enter when stderr is a terminal, using the same wording in every activation mode, including in-place and auto-activations. Re-activations of an already-active environment and environments named
defaultstay quiet. flox -q activateis now silent in every mode, and no longer prints an execution trace of the activation scripts.- Environments named
defaultnow appear in the shell prompt by default. Sethide_default_prompt = trueto hide them again. - The shell prompt now shows just the environment name for each active environment, instead of
owner/name (local). flox-activate(1)now documents$FLOX_PROMPTand the exported prompt variables.floxnow reminds users who are not logged in to FloxHub to runflox auth login, instead of only warning when a previously stored token had expired. The reminder appears once per shell session and is suppressed forflox authcommands and prompt hooks.flox searchaccepts more search terms. Terms such asc++andg++, and terms written in non-Latin scripts, now work, and the message for a rejected term no longer prints a regular expression at the user. Search terms longer than 200 characters are rejected before the request is sent.flox buildnow passesFLOX_ENV_CACHEto builds, so generated state such aspip.iniis written for manifest and sandboxed builds.
Changes
x86_64-darwinis no longer one of the implicit default systems, because nixpkgs drops it from LTS releases after 26.05, which makes environments that include it resolve to older package versions. It remains valid when listed explicitly inoptions.systems, and the current system is always included, so environments onx86_64-darwinkeep working there.- Locking now warns when it removes packages, which can happen when re-locking an environment created before this change. Building an environment with no packages locked for the current system now fails with an error naming the locked systems, instead of producing an empty environment.
flox activateno longer adds the environment’ssbindirectory toPATHby default. Opt back in per activation withflox activate --add-sbin. Packages you build and publish can install tosbinto keep an executable offPATH, while base catalog packages are unaffected.flox runstill finds executables installed tosbin, and PATH handling insideflox buildwrappers is unchanged.
Fixes
- Deactivating the last active environment no longer breaks auto-activation for the rest of the shell session (“This shell’s Flox prompt hook is out of sync with the running Flox.”).
- Environments spawned by auto-activation no longer misreport the Flox version as v0.0.0 (seen as “This environment requires Flox vX.Y.Z or later” warnings).
flox initin the home directory now creates thedefaultenvironment even when$HOMEcontains symlinked path components.- Remote environment initialization no longer fails when a missing Git branch produces additional diagnostic output.
flox activatenow writes the generatedpip.inito the environment’s cache directory (.flox/cache/pip.ini) instead of.flox/pip.ini. This fixesflox activate -rfailing for environments that provide pip when the working directory has no.floxdirectory. Stale.flox/pip.inifiles from earlier versions are no longer used and can be deleted.flox pushno longer reports “changes that are not yet synced to a generation” after upgrading an environment created with an older version of Flox.[vars]entries that reference other entries with${name}now resolve in dependency order, so a reference works regardless of where the entries appear in the manifest. A reference cycle between entries fails with a clear error instead of aborting activation.- Process monitoring now falls back to polling when it cannot block waiting for a process, instead of assuming the process has exited and re-monitoring the same PID.
Download Links
- DEB (x86_64-linux)
- DEB (aarch64-linux)
- RPM (x86_64-linux)
- RPM (aarch64-linux)
- OSX (x86_64-darwin)
- OSX (aarch64-darwin)
[!NOTE]
You can find the SHA256 checksums for Flox 1.14.1 and SHA512 checksums for Flox 1.14.1 online.