Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
  • Loading branch information
Ericson2314 and fricklerhandwerk authored Nov 27, 2023
1 parent 214b962 commit d2c6753
Showing 1 changed file with 3 additions and 3 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 @@ -150,7 +150,7 @@ Add more [system types](#system-type) to `crossSystems` in `flake.nix` to bootst

It is useful to perform multiple cross and native builds on the same source tree,
for example to ensure that better support for one platform doesn't break the build for another.
In order to facilitate this for, Nix has some support for being built out of tree:
In order to facilitate this, Nix has some support for being built out of tree – that is, placing build artefacts in a different directory than the source code:

1. Create a directory for the build, e.g.

Expand All @@ -162,13 +162,13 @@ In order to facilitate this for, Nix has some support for being built out of tre

```bash
cd build
../configure ...configure-flags
../configure <configure flags>
```

3. Run make from the source directory, but with the build directory specified, e.g.

```bash
make builddir=build ...make-flags
make builddir=build <make flags>
```

## System type
Expand Down

0 comments on commit d2c6753

Please sign in to comment.