From 18e615a7a5330e7872d793a61d6333a8aa213b3d Mon Sep 17 00:00:00 2001 From: Ahmed Kamal Date: Sun, 18 Aug 2019 16:40:31 +0200 Subject: [PATCH] remove kDefaultDonateLevel patch, upstream now defaults it to zero --- pkgs/applications/misc/xmrig/proxy.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkgs/applications/misc/xmrig/proxy.nix b/pkgs/applications/misc/xmrig/proxy.nix index d713f74a799..18eb2189f2c 100644 --- a/pkgs/applications/misc/xmrig/proxy.nix +++ b/pkgs/applications/misc/xmrig/proxy.nix @@ -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 '';