Improved Nix Profile Generation
We've improved how Devbox creates Nix Profiles for your development shells to make it more reliable and deterministic. In addition to simplifying our profile generation code, this should ensure that changes to your installed packages are more reliably reflected in your Nix Shell.
--allow-insecure
Improvements
You can now pass a list of packages to the --allow-insecure
flag. This is useful when you need to allow a list of insecure dependencies for a package
For example: installing sublime4
will fail because openssl-1.1.1w
is marked insecure in Nixpkgs. To override the warning and install openssl, you can run devbox add sublime4 --allow-insecure=openssl-1.1.1w
:
Fish init_hook
Improvements
Init Hooks are now sourced correctly when run in Fish shell, which should avoid script parsing errors on starting the shell.
Changelog
- 7796d01 [fish] use fish hooks file for devbox.EnvExports (used in shellenv) (#1756)
- 5585d21 [vscode-exntension] extension version 0.1.4 changes (#1757)
- 414c517 [add] migrate allow_insecure from lockfile to config (#1754)
- 3697cb9 [devbox add] --allow-insecure should handle multiple, user-specified packages (#1749)
- 3ac7be0 [fish] use exit instead of return in init-hook recursion guard (#1755)
- f4a8c74 Update Docs: direnv, gen readme, FAQs (#1751)
- 2fee55b [vscode-extension] Logging events in logfile (#1745)
- 1732602 [easy] remove extraneous debugging Printf from devbox.installNixPackagesToStore (#1750)