devbox icon indicating copy to clipboard operation
devbox copied to clipboard

Package Management: Specify and Install a specific version of a nix package.

Open Lagoja opened this issue 3 years ago • 0 comments

Current State

Devbox does not let you specify a specific version of a package that you want to use. This means that the Devbox will only install the version of the package that's available in your default nix channel

Desired State

Developers can specify a version in their devbox.json using standard package management syntax, and Devbox will find and install the correct version:

"packages": [
"package >= 1.0",
"package == 1.0",
"package ~> 1.0",
]

If a version is not available in the current nix-channel version, Devbox should find the package in previous revisions

Lagoja avatar Sep 09 '22 20:09 Lagoja