diff options
author | Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com> | 2022-09-24 12:45:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-24 12:45:27 +0200 |
commit | 6a64820cb43a263b56e676290204e8265b148ee5 (patch) | |
tree | e53bad6d4f4811c1a1288e6f3cd1d43338bd2927 /doc/manual/src | |
parent | cacfc32ee22bacb6400796e47fd4dee41299b66a (diff) | |
parent | e04b38f789ff2fb3a93f4cf5783b23430e5d2797 (diff) |
Merge pull request #7082 from rapenne-s/ccache
add ccacheStdenv
Diffstat (limited to 'doc/manual/src')
-rw-r--r-- | doc/manual/src/contributing/hacking.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/manual/src/contributing/hacking.md b/doc/manual/src/contributing/hacking.md index 59ce5cac7..e97b40cdd 100644 --- a/doc/manual/src/contributing/hacking.md +++ b/doc/manual/src/contributing/hacking.md @@ -42,7 +42,7 @@ $ nix develop ``` To get a shell with a different compilation environment (e.g. stdenv, -gccStdenv, clangStdenv, clang11Stdenv): +gccStdenv, clangStdenv, clang11Stdenv, ccacheStdenv): ```console $ nix-shell -A devShells.x86_64-linux.clang11StdenvPackages @@ -54,6 +54,9 @@ or if you have a flake-enabled nix: $ nix develop .#clang11StdenvPackages ``` +Note: you can use `ccacheStdenv` to drastically improve rebuild +time. By default, ccache keeps artifacts in `~/.cache/ccache/`. + To build Nix itself in this shell: ```console |