mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
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}'";
|
|
|
|
}
|