1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-09 09:36:20 +09:00
nixpkgs/.devcontainer
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
..
devcontainer.json .devcontainer: add commands to adjust permissions under Codespaces 2025-03-03 11:31:54 +00:00