From fcb9f443750ce8c41a229818a2968d5dc4ec2e4d Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Sat, 1 Apr 2017 10:54:30 +0200 Subject: ocamlPackages.{ocf,xtmpl}: fix for OCaml 4.04 --- pkgs/development/ocaml-modules/ocf/default.nix | 4 +++- pkgs/development/ocaml-modules/xtmpl/default.nix | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'pkgs/development/ocaml-modules') diff --git a/pkgs/development/ocaml-modules/ocf/default.nix b/pkgs/development/ocaml-modules/ocf/default.nix index 11be8a13a575..4da9fb45d332 100644 --- a/pkgs/development/ocaml-modules/ocf/default.nix +++ b/pkgs/development/ocaml-modules/ocf/default.nix @@ -18,11 +18,14 @@ stdenv.mkDerivation rec { createFindlibDestdir = true; + dontStrip = true; + patches = [(fetchpatch { url = "https://github.com/zoggy/ocf/commit/3a231c7a6c5e535a77c25e207af8952793436444.patch"; sha256 = "0nc8cggc5gxhch9amaz3s71lxs1xbgi7fs9p90cng04dsgr64xk5"; }) ]; + meta = with stdenv.lib; { description = "OCaml library to read and write configuration options in JSON syntax"; homepage = "https://zoggy.github.io/ocf/"; @@ -31,4 +34,3 @@ stdenv.mkDerivation rec { maintainers = with maintainers; [ regnat ]; }; } - diff --git a/pkgs/development/ocaml-modules/xtmpl/default.nix b/pkgs/development/ocaml-modules/xtmpl/default.nix index c3d7637e870d..86c9974c9316 100644 --- a/pkgs/development/ocaml-modules/xtmpl/default.nix +++ b/pkgs/development/ocaml-modules/xtmpl/default.nix @@ -19,6 +19,8 @@ stdenv.mkDerivation rec { createFindlibDestdir = true; + dontStrip = true; + meta = with stdenv.lib; { description = "Xml template library for OCaml"; homepage = "https://zoggy.github.io/xtmpl/"; @@ -27,5 +29,3 @@ stdenv.mkDerivation rec { maintainers = with maintainers; [ regnat ]; }; } - - -- cgit 1.4.1