Flox 1.15.0 is released!

Flox 1.15.0 is released!

Features

  • Added hook.on-deactivate to the manifest. The on-deactivate script is run in Bash when the last activate of an environment exits.
  • flox publish now detects an already-published build before building the package, so re-publishing an unchanged source and closure returns immediately instead of paying for a full build first.
  • flox service was added as an alias for flox services.
  • Added an auth_notifications config option. Set it to false (via flox config --set auth_notifications false or FLOX_AUTH_NOTIFICATIONS=false) to quiet the “You are not logged in to FloxHub” reminder. Commands that require authentication still fail with an explanation, and this does not control warnings about authentication when connecting to the catalog.
  • Unauthenticated users are now warned that resolving packages will require authentication to FloxHub in an upcoming release. See Authentication - Flox for more information. The warning appears only when the CLI actually contacts the catalog, and at most once every 8 hours. Use -q to suppress it.

Fixes

  • If an environment variable is set prior to activating an environment with a variable in [vars], a second activation of that environment still sets the variable from [vars]. Closes [vars] aren't set after modifying environment · Issue #3761 · flox/flox · GitHub
  • When activating an environment in one shell on top of a second environment but on top of a third environment in another shell, environment variables from the second environment no longer leak into the second shell.
  • Experimental plugin scripts can now read variables set in the manifest’s [vars] section: activation sources Flox’s own profile.d scripts first, then exports [vars], then sources plugin-provided profile.d scripts. A variable exported by a plugin script takes precedence over a same-named [vars] entry.
  • Clearer errors and guidance are now provided when packages and package outputs have file collisions.
  • Locking a package whose systems names a system missing from options.systems now suggests adding that system to options.systems.
  • flox push now works when temporary editor files are present in .flox/env.
  • fish and tcsh now honor $FLOX_PROMPT when NO_COLOR is set.
  • flox build now fails with a source location when a Nix expression cannot be parsed or read, or when it uses the catalog namespace in a way that cannot be analyzed, instead of writing a lock with missing catalog inputs.

Download Links

You can find the SHA256 checksums for Flox 1.15.0 and SHA512 checksums for Flox 1.15.0 online.