Skip to content

Commit

Permalink
document nix build
Browse files Browse the repository at this point in the history
  • Loading branch information
ekg committed Oct 26, 2023
1 parent 2281846 commit d396bd0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@ Static builds are unlikely to be supported on OSX, and require appropriate stati

For more information on optimisations, debugging and GNU Guix builds, see [INSTALL.md](./INSTALL.md) and [CMakeLists.txt](./CMakeLists.txt).

### Nix build

If you have `nix`, build and installation in your profile are as simple as:

```
nix-build && nix-env -i ./result
```

#### Notes for distribution

If you need to avoid machine-specific optimizations, use the `CMAKE_BUILD_TYPE=Generic` build type:
Expand Down

0 comments on commit d396bd0

Please sign in to comment.