mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
alt-ergo: split into multiple outputs
This commit is contained in:
parent
8e2b735ee0
commit
6f1d170fe6
@ -39,7 +39,17 @@ ocamlPackages.buildDunePackage {
|
||||
inherit pname version src;
|
||||
|
||||
nativeBuildInputs = [ ocamlPackages.menhir ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.sigtool ];
|
||||
buildInputs = [ alt-ergo-parsers ] ++ (with ocamlPackages; [ cmdliner dune-site ppxlib ]);
|
||||
propagatedBuildInputs = [ alt-ergo-parsers ] ++ (with ocamlPackages; [ cmdliner dune-site ppxlib ]);
|
||||
|
||||
outputs = [ "bin" "out" ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
dune install --prefix $bin ${pname}
|
||||
mkdir -p $out/lib/ocaml/${ocamlPackages.ocaml.version}/site-lib
|
||||
mv $bin/lib/alt-ergo $out/lib/ocaml/${ocamlPackages.ocaml.version}/site-lib/
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "High-performance theorem prover and SMT solver";
|
||||
|
Loading…
Reference in New Issue
Block a user