jetify-com / devbox

Instant, easy, and predictable development environments
https://www.jetify.com/devbox/
Apache License 2.0
8.88k stars 212 forks source link

Fix glibc-patch/flake.nix build #1857

Open gcurtis opened 9 months ago

gcurtis commented 9 months ago

The nix build for the glibc-patch flake fails in the following ways:

gcurtis commented 9 months ago

Fixed in the upcoming 0.9.2-dev release.

giulianopz commented 2 months ago

Hi @gcurtis, please consider reopening this issue. I've just hit this problem while adding the "azure-cli" package to a devbox environment. I'm no more able to use devbox:

:~/git/box(develop)$ devbox shell
Info: Ensuring packages are installed.
✓ Computed the Devbox environment.
Error: nix: command error: nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' print-dev-env --json path:/home/giuliano-panzironi/git/box/.devbox/gen/flake: cannot fetch input 'path:./glibc-patch?lastModified=1&narHash=sha256-/ITcoD0x03tc9nm/wkCXPN9DmckU0gAZdfReXWdUxqg%3D' because it uses a relative path: 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
 :~/git/box(develop)$ devbox version
0.13.2
savil commented 2 months ago

@giulianopz while we look into this, you can set DEVBOX_USE_VERSION=0.12.0 to unblock yourself.

giulianopz commented 2 months ago

Thanks @savil. It seems that deleting the .devbox dir fixed the issue. When I opened the devbox shell, it downloaded all the packages again but I did not see that error.