From d7a4f08d428973df974e3c6102950881fe31781a Mon Sep 17 00:00:00 2001 From: John Ericson Date: Wed, 2 Mar 2022 02:40:18 +0000 Subject: 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. --- doc/manual/src/contributing/hacking.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/manual/src/contributing') 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: -- cgit v1.2.3