[go: nahoru, domu]

tree: 4ff9bab26852b00a78b1a6ee1bc24ce8b1a90abf [path history] [tgz]
  1. OWNERS
  2. README.md
  3. shell.nix
tools/nix/README.md

NixOS dev environment

Note: this is not used in production.

To get a shell with this env:

$ nix-shell

To run a command in this env, you can’t use nix-shell --run, but instead:

$ NIX_SHELL_RUN='...' nix-shell

To set up clangd with remote indexing support:

  1. $ NIX_SHELL_RUN='readlink /usr/bin/clangd' nix-shell
  2. Copy the path into your editor config