mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
why3: move the OCaml library to its own dev output
This commit is contained in:
parent
b4c953947f
commit
d0cdb657c2
@ -22,11 +22,12 @@ stdenv.mkDerivation rec {
|
||||
batteries
|
||||
dune-build-info
|
||||
inifiles
|
||||
why3
|
||||
yojson
|
||||
zarith
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ why3 ];
|
||||
propagatedBuildInputs = [ why3.out ];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
|
@ -55,8 +55,15 @@ stdenv.mkDerivation rec {
|
||||
(lib.enableFeature ideSupport "ide")
|
||||
];
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
installTargets = [ "install" "install-lib" ];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $dev/lib
|
||||
mv $out/lib/ocaml $dev/lib/
|
||||
'';
|
||||
|
||||
passthru.withProvers = callPackage ./with-provers.nix {};
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -20,7 +20,7 @@ let
|
||||
ppx_deriving_yojson
|
||||
ppx_import
|
||||
stdlib-shims
|
||||
why3
|
||||
why3.dev
|
||||
re
|
||||
result
|
||||
seq
|
||||
|
Loading…
Reference in New Issue
Block a user