remove kDefaultDonateLevel patch, upstream now defaults it to zero
This commit is contained in:
parent
03fbb136f4
commit
18e615a7a5
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue