.devcontainer: add TODO for nixfmt-rfc-style alias

The alias should be dropped only once `pkgs.nixfmt` is unlikely to be
nixfmt-classic.

I.e. after nixfmt 1.0 is in a stable release, but before the
nixfmt-rfc-style alias starts warning.

See https://github.com/NixOS/nixpkgs/issues/425583
This commit is contained in:
Matt Sturgeon 2025-08-06 16:40:20 +01:00
parent 14cef9a9fa
commit 33fdeee5d4
No known key found for this signature in database
GPG Key ID: 4F91844CED1A8299

View File

@ -5,6 +5,8 @@
"ghcr.io/devcontainers/features/nix:1": {
// fails in the devcontainer sandbox, enable sandbox via config instead
"multiUser": false,
// TODO: nixfmt-rfc-style nixfmt (once it's in a stable release)
// https://github.com/NixOS/nixpkgs/issues/425583
"packages": "nixpkgs.nixd,nixpkgs.nixfmt-rfc-style",
"useAttributePath": true,
"extraNixConfig": "experimental-features = nix-command flakes,sandbox = true"