1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 10:41:16 +02:00

docs/building: fix attribute for nix-cli-ccacheStdenv

(cherry picked from commit c12fd7b319)
This commit is contained in:
Jörg Thalheim 2025-04-09 07:50:57 +02:00 committed by John Ericson
parent f8984c4182
commit 58c84bcf8a

View file

@ -236,18 +236,18 @@ Nix can be compiled using multiple environments:
To build with one of those environments, you can use To build with one of those environments, you can use
```console ```console
$ nix build .#nix-ccacheStdenv $ nix build .#nix-cli-ccacheStdenv
``` ```
for flake-enabled Nix, or for flake-enabled Nix, or
```console ```console
$ nix-build --attr nix-ccacheStdenv $ nix-build --attr nix-cli-ccacheStdenv
``` ```
for classic Nix. for classic Nix.
You can use any of the other supported environments in place of `nix-ccacheStdenv`. You can use any of the other supported environments in place of `nix-cli-ccacheStdenv`.
## Editor integration ## Editor integration