-
Notifications
You must be signed in to change notification settings - Fork 274
Description
What happened?
When trying to ADD nodejs@16.0.0 to a project there is a error on ca derivations
Steps to reproduce
- devbox init
- DEVBOX_DEBUG=1 devbox add nodejs@16.0.0
Command
add
devbox.json
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 "nodejs@16.0.0" 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" pkg=nodejs@16.0.0
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 nodejs@16.0.0
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
{ "$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" ] } } }