build: update devcontainer.json to use paired nix env

Refs: https://github.com/nodejs/devcontainer/pull/22
PR-URL: https://github.com/nodejs/node/pull/61414
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Tierney Cyren <hello@bnb.im>
This commit is contained in:
Joyee Cheung authored and GitHub committed 2026-01-19 22:34:55 +00:00
1 parent d1e26f60ab
commit bc9ffc32bd
1 file changed
+2 -1
+2 -1
View File
@@ -7,5 +7,6 @@
"mounts": [
"source=node-devcontainer-cache,target=/home/developer/nodejs/node/out,type=volume"
],
"postCreateCommand": "git restore-mtime"
"postCreateCommand": "git restore-mtime",
"postStartCommand": "cp /home/developer/envrc/static-libs.envrc /home/developer/nodejs/node/.envrc && direnv allow /home/developer/nodejs/node"
}