+3
-2
.devcontainer/devcontainer.json
+3
-2
.devcontainer/devcontainer.json
···
5
5
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6
6
"image": "mcr.microsoft.com/devcontainers/rust:1-1-bullseye",
7
7
"features": {
8
-
"ghcr.io/devcontainers/features/github-cli:1": {}
8
+
"ghcr.io/devcontainers/features/github-cli:1": {},
9
+
"ghcr.io/devcontainers/features/nix:1": {}
9
10
},
10
11
11
12
// Use 'mounts' to make the cargo cache persistent in a Docker Volume.
···
24
25
// "forwardPorts": [],
25
26
26
27
// Use 'postCreateCommand' to run commands after the container is created.
27
-
"postCreateCommand": "sudo apt update && sudo apt install -y protobuf-compiler librust-alsa-sys-dev"
28
+
"postCreateCommand": "nix develop --experimental-features \"nix-command flakes\""
28
29
29
30
// Configure tool-specific properties.
30
31
// "customizations": {},