Comment on kDonateLevel
This commit is contained in:
@@ -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};"
|
||||||
'';
|
'';
|
||||||
|
|||||||
Reference in New Issue
Block a user