Commit 7992bea
fix: devcontainer: useAttributePath for nix features
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>1 parent c45b8ed commit 7992bea
2 files changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
0 commit comments