about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/pcre/default.nix
diff options
context:
space:
mode:
authorFlorent Becker <florent.becker@ens-lyon.org>2016-01-06 10:38:57 +0100
committerFlorent Becker <florent.becker@ens-lyon.org>2016-01-06 20:00:20 +0100
commit93fc00b1578e459cd20d5ad3bd923364b26c9f08 (patch)
treea0155662399846ae9091f6efb6a6917bbdb4d48a /pkgs/development/ocaml-modules/pcre/default.nix
parenta413b8fde1f82474133491b84321897de1e44cae (diff)
downloadnixlib-93fc00b1578e459cd20d5ad3bd923364b26c9f08.tar
nixlib-93fc00b1578e459cd20d5ad3bd923364b26c9f08.tar.gz
nixlib-93fc00b1578e459cd20d5ad3bd923364b26c9f08.tar.bz2
nixlib-93fc00b1578e459cd20d5ad3bd923364b26c9f08.tar.lz
nixlib-93fc00b1578e459cd20d5ad3bd923364b26c9f08.tar.xz
nixlib-93fc00b1578e459cd20d5ad3bd923364b26c9f08.tar.zst
nixlib-93fc00b1578e459cd20d5ad3bd923364b26c9f08.zip
ocaml-pcre: use buildOcaml
Diffstat (limited to 'pkgs/development/ocaml-modules/pcre/default.nix')
-rw-r--r--pkgs/development/ocaml-modules/pcre/default.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/development/ocaml-modules/pcre/default.nix b/pkgs/development/ocaml-modules/pcre/default.nix
index b6c2488b2502..7f7caf8e5a87 100644
--- a/pkgs/development/ocaml-modules/pcre/default.nix
+++ b/pkgs/development/ocaml-modules/pcre/default.nix
@@ -1,7 +1,8 @@
-{stdenv, fetchurl, pcre, ocaml, findlib}:
+{stdenv, buildOcaml, fetchurl, pcre, ocaml, findlib}:
 
-stdenv.mkDerivation {
-  name = "ocaml-pcre-7.1.1";
+buildOcaml {
+  name = "ocaml-pcre";
+  version = "7.1.1";
 
   src = fetchurl {
     url = https://github.com/mmottl/pcre-ocaml/releases/download/v7.1.1/pcre-ocaml-7.1.1.tar.gz;
@@ -13,6 +14,8 @@ stdenv.mkDerivation {
 
   createFindlibDestdir = true;
 
+  hasSharedObjects = true;
+
   configurePhase = "true";	# Skip configure phase
 
   meta = with stdenv.lib; {