error installing package [email protected]
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 55/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- go
- 領域
- build-system, devtools
調査の方向性
Start with the Nix invocation in the debug log: internal/nix/store.go runs path-info for the pinned nixpkgs nodejs-16_x; the failure shown is a deprecated URL literal in nixpkgs, not a Devbox source file. Read how Devbox configures Nix features in nix/nix.go and reproduce with the listed devbox add command. Done means installing [email protected] succeeds with this Nix/Lix behavior; the issue does not name a test.
索引モデルが issue の本文から書いたものです。
説明
What happened?
When trying to ADD [email protected] to a project there is a error on ca derivations
Steps to reproduce
- devbox init
- DEVBOX_DEBUG=1 devbox add [email protected]
Command
add
devbox.json
{
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.16.0/.schema/devbox.schema.json",
"packages": [],
"shell": {
"init_hook": [
"echo 'Welcome to devbox!' > /dev/null"
],
"scripts": {
"test": [
"echo \"Error: no test specified\" && exit 1"
]
}
}
}
Devbox version
0.16.0
Nix version
nix (Lix, like Nix) 2.93.3 System type: x86_64-linux Additional system types: aarch64-linux, i686-linux Features: gc, signed-caches System configuration file: /etc/nix/nix.conf User configuration files: /home/max/.config/nix/nix.conf:/etc/xdg/nix/nix.conf:/home/max/.local/share/flatpak/exports/etc/xdg/nix/nix.conf:/var/lib/flatpak/exports/etc/xdg/nix/nix.conf:/home/max/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:/home/max/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/max/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf:/nix/store/2ldavd7sprmnfg06n6mj20lfrvmkvg4z-gnome-settings-daemon-48.1/etc/xdg/nix/nix.conf Store directory: /nix/store State directory: /nix/var/nix Data directory: /nix/store/jsm35mkk7kp6yd268rfwhp4f1bs0h397-lix-2.93.3/share
What system does this bug occur on?
Linux (x86-64)
Debug logs
time=2025-11-01T16:28:34.999-03:00 level=DEBUG source=go.jetify.com/devbox/internal/devconfig/config.go:126 msg="searching for config file (including parent directories)" path=.
time=2025-11-01T16:28:35.000-03:00 level=DEBUG source=go.jetify.com/devbox/internal/devconfig/config.go:147 msg="trying config file" path=devbox.json
time=2025-11-01T16:28:35.000-03:00 level=DEBUG source=go.jetify.com/devbox/internal/devconfig/config.go:134 msg="config file found" path=/home/max/Projetos-DevBox/devbox.json dur=2.212241ms
time=2025-11-01T16:28:35.000-03:00 level=DEBUG source=go.jetify.com/devbox/internal/devconfig/config.go:126 msg="searching for config file (including parent directories)" path=.
time=2025-11-01T16:28:35.000-03:00 level=DEBUG source=go.jetify.com/devbox/internal/devconfig/config.go:147 msg="trying config file" path=devbox.json
time=2025-11-01T16:28:35.000-03:00 level=DEBUG source=go.jetify.com/devbox/internal/devconfig/config.go:134 msg="config file found" path=/home/max/Projetos-DevBox/devbox.json dur=143.26µs
time=2025-11-01T16:28:35.001-03:00 level=DEBUG source=go.jetify.com/devbox/nix/nix.go:143 msg="nix command starting" cmd.args="nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' --version --debug"
time=2025-11-01T16:28:35.024-03:00 level=DEBUG source=go.jetify.com/devbox/nix/nix.go:143 msg="nix command exited" cmd.args="nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' --version --debug" cmd.path=/run/current-system/sw/bin/nix cmd.pid=45321 cmd.code=0 cmd.dur=23.10268ms
time=2025-11-01T16:28:35.025-03:00 level=DEBUG source=go.jetify.com/devbox/internal/devconfig/config.go:126 msg="searching for config file (including parent directories)" path=.
time=2025-11-01T16:28:35.025-03:00 level=DEBUG source=go.jetify.com/devbox/internal/devconfig/config.go:147 msg="trying config file" path=devbox.json
time=2025-11-01T16:28:35.025-03:00 level=DEBUG source=go.jetify.com/devbox/internal/devconfig/config.go:134 msg="config file found" path=/home/max/Projetos-DevBox/devbox.json dur=191.265µs
time=2025-11-01T16:28:35.025-03:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg=nodejs mode=auto
time=2025-11-01T16:28:35.025-03:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg=nodejs mode=auto
Info: Adding package "[email protected]" to devbox.json
time=2025-11-01T16:28:35.432-03:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg=nodejs mode=auto
time=2025-11-01T16:28:35.432-03:00 level=DEBUG source=go.jetify.com/devbox/internal/plugin/plugin.go:85 msg="creating files for package" [email protected]
time=2025-11-01T16:28:35.432-03:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg=nodejs mode=auto
time=2025-11-01T16:28:35.432-03:00 level=DEBUG source=go.jetify.com/devbox/internal/nix/store.go:40 msg="nix command starting" cmd.args="nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' path-info 'github:NixOS/nixpkgs/0111666954f772565cd83c3b7bea179e7808515c#nodejs-16_x' --json --impure"
time=2025-11-01T16:28:35.589-03:00 level=DEBUG source=go.jetify.com/devbox/internal/nix/store.go:40 msg="nix command exited" cmd.args="nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' path-info 'github:NixOS/nixpkgs/0111666954f772565cd83c3b7bea179e7808515c#nodejs-16_x' --json --impure" cmd.path=/run/current-system/sw/bin/nix cmd.stderr="URL literals are deprecated, allow using them with --extra-deprecated-features url-literals" cmd.pid=45328 cmd.code=1 cmd.dur=156.890934ms
Error: error installing package [email protected]
source: nix: command error: nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' path-info 'github:NixOS/nixpkgs/0111666954f772565cd83c3b7bea179e7808515c#nodejs-16_x' --json --impure: URL literals are deprecated, allow using them with --extra-deprecated-features url-literals: exit code 1
time=2025-11-01T16:28:35.589-03:00 level=ERROR source=go.jetify.com/devbox/internal/boxcli/midcobra/debug.go:68 msg="command error" stderr="warning: The ca-derivations experimental feature is deprecated and will be removed in Lix 2.94. See https://git.lix.systems/lix-project/lix/issues/815 for more details.\nfetching github input 'github:NixOS/nixpkgs/0111666954f772565cd83c3b7bea179e7808515c'\nerror:\n … while evaluating an expression to select 'drvPath' on it\n at «internal»:1:552:\n … while evaluating strict\n at «internal»:1:552:\n (stack trace truncated; use '--show-trace' to show the full trace)\n\n error: URL literals are deprecated, allow using them with --extra-deprecated-features url-literals\n at /nix/store/4aiaxj04ncpj46sskcqggdfj70rlram9-source/pkgs/top-level/perl-packages.nix:14155:18:\n 14154| meta = {\n 14155| homepage = https://github.com/TJC/Test-postgresql;\n | ^\n 14156| description = "PostgreSQL runner for tests";\n" execid=9ce8b6bbbc4c41cc9805311ec65c9e30 stack=
time=2025-11-01T16:28:35.590-03:00 level=ERROR source=go.jetify.com/devbox/internal/boxcli/midcobra/debug.go:70 msg="command error" execid=9ce8b6bbbc4c41cc9805311ec65c9e30 stack=
time=2025-11-01T16:28:35.590-03:00 level=DEBUG source=go.jetify.com/devbox/internal/devconfig/config.go:126 msg="searching for config file (including parent directories)" path=.
time=2025-11-01T16:28:35.590-03:00 level=DEBUG source=go.jetify.com/devbox/internal/devconfig/config.go:147 msg="trying config file" path=devbox.json
time=2025-11-01T16:28:35.590-03:00 level=DEBUG source=go.jetify.com/devbox/internal/devconfig/config.go:134 msg="config file found" path=/home/max/Projetos-DevBox/devbox.json dur=138.353µs
- 主要言語
- 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
-
Query cache: a failed cache page read leaves the set request's read lock held, so the scan hangsオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
turbot/steampipe-plugin-sdk#986 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
router-for-me/CLIProxyAPI#7307 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
betterleaks/betterleaks#460 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
openmcp-project/service-provider-crossplane#330 ·
メンテナーはふだん 1 日以内に返信