Skip to content

Commit

Permalink
ethminer: fix broken package by switching to clang
Browse files Browse the repository at this point in the history
  • Loading branch information
breakds authored and Jonathan Ringer committed Dec 21, 2020
1 parent 182b0d0 commit 0446b8a
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions pkgs/tools/misc/ethminer/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
stdenv,
clangStdenv,
fetchFromGitHub,
opencl-headers,
cmake,
Expand All @@ -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";

Expand Down Expand Up @@ -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;
};

}

0 comments on commit 0446b8a

Please sign in to comment.