-
Notifications
You must be signed in to change notification settings - Fork 270
Closed
Labels
Description
What happened?
As of Devbox 0.13.6, we attempt to add Devbox to the Nix store so we can use it in the patch flake when auto-patching Python. When using Devbox installed from the Flake, the patching fails with the following error:
❯ devbox add python@3.11
Info: Adding package "python@3.11" to devbox.json
✓ Computed the Devbox environment.
Error: There was an error installing nix packages
source: nix: command error: nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' print-dev-env --json path:/Users/johnlago/src/cling-notebook/.devbox/gen/flake: unable to download 'https://api.github.com/repos/jetify-com/devbox/commits/0.13.6-0bc66cb': HTTP error 422: exit code 1
Error: There was an internal error. Run with DEVBOX_DEBUG=1 for a detailed error message, and consider reporting it at https://github.com/jetify-com/devbox/issues
(devbox)
Simplest fix is to change the version string in the Flake to match our standard installer, though we'll probably need a different approach for non-release builds?
Steps to reproduce
- Install devbox with
nix profile install github:jetify-com/devbox/latest
- Create a new Devbox project
- Add Python with
devbox add python
Command
add
devbox.json
No response
Devbox version
0.13.6-0bc66cb
Nix version
2.24.7
What system does this bug occur on?
macOS (Apple Silicon)
Debug logs
No response
jkinred and nano2nano