aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/src/contributing
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2022-03-02 02:40:18 +0000
committerzimbatm <zimbatm@zimbatm.com>2023-02-20 11:35:51 +0100
commitd7a4f08d428973df974e3c6102950881fe31781a (patch)
treebda99db3ac9668f275df57438c9440363dbc7ade /doc/manual/src/contributing
parent9a3f66d9d97a99d811ddbe9f4a7e84e306ae79fa (diff)
Nix's own flake: Dedup and memoize more
- `nixpkgsFor` does all of native, static, cross, and the different stdenvs. - The main Nix derivation is no longer duplicated for static. - DRY nixpkgs.lib and lib.genAttrs calls.
Diffstat (limited to 'doc/manual/src/contributing')
-rw-r--r--doc/manual/src/contributing/hacking.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/manual/src/contributing/hacking.md b/doc/manual/src/contributing/hacking.md
index f5c76f837..d16ffa4af 100644
--- a/doc/manual/src/contributing/hacking.md
+++ b/doc/manual/src/contributing/hacking.md
@@ -30,7 +30,7 @@ This shell also adds `./outputs/bin/nix` to your `$PATH` so you can run `nix` im
To get a shell with one of the other [supported compilation environments](#compilation-environments):
```console
-$ nix develop .#clang11Stdenv
+$ nix develop .#native-clang11StdenvPackages
```
> **Note**
@@ -77,12 +77,12 @@ $ nix-shell
To get a shell with one of the other [supported compilation environments](#compilation-environments):
```console
-$ nix-shell -A devShells.x86_64-linux.clang11Stdenv
+$ nix-shell -A devShells.x86_64-linux.native-clang11StdenvPackages
```
> **Note**
>
-> You can use `ccacheStdenv` to drastically improve rebuild time.
+> You can use `native-ccacheStdenvPackages` to drastically improve rebuild time.
> By default, [ccache](https://ccache.dev) keeps artifacts in `~/.cache/ccache/`.
To build Nix itself in this shell: