diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2019-08-14 15:35:28 +0000 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2019-08-20 04:55:45 +0000 |
commit | 4759568c6b259e5b20323ded9a64619b4bd27ad3 (patch) | |
tree | cc42d6b248cd74cf10f6ffe1bc0d74711d1d2a84 /pkgs/development/ocaml-modules/ppxfind | |
parent | ff6c982e5e239c3c7194b5b57ba1968bc501af33 (diff) | |
download | nixpkgs-4759568c6b259e5b20323ded9a64619b4bd27ad3.tar nixpkgs-4759568c6b259e5b20323ded9a64619b4bd27ad3.tar.gz nixpkgs-4759568c6b259e5b20323ded9a64619b4bd27ad3.tar.bz2 nixpkgs-4759568c6b259e5b20323ded9a64619b4bd27ad3.tar.lz nixpkgs-4759568c6b259e5b20323ded9a64619b4bd27ad3.tar.xz nixpkgs-4759568c6b259e5b20323ded9a64619b4bd27ad3.tar.zst nixpkgs-4759568c6b259e5b20323ded9a64619b4bd27ad3.zip |
ocamlPackages.ppxfind: do not strip with OCaml 4.04
Diffstat (limited to 'pkgs/development/ocaml-modules/ppxfind')
-rw-r--r-- | pkgs/development/ocaml-modules/ppxfind/default.nix | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgs/development/ocaml-modules/ppxfind/default.nix b/pkgs/development/ocaml-modules/ppxfind/default.nix index 7d8c14c5513..3b61a651263 100644 --- a/pkgs/development/ocaml-modules/ppxfind/default.nix +++ b/pkgs/development/ocaml-modules/ppxfind/default.nix @@ -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 {} +)) |