Skip to content

Commit 29629b6

Browse files
committed
build: update devcontainer.json to use paired nix env
Refs: nodejs/devcontainer#22
1 parent e1fc3dc commit 29629b6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.devcontainer/base/devcontainer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@
77
"mounts": [
88
"source=node-devcontainer-cache,target=/home/developer/nodejs/node/out,type=volume"
99
],
10-
"postCreateCommand": "git restore-mtime"
10+
"postCreateCommand": "git restore-mtime",
11+
"postStartCommand": "cp /home/developer/envrc/static-libs.envrc /home/developer/nodejs/node/.envrc && direnv allow /home/developer/nodejs/node"
1112
}

0 commit comments

Comments
 (0)