devbox icon indicating copy to clipboard operation
devbox copied to clipboard

Running devbox update <pkg> causes additional packages to be installed

Open mikeland73 opened this issue 5 months ago • 0 comments

What happened?

Running devbox update <pkg> causes side effects. e.g.

➜ axiom git:(main) ✗ devbox global update go Info: Updating go@latest 1.24.0 -> 1.24.4 Info: Installing the following packages to the nix store: [email protected], direnv@latest, curl@latest, go@latest, kubernetes-helm@latest, bat@latest, fish@latest, hello@latest, vhs@latest, git@latest, nodejs@latest

(it's also unclear why I needed to install these. I should have already had them)

Steps to reproduce

  1. Create a devbox.json with a bunch of packages
  2. Try to update a single package.
  3. update installs everything instead of simply updating requested package

Command

No response

devbox.json


Devbox version

main

Nix version

No response

What system does this bug occur on?

macOS (Intel)

Debug logs

No response

mikeland73 avatar Jul 18 '25 15:07 mikeland73