You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Summary
If we get any error while trying to add packages we revert devbox.json
and show error.
## How was it tested?
Tried to add a broken package and made sure it did not get added to
devbox.json
```bash
devbox add php81Extensions.blackfire
Installing nix packages.
error: attribute 'extensionName' missing
at /nix/store/j5a7i3dvxslg2ychfy53wdhg1m3xfrwm-source/pkgs/development/interpreters/php/generic.nix:94:29:
93|
94| getExtName = ext: ext.extensionName;
| ^
95|
(use '--show-trace' to show detailed location information)
There was an error installing nix packages: php81Extensions.blackfire. Packages were not added to devbox.json
Error: apply Nix derivation: running command /nix/var/nix/profiles/default/bin/nix-env --profile /Users/mike/dev/scratch/php/.devbox/nix/profile/default --install -f /Users/mike/dev/scratch/php/.devbox/gen/development.nix: exit status 1 with command stderr:
```
0 commit comments