xmr-stak: fix evaluation with nix 1.11

+2 -2
+2 -2
pkgs/applications/misc/xmr-stak/default.nix
··· 1 { stdenv, lib, fetchFromGitHub, cmake, libuv, libmicrohttpd, openssl 2 , opencl-headers, ocl-icd, hwloc, cudatoolkit 3 - , devDonationLevel ? 0.0 4 , cudaSupport ? false # doesn't work currently 5 }: 6 ··· 26 27 postPatch = '' 28 substituteInPlace xmrstak/donate-level.hpp \ 29 - --replace 'fDevDonationLevel = 2.0' 'fDevDonationLevel = ${toString devDonationLevel}' 30 ''; 31 32 meta = with lib; {
··· 1 { stdenv, lib, fetchFromGitHub, cmake, libuv, libmicrohttpd, openssl 2 , opencl-headers, ocl-icd, hwloc, cudatoolkit 3 + , devDonationLevel ? "0.0" 4 , cudaSupport ? false # doesn't work currently 5 }: 6 ··· 26 27 postPatch = '' 28 substituteInPlace xmrstak/donate-level.hpp \ 29 + --replace 'fDevDonationLevel = 2.0' 'fDevDonationLevel = ${devDonationLevel}' 30 ''; 31 32 meta = with lib; {