remove kDefaultDonateLevel patch, upstream now defaults it to zero

This commit is contained in:
Ahmed Kamal 2019-08-18 16:40:31 +02:00
parent 03fbb136f4
commit 18e615a7a5

View file

@ -17,10 +17,6 @@ stdenv.mkDerivation rec {
buildInputs = [ libuv libmicrohttpd libuuid openssl ];
postPatch = ''
# Set default donation level to 0%. Can be increased at runtime via --donate-level option.
substituteInPlace src/donate.h \
--replace "kDefaultDonateLevel = 2;" "kDefaultDonateLevel = ${toString donateLevel};"
# Link dynamically against libuuid instead of statically
substituteInPlace CMakeLists.txt --replace uuid.a uuid
'';