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

View file

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