2.8k
Connect
  • GitHub
  • Mastodon
  • Twitter
  • Slack
  • Linkedin

Blog

Release: Flox 1.3.8

Flox Team | 13 December 2024
Release: Flox 1.3.8

This is a maintenance release that fixes a bug introduced in v1.3.7.

This bug occurs only if all of the following conditions are met:

  • You're on macOS;
  • Your shell is zsh;
  • You have defined a default Flox environment;
  • You have added the line eval "$(flox activate -d ~ -m run)" to .zshenv;

This issue stems from the way macOS handles PATH initialization. Specifically, the macOS path_helper utility, which is responsible for adding /usr/local/bin to PATH and therefore making the flox executable available in PATH, runs after .zshenv is sourced.

Our test suite didn't catch this bug because it uses absolute paths and therefore doesn’t rely on PATH. We will add regression tests to catch this particular bug, and will be augmenting the test suite to catch other bugs like this in the future.

Note: If you aren’t using MacOS, there is no material difference between Flox versions 1.3.7 and 1.3.8.

Direct Download Links

If you’ve installed Flox using Homebrew, you can upgrade to v1.3.8 by running brew upgrade flox.

You can also use Homebrew to perform a fresh install of Flox v1.3.8 by running brew install flox.