ocamlPackages.ppxfind: do not strip with OCaml 4.04

This commit is contained in:
Vincent Laporte 2019-08-14 15:35:28 +00:00 committed by Vincent Laporte
parent ff6c982e5e
commit 4759568c6b

View file

@ -1,6 +1,6 @@
{ lib, buildDunePackage, fetchurl, ocaml-migrate-parsetree }:
{ lib, buildDunePackage, fetchurl, ocaml, ocaml-migrate-parsetree }:
buildDunePackage rec {
buildDunePackage (rec {
pname = "ppxfind";
version = "1.3";
src = fetchurl {
@ -18,4 +18,8 @@ buildDunePackage rec {
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.vbgl ];
};
}
} // (
if lib.versions.majorMinor ocaml.version == "4.04" then {
dontStrip = true;
} else {}
))