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:
parent
252da556e0
commit
2d3225a6c2
|
@ -68,7 +68,7 @@ stdenv.mkDerivation rec {
|
||||||
substituteInPlace oasis/elf-loader --replace bitstring.ppx ppx_bitstring
|
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; {
|
meta = with lib; {
|
||||||
description = "Platform for binary analysis. It is written in OCaml, but can be used from other languages.";
|
description = "Platform for binary analysis. It is written in OCaml, but can be used from other languages.";
|
||||||
|
|
|
@ -53,7 +53,7 @@ let
|
||||||
base64 = callPackage ../development/ocaml-modules/base64 { };
|
base64 = callPackage ../development/ocaml-modules/base64 { };
|
||||||
|
|
||||||
bap = callPackage ../development/ocaml-modules/bap {
|
bap = callPackage ../development/ocaml-modules/bap {
|
||||||
llvm = pkgs.llvm_8;
|
inherit (pkgs.llvmPackages_8) llvm;
|
||||||
};
|
};
|
||||||
|
|
||||||
batteries = callPackage ../development/ocaml-modules/batteries { };
|
batteries = callPackage ../development/ocaml-modules/batteries { };
|
||||||
|
|
Loading…
Reference in New Issue