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
I was playing around with making the install step show more incremental
progress.
This PR explores it by doing `nix-env --install` for just the nixpkgs
and then
each package individually. This lets us print installation output as we
go along.
The implementation is rather hacky. I override `devbox.cfg.Packages` to
re-generate
the `development.nix`. There's more likely a more direct `nix-env
--install`
command invocation we can use but I was failing to figure it out this
evening. I don't think
we should commit this code as-is, but sharing for product oriented
feedback and suggestions
on the right `nix-env --install` command to use so we can improve the
hacky code.
## How was it tested?
deployed a custom binary to a custom VM:
```
Devbox Cloud
Remote development environments powered by Nix
✓ File syncing started
→ Connecting to virtual machine
Installing nix packages. This may take a while...
Ensure nixpkgs is downloaded, extracted and evaluated.
Ensure package installed: go_1_19
Ensure package installed: bazel
Done.
Starting a devbox shell...
(devbox ☁️ ) testdata/go/go-1.19 via 🐹 💫 watching for changes
```
0 commit comments