mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
ethminer: fix broken package by switching to clang
This commit is contained in:
parent
182b0d051a
commit
0446b8af52
@ -1,5 +1,5 @@
|
||||
{
|
||||
stdenv,
|
||||
clangStdenv,
|
||||
fetchFromGitHub,
|
||||
opencl-headers,
|
||||
cmake,
|
||||
@ -16,7 +16,11 @@
|
||||
cli11
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
# Note that this requires clang < 9.0 to build, and currently
|
||||
# clangStdenv provides clang 7.1 which satisfies the requirement.
|
||||
let stdenv = clangStdenv;
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "ethminer";
|
||||
version = "0.18.0";
|
||||
|
||||
@ -71,8 +75,5 @@ stdenv.mkDerivation rec {
|
||||
platforms = [ "x86_64-linux" ];
|
||||
maintainers = with maintainers; [ nand0p ];
|
||||
license = licenses.gpl2;
|
||||
# Doesn't build with gcc9, and if overlayed to use gcc8 stdenv fails on CUDA issues.
|
||||
broken = true;
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user