Skip to content

Commit

Permalink
Add alejandra to the dev container
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-sparus committed Feb 14, 2024
1 parent 71d16f0 commit c96f658
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,14 @@
{
"name": "Ubuntu",
"dockerFile": "Dockerfile",

"context": "${localWorkspaceFolder}",
"runArgs": [
"--security-opt", "label=disable"
"--security-opt",
"label=disable"
],

"mounts": [
"source=nix-ubuntu-container,target=/nix,type=volume"
],

// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
// "image": "mcr.microsoft.com/devcontainers/base:${templateOption:imageVariant}"
// Features to add to the dev container. More info: https://containers.dev/features.
Expand All @@ -27,7 +25,8 @@
"extensions": [
"xaver.clang-format",
"arrterian.nix-env-selector",
"ms-vscode.cpptools"
"ms-vscode.cpptools",
"kamadorueda.alejandra"
]
}
},
Expand Down
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
# for the llvm-symbolizer binary, that allows to show stacks in ASAN and LeakSanitizer.
llvmPackages_latest.bintools-unwrapped
cmake-format
alejandra
]
++ immer-archive-inputs;

Expand Down

0 comments on commit c96f658

Please sign in to comment.