forked from mirrors/nixpkgs
a13cdfe520
To keep this for the future we also strictDeps where possible, including for janePackages, topkg, oasis and ocamlbuild. This makes some closures significantly smaller and makes cross compilation easier
19 lines
354 B
Nix
19 lines
354 B
Nix
{ stdenv, ocaml, findlib, ounit2 }:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "ocaml${ocaml.version}-ounit";
|
|
inherit (ounit2) version src meta;
|
|
|
|
nativeBuildInputs = [ findlib ];
|
|
propagatedBuildInputs = [ ounit2 ];
|
|
|
|
strictDeps = true;
|
|
|
|
dontBuild = true;
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
installTargets = "install-ounit version='${ounit2.version}'";
|
|
|
|
}
|