Comment on kDonateLevel

This commit is contained in:
Ivan Jager 2018-04-10 05:57:05 -05:00
parent e30f55f6d2
commit 340270cb44

View file

@ -16,6 +16,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
buildInputs = [ libuv libmicrohttpd libuuid ];
# Set default donation level to 0%. Can be increased at runtime via --donate-level option.
postPatch = ''
substituteInPlace src/donate.h --replace "kDonateLevel = 2;" "kDonateLevel = ${toString donateLevel};"
'';