Skip to content

fix: devcontainer: useAttributePath for nix features#119

Merged
RadxaYuntian merged 1 commit intoRadxaOS-SDK:mainfrom
CodeChenL:fix_nix
Oct 31, 2025
Merged

fix: devcontainer: useAttributePath for nix features#119
RadxaYuntian merged 1 commit intoRadxaOS-SDK:mainfrom
CodeChenL:fix_nix

Conversation

@CodeChenL
Copy link
Contributor

To fix build devcontainer error:
243.7 ---- Reminders ----------------------------------------------------------------- 243.7 [ 1 ]
243.7 Nix won't work in active shell sessions until you restart them. 243.7
243.7 [ 2 ]
243.7 I don't support your init system yet; you may want to add nix-daemon manually. 243.7
243.7 () Setting up entrypoint...
243.7 (
) Executing post-installation steps...
243.7 Installing packages "direnv devenv" in profile... 249.7 trace: evaluation warning: darwin.iproute2mac has been renamed to iproute2mac 257.9 error:
257.9 … while evaluating a branch condition
257.9 at /nix/store/sqfzxq0p44g9g3bdfx83z691pfvcgkq0-nixpkgs/nixpkgs/pkgs/development/node-packages/aliases.nix:21:29:
257.9 20| # sets from building on Hydra.
257.9 21| removeDistribute = alias: if lib.isDerivation alias then lib.dontDistribute alias else alias;
257.9 | ^
257.9 22|
257.9
257.9 … while evaluating a branch condition
257.9 at /nix/store/sqfzxq0p44g9g3bdfx83z691pfvcgkq0-nixpkgs/nixpkgs/pkgs/development/node-packages/aliases.nix:14:5:
257.9 13| alias:
257.9 14| if alias.recurseForDerivations or false then
257.9 | ^
257.9 15| lib.removeAttrs alias [ "recurseForDerivations" ]
257.9
257.9 error: attribute 'antennas' missing
257.9 at /nix/store/sqfzxq0p44g9g3bdfx83z691pfvcgkq0-nixpkgs/nixpkgs/pkgs/development/node-packages/aliases.nix:56:14:
257.9 55| "@zwave-js/server" = pkgs.zwave-js-server; # Added 2023-09-09
257.9 56| antennas = pkgs.antennas; # added 2023-07-30
257.9 | ^
257.9 57| inherit (pkgs) autoprefixer; # added 2024-06-25
258.1 ERROR: Feature "Nix Package Manager" (ghcr.io/devcontainers/features/nix) failed to install! Look at the documentation at https://github.com/devcontainers/features/tree/main/src/nix for help troubleshooting this error.

To fix build devcontainer error:
243.7 ---- Reminders -----------------------------------------------------------------
243.7 [ 1 ]
243.7 Nix won't work in active shell sessions until you restart them.
243.7
243.7 [ 2 ]
243.7 I don't support your init system yet; you may want to add nix-daemon manually.
243.7
243.7 (*) Setting up entrypoint...
243.7 (*) Executing post-installation steps...
243.7 Installing packages "direnv devenv" in profile...
249.7 trace: evaluation warning: darwin.iproute2mac has been renamed to iproute2mac
257.9 error:
257.9        … while evaluating a branch condition
257.9          at /nix/store/sqfzxq0p44g9g3bdfx83z691pfvcgkq0-nixpkgs/nixpkgs/pkgs/development/node-packages/aliases.nix:21:29:
257.9            20|   # sets from building on Hydra.
257.9            21|   removeDistribute = alias: if lib.isDerivation alias then lib.dontDistribute alias else alias;
257.9              |                             ^
257.9            22|
257.9
257.9        … while evaluating a branch condition
257.9          at /nix/store/sqfzxq0p44g9g3bdfx83z691pfvcgkq0-nixpkgs/nixpkgs/pkgs/development/node-packages/aliases.nix:14:5:
257.9            13|     alias:
257.9            14|     if alias.recurseForDerivations or false then
257.9              |     ^
257.9            15|       lib.removeAttrs alias [ "recurseForDerivations" ]
257.9
257.9        error: attribute 'antennas' missing
257.9        at /nix/store/sqfzxq0p44g9g3bdfx83z691pfvcgkq0-nixpkgs/nixpkgs/pkgs/development/node-packages/aliases.nix:56:14:
257.9            55|   "@zwave-js/server" = pkgs.zwave-js-server; # Added 2023-09-09
257.9            56|   antennas = pkgs.antennas; # added 2023-07-30
257.9              |              ^
257.9            57|   inherit (pkgs) autoprefixer; # added 2024-06-25
258.1 ERROR: Feature "Nix Package Manager" (ghcr.io/devcontainers/features/nix) failed to install! Look at the documentation at https://github.com/devcontainers/features/tree/main/src/nix for help troubleshooting this error.
------

Signed-off-by: Jiali Chen <chenjiali@radxa.com>
@github-actions
Copy link
Contributor

No linked issues found. Please add the corresponding issues in the pull request description.
Use GitHub automation to close the issue when a PR is merged

@RadxaYuntian RadxaYuntian added this pull request to the merge queue Oct 31, 2025
Merged via the queue into RadxaOS-SDK:main with commit 7992bea Oct 31, 2025
46 of 55 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants