fix: devcontainer: useAttributePath for nix features#119
Merged
RadxaYuntian merged 1 commit intoRadxaOS-SDK:mainfrom Oct 31, 2025
Merged
fix: devcontainer: useAttributePath for nix features#119RadxaYuntian merged 1 commit intoRadxaOS-SDK:mainfrom
RadxaYuntian merged 1 commit intoRadxaOS-SDK:mainfrom
Conversation
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>
Contributor
|
No linked issues found. Please add the corresponding issues in the pull request description. |
RadxaYuntian
approved these changes
Oct 31, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.