mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-11-16 15:57:39 +00:00
added nix build instructions
This commit is contained in:
parent
5c57c4d0d8
commit
830531791d
1 changed files with 20 additions and 0 deletions
20
README.md
20
README.md
|
@ -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…
Reference in a new issue