mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
ethminer: fix broken package by switching to clang
This commit is contained in:
parent
182b0d051a
commit
0446b8af52
1 changed files with 6 additions and 5 deletions
|
@ -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 a new issue