github jetify-com/devbox 0.12.0-deva

latest releases: 0.13.2, 0.13.1, 0.13.0...
pre-release3 months ago

What's new in this prerelease

Init Hook Improvements

devbox run will no longer re-run init_hooks or attempt to recreate the shell environment if it is already running in a devbox shell environment. Implications of this change are:

  • If you start a shell, and then run a script with devbox run, the script will not re-run the init_hook or recreate the environment
  • If you run a devbox script inside another devbox script, the init_hook and shell setup will only happen once.

Devbox Global improvements

Devbox Global has been updated to no longer set Nix environment variables or stdenv packages in your global path. This should allow package and tools to work well with Devbox Global, without interfering with the tooling installed on your host

  • Previous versions of Devbox Global would set it's own versions of packages like gcc, ld, and clang at the top of your global path, which could break system build tools. This version will no longer set those packages in your path

  • Previous versions of Devbox Global would set variables like PYTHONPATH, which could override and cause issues with your host Python interpreter or other Python based binaries. This version will no longer set those variables

  • Note: This change may cause certain libraries or packages to stop working with Devbox Global. If you need these packages to continue working, you can add --omit-nix-env=false to the invocation in your shellrc:

     eval "$(devbox global shellenv --init_hooks --omit-nix-env=false)"

Bug Fixes

Fixed a bug where Devbox was improperly trying to tidy the lockfile for flakes.

Changelog

Don't miss a new devbox release

NewReleases is sending notifications on new releases.