Commit graph

9 commits

Author SHA1 Message Date
Matt Sturgeon 33fdeee5d4
.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
2025-08-06 16:43:06 +01:00
Matt Sturgeon 14cef9a9fa
Revert ".devcontainer: nixfmt-rfc-style -> nixfmt" 2025-08-05 20:33:12 +00:00
Pol Dellaiera bf1ed58534 .devcontainer: nixfmt-rfc-style -> nixfmt
Follow up of https://github.com/NixOS/nixpkgs/pull/425068
2025-08-02 12:04:23 +02:00
Arne Keller 33989ddd47
.devcontainer: add commands to adjust permissions under Codespaces (#386690) 2025-05-06 12:20:24 +02:00
Kenichi Kamiya 1a7bf6808c
.devcontainer: clarify the formatter is nixfmt-rfc-style 2025-04-07 01:15:39 +09:00
Kenichi Kamiya b1a549d4fa
.devcontainer: apply nixfmt-rfc-style on save
formatterPath does not support the specifier "nixfmt-rfc-style"

92fdb077e9/package.json (L76-L85)

Currently it is just ignored,
because of we are setting LSP.

92fdb077e9/README.md?plain=1#L63

This commit removes the unused config
and enables auto formatter on save.
2025-04-06 23:52:51 +09:00
Ratchanan Srirattanamet 736e9ff05c .devcontainer: add commands to adjust permissions under Codespaces
This commit does 2 things:

- Remove "default permission" from ACL table of /tmp. This is to prevent
  "error: suspicious ownership or permission on '<...>' for output
  'out'; rejecting this build output" error. See:
  https://github.com/NixOS/nix/issues/6680#issuecomment-1230902525
- Set permission of /dev/kvm so that it can be used by NixOS tests.

Note that this is tested on GitHub Codespaces only; I'm not sure how
VSCode's local devcontainer handling will react. Although I've added a
guard code in case /dev/kvm does not exist in that environment.
2025-03-03 11:31:54 +00:00
Arne Keller e9c59776b3 .devcontainer: tweaks 2025-01-13 16:35:04 +01:00
Iavael 227c0926cf Add devcontainer config 2022-11-17 13:12:00 +00:00