creduce: fix llvm build

This commit is contained in:
Jonathan Ringer 2021-05-08 16:00:08 -07:00 committed by Jonathan Ringer
parent 2171463a0f
commit 76ab96811b
2 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
{ lib, stdenv, fetchurl, cmake, makeWrapper
, llvm, clang-unwrapped
, llvm, libclang
, flex
, zlib
, perlPackages
@ -15,12 +15,12 @@ stdenv.mkDerivation rec {
sha256 = "1b833z0g1hich68kzbkpfc26xb8w2phfl5savy8c6ir9ihwy1a8w";
};
nativeBuildInputs = [ cmake makeWrapper ];
nativeBuildInputs = [ cmake makeWrapper llvm.dev ];
buildInputs = [
# Ensure stdenv's CC is on PATH before clang-unwrapped
stdenv.cc
# Actual deps:
llvm clang-unwrapped
llvm libclang
flex zlib
] ++ (with perlPackages; [ perl ExporterLite FileWhich GetoptTabular RegexpCommon TermReadKey ]);

View file

@ -12756,7 +12756,7 @@ in
credstash = with python3Packages; toPythonApplication credstash;
creduce = callPackage ../development/tools/misc/creduce {
inherit (llvmPackages_7) llvm clang-unwrapped;
inherit (llvmPackages_7) llvm libclang;
};
cscope = callPackage ../development/tools/misc/cscope { };