Skip to content

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

@mikeland73

Description

@mikeland73

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageIssue needs triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions