aws-sam-cli won't install
What happened?
Running in WSL2 linux Ubuntu 22.04.
devbox add aws-sam-cli is failing.
Steps to reproduce
- devbox add aws-sam-cli
Command
No response
devbox.json
{
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.12.0/.schema/devbox.schema.json",
"packages": [
"quarkus@latest",
"temurin-bin-21@latest",
"gradle@latest",
"awscli2@latest",
"terraform@latest"
],
"shell": {
"init_hook": [
"echo 'Welcome to devbox!' > /dev/null"
],
"scripts": {
"test": [
"echo \"Error: no test specified\" && exit 1"
]
}
}
}
Devbox version
0.12.0
Nix version
2.18.1
What system does this bug occur on?
Other (please include in the description above)
Debug logs
Info: Adding package "aws-sam-cli@latest" to devbox.json time=2024-09-04T10:49:01.406-07:00 level=DEBUG source=go.jetpack.io/devbox/internal/plugin/plugin.go:85 msg="creating files for package" pkg=gradle@latest time=2024-09-04T10:49:01.530-07:00 level=DEBUG source=go.jetpack.io/devbox/internal/nix/command.go:60 msg="nix command starting" cmd.args="nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' path-info --offline --json /nix/store/p87s421lk4nqw0irskh1dazbc3j0x5y2-awscli2-2.17.18 /nix/store/ldhzakyiqgp1rfpsp27lzyns75c90963-terraform-1.9.5 /nix/store/i5s8xvc3iav0svb13ivw2g8ahf0jmsz1-aws-sam-cli-1.120.0 /nix/store/ad41irgl6pp80gx3k0sc839mcz95cmsn-quarkus-cli-3.13.2 /nix/store/y034ci6gjxdmabma3cd5y260qnnlr7px-temurin-bin-21.0.3 /nix/store/r6alc6y40lsp6dhminahzvjq0xshl9ws-gradle-8.8" cmd.path=/home/steve/.nix-profile/bin/nix time=2024-09-04T10:49:01.583-07:00 level=DEBUG source=go.jetpack.io/devbox/internal/nix/command.go:67 msg="nix command exited" cmd.args="nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' path-info --offline --json /nix/store/p87s421lk4nqw0irskh1dazbc3j0x5y2-awscli2-2.17.18 /nix/store/ldhzakyiqgp1rfpsp27lzyns75c90963-terraform-1.9.5 /nix/store/i5s8xvc3iav0svb13ivw2g8ahf0jmsz1-aws-sam-cli-1.120.0 /nix/store/ad41irgl6pp80gx3k0sc839mcz95cmsn-quarkus-cli-3.13.2 /nix/store/y034ci6gjxdmabma3cd5y260qnnlr7px-temurin-bin-21.0.3 /nix/store/r6alc6y40lsp6dhminahzvjq0xshl9ws-gradle-8.8" cmd.path=/home/steve/.nix-profile/bin/nix cmd.pid=428881 cmd.code=0 cmd.dur=53.577931ms Info: Installing the following packages to the nix store: aws-sam-cli@latest time=2024-09-04T10:49:01.584-07:00 level=DEBUG source=go.jetpack.io/devbox/internal/nix/command.go:73 msg="nix command starting" cmd.args="nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' build --impure --no-link 'github:NixOS/nixpkgs/5629520edecb69630a3f4d17d3d33fc96c13f6fe#aws-sam-cli'" cmd.path=/home/steve/.nix-profile/bin/nix [1/0/1 built] building aws-sam-cli-1.120.0 (pytestCheckPhase): timeout func_only: Falsetime=2024-09-04T10:49:29.539-07:00 level=DEBUG source=go.jetpack.io/devbox/internal/nix/command.go:80 msg="nix command exited" cmd.args="nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' build --impure --no-link 'github:NixOS/nixpkgs/5629520edecb69630a3f4d17d3d33fc96c13f6fe#aws-sam-cli'" cmd.path=/home/steve/.nix-profile/bin/nix cmd.pid=428888 cmd.signal=killed cmd.dur=27.930739148s
Error: There was an error installing nix packages source: nix: command error: nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' build --impure --no-link 'github:NixOS/nixpkgs/5629520edecb69630a3f4d17d3d33fc96c13f6fe#aws-sam-cli': exit due to signal 9 (killed)
time=2024-09-04T10:49:29.552-07:00 level=ERROR source=go.jetpack.io/devbox/internal/boxcli/midcobra/debug.go:68 msg="command error" stderr="" execid=23ed3e377d2e4749ab668b76b3c20c82 stack=