summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/mysql
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2016-08-01 17:46:30 +0200
committerVladimír Čunát <vcunat@gmail.com>2016-08-07 20:46:37 +0200
commit950feb70b2e43e300bd0f285eb6e3ad446ca0722 (patch)
treef245993b24df468364c224dc9f3a3b29cb2539f4 /pkgs/development/ocaml-modules/mysql
parent9a072482e69ab90c09ce2ca464a4316fb07c4a45 (diff)
downloadnixlib-950feb70b2e43e300bd0f285eb6e3ad446ca0722.tar
nixlib-950feb70b2e43e300bd0f285eb6e3ad446ca0722.tar.gz
nixlib-950feb70b2e43e300bd0f285eb6e3ad446ca0722.tar.bz2
nixlib-950feb70b2e43e300bd0f285eb6e3ad446ca0722.tar.lz
nixlib-950feb70b2e43e300bd0f285eb6e3ad446ca0722.tar.xz
nixlib-950feb70b2e43e300bd0f285eb6e3ad446ca0722.tar.zst
nixlib-950feb70b2e43e300bd0f285eb6e3ad446ca0722.zip
treewide: fixup various mysql ocurrences after re-split
Diffstat (limited to 'pkgs/development/ocaml-modules/mysql')
-rw-r--r--pkgs/development/ocaml-modules/mysql/default.nix8
1 files changed, 2 insertions, 6 deletions
diff --git a/pkgs/development/ocaml-modules/mysql/default.nix b/pkgs/development/ocaml-modules/mysql/default.nix
index 3131d8212e42..ce3487a80a0e 100644
--- a/pkgs/development/ocaml-modules/mysql/default.nix
+++ b/pkgs/development/ocaml-modules/mysql/default.nix
@@ -23,15 +23,11 @@ stdenv.mkDerivation {
      "--libdir=$out/lib/ocaml/${ocaml_version}/site-lib/mysql"
   ];
 
-  buildInputs = [ocaml findlib mysql.lib camlp4 ];
+  buildInputs = [ocaml findlib camlp4 ];
 
   createFindlibDestdir = true;
 
-  propagatedBuildInputs = [ mysql.lib ];
-
-  preConfigure = ''
-    export LDFLAGS="-L${mysql.lib}/lib/mysql"
-  '';
+  propagatedBuildInputs = [ mysql.client ];
 
   buildPhase = ''
     make