Improvements
- Show a quit prompt on first Ctrl+C in the TUI instead of immediately terminating (#2607).
- Patched Nix to avoid hitting GitHub rate limits when fetching flake inputs (upstreamed as NixOS/nix#15470).
- Improved eval performance by caching the initial Nix Value, avoiding re-evaluation of nixpkgs and the module system on subsequent attribute lookups (~2x time-to-shell improvement).
devenv-run-tests:--onlyand--excludenow support glob patterns (e.g.--only 'python-*').
Bug Fixes
- Fixed
devenv testnot runningenterTesttasks (e.g.,git-hooks:run) in devenv 2.0+. Also:devenv testnow fails early when enterTest tasks fail, and skips redundantload_tasks()when tasks are already handled. - Fixed file watcher dropping change events during the initial bootstrap file flood by switching from
try_sendto backpressure, which causeddevenv.nixchanges to go undetected during hot reload. - Fixed
exec_if_modifiedperformance when negation patterns were used, avoiding a full walk of the parent directory for literal file paths. - Fixed child processes (postgres, redis, etc.) being left running after
devenv upexits ordevenv processes downis called. The native manager wrapper now forwards TERM/INT signals to the child process group, and the process-compose backend creates a proper process group for signaling (#2619). - Fixed secretspec prompting for secrets in non-interactive contexts like direnv.
- Fixed
devenv searchshowing truncated package names (e.g.pkgs.instead ofpkgs.ncdu). - Fixed runtime directory path (
devenv-<hash>) being inconsistent on macOS when paths contain symlinks (e.g./tmpvs/private/tmp), which could cause processes to look for sockets in the wrong directory. - Fixed TUI hanging when the backend encounters an error in the PTY shell path (e.g. Nix evaluation failure).
- Fixed
nix runtrying to rundevenv-wrappedwhich doesn't exist. - Fixed in-band resize events being sent to the shell when the app did not opt-in to receiving them.
- Fixed a packaging error in nixpkgs that resulted in the macOS builds of devenv to include two conflicting copies of the Boehm GC (#2552, #2576).
- Fixed
devenv init,devenv test, and secretspec hint messages being silently dropped due to missing user-message marker.