Flox 1.14.1 is released!

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 default stay quiet.
  • flox -q activate is now silent in every mode, and no longer prints an execution trace of the activation scripts.
  • Environments named default now appear in the shell prompt by default. Set hide_default_prompt = true to 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_PROMPT and the exported prompt variables.
  • flox now reminds users who are not logged in to FloxHub to run flox auth login, instead of only warning when a previously stored token had expired. The reminder appears once per shell session and is suppressed for flox auth commands and prompt hooks.
  • flox search accepts more search terms. Terms such as c++ and g++, 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 build now passes FLOX_ENV_CACHE to builds, so generated state such as pip.ini is written for manifest and sandboxed builds.

Changes

  • x86_64-darwin is 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 in options.systems, and the current system is always included, so environments on x86_64-darwin keep 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 activate no longer adds the environment’s sbin directory to PATH by default. Opt back in per activation with flox activate --add-sbin. Packages you build and publish can install to sbin to keep an executable off PATH, while base catalog packages are unaffected. flox run still finds executables installed to sbin, and PATH handling inside flox build wrappers 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 init in the home directory now creates the default environment even when $HOME contains symlinked path components.
  • Remote environment initialization no longer fails when a missing Git branch produces additional diagnostic output.
  • flox activate now writes the generated pip.ini to the environment’s cache directory (.flox/cache/pip.ini) instead of .flox/pip.ini. This fixes flox activate -r failing for environments that provide pip when the working directory has no .flox directory. Stale .flox/pip.ini files from earlier versions are no longer used and can be deleted.
  • flox push no 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

[!NOTE]
You can find the SHA256 checksums for Flox 1.14.1 and SHA512 checksums for Flox 1.14.1 online.