Comment on kDonateLevel
This commit is contained in:
parent
e30f55f6d2
commit
340270cb44
@ -16,6 +16,7 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
buildInputs = [ libuv libmicrohttpd libuuid ];
|
buildInputs = [ libuv libmicrohttpd libuuid ];
|
||||||
|
|
||||||
|
# Set default donation level to 0%. Can be increased at runtime via --donate-level option.
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace src/donate.h --replace "kDonateLevel = 2;" "kDonateLevel = ${toString donateLevel};"
|
substituteInPlace src/donate.h --replace "kDonateLevel = 2;" "kDonateLevel = ${toString donateLevel};"
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user