xmr-stak: doesn't build with gcc7 if cuda is enabled
This commit is contained in:
parent
1b0a7bfe38
commit
0520634725
@ -1,11 +1,16 @@
|
||||
{ stdenv, lib, fetchFromGitHub, cmake, libuv, libmicrohttpd, openssl
|
||||
{ stdenv, stdenvGcc6, lib
|
||||
, fetchFromGitHub, cmake, libuv, libmicrohttpd, openssl
|
||||
, opencl-headers, ocl-icd, hwloc, cudatoolkit
|
||||
, devDonationLevel ? "0.0"
|
||||
, cudaSupport ? false
|
||||
, openclSupport ? true
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
let
|
||||
stdenv' = if cudaSupport then stdenvGcc6 else stdenv;
|
||||
in
|
||||
|
||||
stdenv'.mkDerivation rec {
|
||||
name = "xmr-stak-${version}";
|
||||
version = "2.4.3";
|
||||
|
||||
|
@ -16785,6 +16785,7 @@ with pkgs;
|
||||
};
|
||||
|
||||
xmr-stak = callPackage ../applications/misc/xmr-stak {
|
||||
stdenvGcc6 = overrideCC stdenv gcc6;
|
||||
hwloc = hwloc-nox;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user