summary refs log tree commit diff
path: root/pkgs/development/compilers/urweb
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/compilers/urweb
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/compilers/urweb')
-rw-r--r--pkgs/development/compilers/urweb/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/compilers/urweb/default.nix b/pkgs/development/compilers/urweb/default.nix
index d9c448970c97..638b10f76d5d 100644
--- a/pkgs/development/compilers/urweb/default.nix
+++ b/pkgs/development/compilers/urweb/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, file, openssl, mlton
+{ stdenv, lib, fetchurl, file, openssl, mlton
 , mysql, postgresql, sqlite
 }:
 
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
     sha256 = "08km96hli5yp754nsxxjzih2la0m89j5wc2cq12rkas43nqqgr65";
   };
 
-  buildInputs = [ openssl mlton mysql postgresql sqlite ];
+  buildInputs = [ openssl mlton mysql.client postgresql sqlite ];
 
   prePatch = ''
     sed -e 's@/usr/bin/file@${file}/bin/file@g' -i configure
@@ -21,11 +21,11 @@ stdenv.mkDerivation rec {
 
   preConfigure = ''
     export PGHEADER="${postgresql}/include/libpq-fe.h";
-    export MSHEADER="${mysql.lib}/include/mysql/mysql.h";
+    export MSHEADER="${lib.getDev mysql.client}/include/mysql/mysql.h";
     export SQHEADER="${sqlite.dev}/include/sqlite3.h";
 
     export CCARGS="-I$out/include \
-                   -L${mysql.lib}/lib/mysql \
+                   -L${lib.getLib mysql.client}/lib/mysql \
                    -L${postgresql.lib}/lib \
                    -L${sqlite.out}/lib";
   '';