@@ -4,16 +4,19 @@ stdenv.mkDerivation rec {
44 pname = "clinfo";
55 version = "3.0.20.11.20";
66
7− src = fetchFromGitHub {
8− owner = "Oblomov";
9− repo = "clinfo";
10− rev = version;
11− sha256 = "052xfkbmgfpalmhfwn0dj5114x2mzwz29y37qqhhsdpaxsz0y422";
12− };
7+ src = fetchFromGitHub {
8+ owner = "Oblomov";
9+ repo = "clinfo";
10+ rev = version;
11+ sha256 = "052xfkbmgfpalmhfwn0dj5114x2mzwz29y37qqhhsdpaxsz0y422";
12+ };
1313
1414 buildInputs = [ ocl-icd opencl-headers ];
1515
16− NIX_CFLAGS_COMPILE = [ "-Wno-error=stringop-truncation" ];
16+ NIX_CFLAGS_COMPILE = [
17+ "-Wno-error=stringop-overflow"
18+ "-Wno-error=stringop-truncation"
19+ ];
1720
1821 makeFlags = [ "PREFIX=${placeholder "out"}" ];
1922
@@ -21,7 +24,7 @@ stdenv.mkDerivation rec {
2124 description = "Print all known information about all available OpenCL platforms and devices in the system";
2225 homepage = "https://github.com/Oblomov/clinfo";
2326 license = licenses.cc0;
24− platforms = platforms.linux;
2527 maintainers = with maintainers; [ athas ];
28+ platforms = platforms.linux;
2629 };
2730}