added nix build instructions

pull/23/head
Thorsten Schindler 3 years ago
parent 5c57c4d0d8
commit 830531791d
No known key found for this signature in database
GPG Key ID: 922952DA3C68691E

@ -81,6 +81,26 @@ make release-static -j$(nproc)
Make the package: [p2pool-git](https://aur.archlinux.org/packages/p2pool-git/)
### [Nix/NixOS](https://nixos.org)
This is a flake only project. So you have to use [nixUnstable with nix flakes](https://nixos.wiki/wiki/Flakes) to build or install p2pool.
The commands below use the new flake specific reference-format, so be sure to also set `ca-refernces` in `--experimental-features`.
Because this project has submodules which are not fixed in _nixUnstable_ yet you have to use the `nix/master` branch:
```
nix shell github:nixos/nix/master
```
Run the binary:
```
nix run github:SChernykh/p2pool
```
Run the binary with arguments:
```
nix run github:SChernykh/p2pool -- --help
```
### macOS
p2pool binary:

Loading…
Cancel
Save