Skip to content

Commit

Permalink
Merge pull request #6538 from zimbatm/simplify-flake
Browse files Browse the repository at this point in the history
simplify flake
  • Loading branch information
roberth committed Feb 20, 2023
2 parents 9a3f66d + d7a4f08 commit de71483
Show file tree
Hide file tree
Showing 3 changed files with 113 additions and 185 deletions.
6 changes: 3 additions & 3 deletions doc/manual/src/contributing/hacking.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**
Expand Down Expand Up @@ -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:
Expand Down
Loading

0 comments on commit de71483

Please sign in to comment.