Fix nix build

This commit is contained in:
git_unspecified 2023-03-09 02:12:37 -06:00
parent 1b5860eec8
commit 54e755efdd
2 changed files with 8 additions and 6 deletions

View file

@ -2,11 +2,11 @@
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1631368560,
"narHash": "sha256-JUx+2uf1C2dZ1n56hcy5gjPGh4UP0nQwIr+WbjaWaP4=",
"lastModified": 1678349056,
"narHash": "sha256-kcL7Ap6IfUQRmGFeE2F0SkzIbQaPvZiylIuL2dD6mL0=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "91333fe5c9212e1a0c587c8ce70b0571bf0b18bd",
"rev": "6a231a6eb788a345b265e1f26e04b96d8a402bf5",
"type": "github"
},
"original": {
@ -23,11 +23,11 @@
},
"utils": {
"locked": {
"lastModified": 1629481132,
"narHash": "sha256-JHgasjPR0/J1J3DRm4KxM4zTyAj4IOJY8vIl75v/kPI=",
"lastModified": 1676283394,
"narHash": "sha256-XX2f9c3iySLCw54rJ/CZs+ZK6IQy7GXNY4nSOyu2QG4=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "997f7efcb746a9c140ce1f13c72263189225f482",
"rev": "3db36a8b464d0c4532ba1c7dda728f4576d6d073",
"type": "github"
},
"original": {

View file

@ -26,6 +26,8 @@
inherit (pkgs) libuv zeromq libsodium gss curl;
};
cmakeFlags = ["-DWITH_LTO=OFF"];
installPhase = ''
mkdir -p $out/bin
cp -r ./p2pool $out/bin/