summaryrefslogtreecommitdiff
path: root/.devcontainer
diff options
context:
space:
mode:
authorKenichi Kamiya <kachick1@gmail.com>2025-04-07 01:15:39 +0900
committerKenichi Kamiya <kachick1@gmail.com>2025-04-07 01:15:39 +0900
commit1a7bf6808cfcfc99b0253a387f11b7b5be80b539 (patch)
tree33192659b256375ae89bd2e994b641156f9eb948 /.devcontainer
parent.devcontainer: apply nixfmt-rfc-style on save (diff)
downloadnixpkgs-1a7bf6808cfcfc99b0253a387f11b7b5be80b539.tar.gz
.devcontainer: clarify the formatter is nixfmt-rfc-style
Diffstat (limited to '.devcontainer')
-rw-r--r--.devcontainer/devcontainer.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index 7bf32902a87a..e9c1c3ed60c3 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -5,7 +5,8 @@
"ghcr.io/devcontainers/features/nix:1": {
// fails in the devcontainer sandbox, enable sandbox via config instead
"multiUser": false,
- "packages": "nixd,nixfmt-unstable",
+ "packages": "nixpkgs.nixd,nixpkgs.nixfmt-rfc-style",
+ "useAttributePath": true,
"extraNixConfig": "experimental-features = nix-command flakes,sandbox = true"
}
},