add devbox-installed nix packages to NixOS build
メンテナーはふだん 1 日以内に返信
@mohsenari がすでに取り組んでいます。
2026年1月13日 から。
評価
この issue はまだ評価されていません。
説明
What problem are you trying to solve?
Hi,
thanks for devbox. It is great.
It is frustrating however, to not have the devbox packages instantly available in a nixos-rebuild build-vm (nor in a custom NixOS ISO).
I would like to use devbox as my primary package manager for apps and tools. But this workflow completely breaks down because I cannot test small changes to my system config in a build-vm because redownloading all the devbox packages is prohibitively expensive time-wise. As I understand it, devbox uses nix packages under the hood. So it would be absolutely FANTASTIC to have those nix-store-paths available in the VM as well instead of redownloading them after every rebuild. It would also be nice to have them available in the ISO when I generate it from my system config but that is secondary.
What solution would you like?
So telling devbox a directory where to keep an always current "devbox-packages.nix" (with all the pinned nix packages devbox resolved and installed) generated and updated by devbox in a format that I can import in my configuration.nix would be perfect.
I can run a refresh-global in the VM to give devbox the chance to wire everything up and keep to the devbox workflow. It would also have its last devbox.json and devbox.lock available. I would be happy to just have the nix-store-paths magically available during "ensuring packages are installed"
Alternatives you've considered
If that's not possible, I would appreciate a more hacky way as well. Maybe how I can write a shell script to copy over the relevant nix files from devbox to my nixos config dir and import them myself or some brute-force nix-way of letting NixOS know about all the nix-store paths to have them available in the build or even mounting the devbox-installed nix-store-paths somehow along with the system build. (I don't know much about the internals of nix and devbox)
Any help is appreciated.
I also considered setting up a nix cache server. That would speed things up slightly but still involve a lot of useless copying. Making NixOS properly aware of the packages or at least mounting them directly is the better way.
- 主要言語
- Go
- スター
- 12.4k
- フォーク
- 358
- 平均マージ
- 17時間 12分
- マージ済み PR(30日)
- 31
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
jetify-com/devbox のほかの issue
-
feature triage
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
jetify-com/devbox#3038 ·
メンテナーはふだん 1 日以内に返信
-
pulumi is outdatedオープンbug p4 package processed triage unrelated
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
jetify-com/devbox#2898 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
p4 processed unrelated
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
jetify-com/devbox#2750 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Storydenオープンp4 package processed triage unrelated
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
jetify-com/devbox#2685 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
looks easy p4 package processed triage
難易度 2/5 1〜3時間 初心者へのやさしさ 60/100
jetify-com/devbox#2656 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
jetify-com/devbox の issue をすべて見る
似ている issue
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
enhancement needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
valkey-io/valkey-operator#610 ·
メンテナーはふだん 3 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
WriterSetTimes: the UTIME_NOW check fails when the kernel uses its coarse clock対応中かも @JakeChampion が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
JakeChampion/lang#14224 ·
メンテナーはふだん 1 日以内に返信
-
agent-butler-finding bug
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
jordansmall/spindrift#6391 ·
メンテナーはふだん 1 日以内に返信