about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/camomile
diff options
context:
space:
mode:
authorMarco Maggesi <maggesi@math.unifi.it>2010-12-21 09:37:35 +0000
committerMarco Maggesi <maggesi@math.unifi.it>2010-12-21 09:37:35 +0000
commiteb33e01ac77c711b3efc92a8c4345b37a662f7ea (patch)
tree500c9bc6394124cbd24b51b63c36b29a57385319 /pkgs/development/ocaml-modules/camomile
parent2c85e4b96f4a9c7f0bbb93794fd96437e86304da (diff)
* Add variable createFindlibDestdir to the setupHook of findlib
* Set createFindlibDestdir to various ocaml packages.

svn path=/nixpkgs/trunk/; revision=25220
Diffstat (limited to 'pkgs/development/ocaml-modules/camomile')
-rw-r--r--pkgs/development/ocaml-modules/camomile/0.7.3.nix2
-rw-r--r--pkgs/development/ocaml-modules/camomile/0.8.1.nix6
2 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/development/ocaml-modules/camomile/0.7.3.nix b/pkgs/development/ocaml-modules/camomile/0.7.3.nix
index b770b36abf66e..12b816dec36a7 100644
--- a/pkgs/development/ocaml-modules/camomile/0.7.3.nix
+++ b/pkgs/development/ocaml-modules/camomile/0.7.3.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
 
   buildInputs = [ocaml findlib];
 
-  #dontAddPrefix = true;
+  createFindlibDestdir = true;
 
   meta = {
     homepage = http://camomile.sourceforge.net/;
diff --git a/pkgs/development/ocaml-modules/camomile/0.8.1.nix b/pkgs/development/ocaml-modules/camomile/0.8.1.nix
index 8d9ab69dfc65d..29ce5c59b443b 100644
--- a/pkgs/development/ocaml-modules/camomile/0.8.1.nix
+++ b/pkgs/development/ocaml-modules/camomile/0.8.1.nix
@@ -15,7 +15,11 @@ stdenv.mkDerivation {
 
   buildInputs = [ocaml findlib];
 
-  #dontAddPrefix = true;
+  preInstall = ''
+    ensureDir $OCAMLFIND_DESTDIR
+  '';
+
+  createFindlibDestdir = true;
 
   meta = {
     homepage = http://camomile.sourceforge.net/;