Skip to content

Commit c96f658

Browse files
committed
Add alejandra to the dev container
1 parent 71d16f0 commit c96f658

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.devcontainer/devcontainer.json

+4-5
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,14 @@
33
{
44
"name": "Ubuntu",
55
"dockerFile": "Dockerfile",
6-
76
"context": "${localWorkspaceFolder}",
87
"runArgs": [
9-
"--security-opt", "label=disable"
8+
"--security-opt",
9+
"label=disable"
1010
],
11-
1211
"mounts": [
1312
"source=nix-ubuntu-container,target=/nix,type=volume"
1413
],
15-
1614
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
1715
// "image": "mcr.microsoft.com/devcontainers/base:${templateOption:imageVariant}"
1816
// Features to add to the dev container. More info: https://containers.dev/features.
@@ -27,7 +25,8 @@
2725
"extensions": [
2826
"xaver.clang-format",
2927
"arrterian.nix-env-selector",
30-
"ms-vscode.cpptools"
28+
"ms-vscode.cpptools",
29+
"kamadorueda.alejandra"
3130
]
3231
}
3332
},

flake.nix

+1
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
# for the llvm-symbolizer binary, that allows to show stacks in ASAN and LeakSanitizer.
9494
llvmPackages_latest.bintools-unwrapped
9595
cmake-format
96+
alejandra
9697
]
9798
++ immer-archive-inputs;
9899

0 commit comments

Comments
 (0)