diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2020-01-09 04:40:38 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-09 04:40:38 -0500 |
commit | 7fe737dece852f67da768af2795f68214a1887e5 (patch) | |
tree | d13e26e151c973b4acb5db6b86a78f63405760b1 /pkgs | |
parent | 6cd31dd5256f0771f300fa03a66ed1611e3d6941 (diff) | |
parent | b8c0e8b6b7ce59f593fc546b2a65cdd5e06e2e32 (diff) |
Merge pull request #77353 from anmonteiro/patch-3
ocamlPackages.ppxfind: dontStrip for all versions
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/ocaml-modules/ppxfind/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/ppxfind/default.nix b/pkgs/development/ocaml-modules/ppxfind/default.nix index 3b61a65126358..75d1e57765e92 100644 --- a/pkgs/development/ocaml-modules/ppxfind/default.nix +++ b/pkgs/development/ocaml-modules/ppxfind/default.nix @@ -1,4 +1,4 @@ -{ lib, buildDunePackage, fetchurl, ocaml, ocaml-migrate-parsetree }: +{ stdenv, lib, buildDunePackage, fetchurl, ocaml, ocaml-migrate-parsetree }: buildDunePackage (rec { pname = "ppxfind"; @@ -12,6 +12,9 @@ buildDunePackage (rec { buildInputs = [ ocaml-migrate-parsetree ]; + # Don't run the native `strip' when cross-compiling. + dontStrip = stdenv.hostPlatform != stdenv.buildPlatform; + meta = { homepage = "https://github.com/diml/ppxfind"; description = "ocamlfind ppx tool"; |