You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: error searching for pkg github:thiskappaisgrey/nixpkgs-esp-dev-rust: nix: command error: nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' search github:thiskappaisgrey/nixpkgs-esp-dev-rust ^ --json: flake 'github:thiskappaisgrey/nixpkgs-esp-dev-rust' does not provide attribute 'packages.aarch64-darwin' or 'legacyPackages.aarch64-darwin': exit code 1
Error: There was an internal error. Run with DEVBOX_DEBUG=1 for a detailed error message, and consider reporting it at https://github.com/jetify-com/devbox/issues
how come it says it can't build for darwin, although manually doing it works?
Error: Package "github:mirrexagon/nixpkgs-esp-dev" is ambiguous. It has the following possible outputs:
packages.aarch64-darwin.esp-idf-esp32, packages.aarch64-darwin.esp-idf-esp32s3, packages.aarch64-darwin.esp8266-rtos-sdk, packages.aarch64-darwin.esp-idf-esp32c2, packages.aarch64-darwin.esp-idf-esp32c3, packages.aarch64-darwin.esp-idf-esp32h2, packages.aarch64-darwin.esp-idf-esp32c6, packages.aarch64-darwin.esp-idf-esp32s2, packages.aarch64-darwin.esp-idf-full
time=2025-01-27T12:05:59.702+01:00 level=ERROR source=go.jetpack.io/devbox/internal/boxcli/midcobra/debug.go:70 msg="command error" execid=3c27040166634ec3b4ca7aa13d4f789f stack="Package "github:mirrexagon/nixpkgs-esp-dev" is ambiguous. It has the following possible outputs: \npackages.aarch64-darwin.esp-idf-esp32, packages.aarch64-darwin.esp-idf-esp32s3, packages.aarch64-darwin.esp8266-rtos-sdk, packages.aarch64-darwin.esp-idf-esp32c2, packages.aarch64-darwin.esp-idf-esp32c3, packages.aarch64-darwin.esp-idf-esp32h2, packages.aarch64-darwin.esp-idf-esp32c6, packages.aarch64-darwin.esp-idf-esp32s2, packages.aarch64-darwin.esp-idf-full\ngo.jetpack.io/devbox/internal/boxcli/usererr.New\n\tgo.jetpack.io/devbox/internal/boxcli/usererr/usererr.go:30\ngo.jetpack.io/devbox/internal/devpkg.(*Package).normalizePackageAttributePath\n\tgo.jetpack.io/devbox/internal/devpkg/package.go:435\ngo.jetpack.io/devbox/internal/devpkg.(*Package).NormalizedPackageAttributePath\n\tgo.jetpack.io/devbox/internal/devpkg/package.go:370\ngo.jetpack.io/devbox/internal/devpkg.(*Package).ValidateExists\n\tgo.jetpack.io/devbox/internal/devpkg/validation.go:28\ngo.jetpack.io/devbox/internal/devbox.(*Devbox).Add\n\tgo.jetpack.io/devbox/internal/devbox/packages.go:94\ngo.jetpack.io/devbox/internal/boxcli.addCmdFunc\n\tgo.jetpack.io/devbox/internal/boxcli/add.go:107\ngo.jetpack.io/devbox/internal/boxcli.addCmd.func1\n\tgo.jetpack.io/devbox/internal/boxcli/add.go:48\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/[email protected]/command.go:983\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/[email protected]/command.go:1115\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/[email protected]/command.go:1039\ngo.jetpack.io/devbox/internal/boxcli/midcobra.(*midcobraExecutable).Execute\n\tgo.jetpack.io/devbox/internal/boxcli/midcobra/midcobra.go:61\ngo.jetpack.io/devbox/internal/boxcli.Execute\n\tgo.jetpack.io/devbox/internal/boxcli/root.go:113\ngo.jetpack.io/devbox/internal/boxcli.Main\n\tgo.jetpack.io/devbox/internal/boxcli/root.go:132\nmain.main\n\t./main.go:11\nruntime.main\n\truntime/proc.go:272\nruntime.goexit\n\truntime/asm_arm64.s:1223"
time=2025-01-27T12:05:59.703+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devconfig/config.go:125 msg="searching for config file (including parent directories)" path=.
time=2025-01-27T12:05:59.703+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devconfig/config.go:146 msg="trying config file" path=devbox.json
time=2025-01-27T12:05:59.703+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devconfig/config.go:133 msg="config file found" path=/tmp/devbox-esp-rust/devbox.json dur=131.792µs
The text was updated successfully, but these errors were encountered:
if I do devbox add 'github:mirrexagon/nixpkgs-esp-dev#packages.aarch64-darwin.esp-idf-esp32s3'
it installs but then if I do devbox shell it doesn't have the idf.py command installed like when I do the manual nix install (but it does have other binaries, and even esptool.py, so it kinda worked, but did not install all subcommands)
What happened?
If I install on my mac laptop https://github.com/mirrexagon/nixpkgs-esp-dev manually, eg
it works fine
but if I try to install it through the flake.nix at https://github.com/mirrexagon/nixpkgs-esp-dev/blob/master/flake.nix by doing
it fails with
how come it says it can't build for darwin, although manually doing it works?
Steps to reproduce
Command
No response
devbox.json
Devbox version
0.13.7
Nix version
No response
What system does this bug occur on?
macOS (Intel)
Debug logs
time=2025-01-27T12:05:58.675+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devconfig/config.go:125 msg="searching for config file (including parent directories)" path=.
time=2025-01-27T12:05:58.676+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devconfig/config.go:146 msg="trying config file" path=devbox.json
time=2025-01-27T12:05:58.678+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devconfig/config.go:133 msg="config file found" path=/tmp/devbox-esp-rust/devbox.json dur=3.52825ms
time=2025-01-27T12:05:58.679+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devconfig/config.go:125 msg="searching for config file (including parent directories)" path=.
time=2025-01-27T12:05:58.679+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devconfig/config.go:146 msg="trying config file" path=devbox.json
time=2025-01-27T12:05:58.679+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devconfig/config.go:133 msg="config file found" path=/tmp/devbox-esp-rust/devbox.json dur=76.125µs
time=2025-01-27T12:05:59.518+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/nix/nix.go:342 msg="nix --version --debug output" out="nix (Nix) 2.25.3\nSystem type: aarch64-darwin\nAdditional system types: x86_64-darwin\nFeatures: gc, signed-caches\nSystem configuration file: /etc/nix/nix.conf\nUser configuration files: /Users/primet/.config/nix/nix.conf:/etc/xdg/nix/nix.conf\nStore directory: /nix/store\nState directory: /nix/var/nix\nData directory: /nix/store/46p1z0w9ad605kky62dr53z4h24k2a5r-nix-2.25.3/share\n"
time=2025-01-27T12:05:59.519+01: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' eval --impure --raw --expr builtins.currentSystem" cmd.path=/nix/var/nix/profiles/default/bin/nix
time=2025-01-27T12:05:59.577+01: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' eval --impure --raw --expr builtins.currentSystem" cmd.path=/nix/var/nix/profiles/default/bin/nix cmd.pid=80949 cmd.code=0 cmd.dur=58.19825ms
time=2025-01-27T12:05:59.577+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devconfig/config.go:125 msg="searching for config file (including parent directories)" path=.
time=2025-01-27T12:05:59.577+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devconfig/config.go:146 msg="trying config file" path=devbox.json
time=2025-01-27T12:05:59.577+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devconfig/config.go:133 msg="config file found" path=/tmp/devbox-esp-rust/devbox.json dur=130.333µs
time=2025-01-27T12:05:59.578+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devpkg/package.go:200 msg="package doesn't need patching" pkg="" mode=auto
time=2025-01-27T12:05:59.578+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devpkg/package.go:200 msg="package doesn't need patching" pkg="" mode=auto
time=2025-01-27T12:05:59.578+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devpkg/package.go:200 msg="package doesn't need patching" pkg="" mode=auto
time=2025-01-27T12:05:59.578+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devpkg/package.go:200 msg="package doesn't need patching" pkg="" mode=auto
time=2025-01-27T12:05:59.578+01: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' search github:mirrexagon/nixpkgs-esp-dev ^ --json" cmd.path=/nix/var/nix/profiles/default/bin/nix
time=2025-01-27T12:05:59.702+01: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' search github:mirrexagon/nixpkgs-esp-dev ^ --json" cmd.path=/nix/var/nix/profiles/default/bin/nix cmd.pid=80951 cmd.code=0 cmd.dur=123.921ms
Error: Package "github:mirrexagon/nixpkgs-esp-dev" is ambiguous. It has the following possible outputs:
packages.aarch64-darwin.esp-idf-esp32, packages.aarch64-darwin.esp-idf-esp32s3, packages.aarch64-darwin.esp8266-rtos-sdk, packages.aarch64-darwin.esp-idf-esp32c2, packages.aarch64-darwin.esp-idf-esp32c3, packages.aarch64-darwin.esp-idf-esp32h2, packages.aarch64-darwin.esp-idf-esp32c6, packages.aarch64-darwin.esp-idf-esp32s2, packages.aarch64-darwin.esp-idf-full
time=2025-01-27T12:05:59.702+01:00 level=ERROR source=go.jetpack.io/devbox/internal/boxcli/midcobra/debug.go:70 msg="command error" execid=3c27040166634ec3b4ca7aa13d4f789f stack="Package "github:mirrexagon/nixpkgs-esp-dev" is ambiguous. It has the following possible outputs: \npackages.aarch64-darwin.esp-idf-esp32, packages.aarch64-darwin.esp-idf-esp32s3, packages.aarch64-darwin.esp8266-rtos-sdk, packages.aarch64-darwin.esp-idf-esp32c2, packages.aarch64-darwin.esp-idf-esp32c3, packages.aarch64-darwin.esp-idf-esp32h2, packages.aarch64-darwin.esp-idf-esp32c6, packages.aarch64-darwin.esp-idf-esp32s2, packages.aarch64-darwin.esp-idf-full\ngo.jetpack.io/devbox/internal/boxcli/usererr.New\n\tgo.jetpack.io/devbox/internal/boxcli/usererr/usererr.go:30\ngo.jetpack.io/devbox/internal/devpkg.(*Package).normalizePackageAttributePath\n\tgo.jetpack.io/devbox/internal/devpkg/package.go:435\ngo.jetpack.io/devbox/internal/devpkg.(*Package).NormalizedPackageAttributePath\n\tgo.jetpack.io/devbox/internal/devpkg/package.go:370\ngo.jetpack.io/devbox/internal/devpkg.(*Package).ValidateExists\n\tgo.jetpack.io/devbox/internal/devpkg/validation.go:28\ngo.jetpack.io/devbox/internal/devbox.(*Devbox).Add\n\tgo.jetpack.io/devbox/internal/devbox/packages.go:94\ngo.jetpack.io/devbox/internal/boxcli.addCmdFunc\n\tgo.jetpack.io/devbox/internal/boxcli/add.go:107\ngo.jetpack.io/devbox/internal/boxcli.addCmd.func1\n\tgo.jetpack.io/devbox/internal/boxcli/add.go:48\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/[email protected]/command.go:983\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/[email protected]/command.go:1115\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/[email protected]/command.go:1039\ngo.jetpack.io/devbox/internal/boxcli/midcobra.(*midcobraExecutable).Execute\n\tgo.jetpack.io/devbox/internal/boxcli/midcobra/midcobra.go:61\ngo.jetpack.io/devbox/internal/boxcli.Execute\n\tgo.jetpack.io/devbox/internal/boxcli/root.go:113\ngo.jetpack.io/devbox/internal/boxcli.Main\n\tgo.jetpack.io/devbox/internal/boxcli/root.go:132\nmain.main\n\t./main.go:11\nruntime.main\n\truntime/proc.go:272\nruntime.goexit\n\truntime/asm_arm64.s:1223"
time=2025-01-27T12:05:59.703+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devconfig/config.go:125 msg="searching for config file (including parent directories)" path=.
time=2025-01-27T12:05:59.703+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devconfig/config.go:146 msg="trying config file" path=devbox.json
time=2025-01-27T12:05:59.703+01:00 level=DEBUG source=go.jetpack.io/devbox/internal/devconfig/config.go:133 msg="config file found" path=/tmp/devbox-esp-rust/devbox.json dur=131.792µs
The text was updated successfully, but these errors were encountered: