ocamlPackages.bap: fix for multiple outputs llvmPackages

7869d16545 split all packages in
llvmPackages into multiple outputs. The default output of llvm doesn't
contain llvm-config, so we need to explicitly choose llvm.dev here.
This commit is contained in:
sternenseemann 2021-05-18 00:29:15 +02:00 committed by sterni
parent 252da556e0
commit 2d3225a6c2
2 changed files with 2 additions and 2 deletions

View file

@ -68,7 +68,7 @@ stdenv.mkDerivation rec {
substituteInPlace oasis/elf-loader --replace bitstring.ppx ppx_bitstring
'';
configureFlags = [ "--enable-everything ${disableIda}" "--with-llvm-config=${llvm}/bin/llvm-config" ];
configureFlags = [ "--enable-everything ${disableIda}" "--with-llvm-config=${llvm.dev}/bin/llvm-config" ];
meta = with lib; {
description = "Platform for binary analysis. It is written in OCaml, but can be used from other languages.";

View file

@ -53,7 +53,7 @@ let
base64 = callPackage ../development/ocaml-modules/base64 { };
bap = callPackage ../development/ocaml-modules/bap {
llvm = pkgs.llvm_8;
inherit (pkgs.llvmPackages_8) llvm;
};
batteries = callPackage ../development/ocaml-modules/batteries { };