summary refs log tree commit diff
path: root/pkgs/development/libraries/opendbx
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2017-12-27 17:00:39 +0100
committerRobin Gloster <mail@glob.in>2017-12-29 02:18:35 +0100
commit572b2bda4e0a2245f465738cc919197ae0af06a4 (patch)
tree25e272248d6d0c114354a946430499b789b7be31 /pkgs/development/libraries/opendbx
parent6903ea60502865fe4397d8aaacc38ff674acaeb9 (diff)
downloadnixpkgs-572b2bda4e0a2245f465738cc919197ae0af06a4.tar
nixpkgs-572b2bda4e0a2245f465738cc919197ae0af06a4.tar.gz
nixpkgs-572b2bda4e0a2245f465738cc919197ae0af06a4.tar.bz2
nixpkgs-572b2bda4e0a2245f465738cc919197ae0af06a4.tar.lz
nixpkgs-572b2bda4e0a2245f465738cc919197ae0af06a4.tar.xz
nixpkgs-572b2bda4e0a2245f465738cc919197ae0af06a4.tar.zst
nixpkgs-572b2bda4e0a2245f465738cc919197ae0af06a4.zip
treewide: generalise for both mysql & mariadb
Diffstat (limited to 'pkgs/development/libraries/opendbx')
-rw-r--r--pkgs/development/libraries/opendbx/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/opendbx/default.nix b/pkgs/development/libraries/opendbx/default.nix
index 6a027dc9bd4..48ec5141e34 100644
--- a/pkgs/development/libraries/opendbx/default.nix
+++ b/pkgs/development/libraries/opendbx/default.nix
@@ -12,8 +12,8 @@ stdenv.mkDerivation rec {
   };
 
   preConfigure = ''
-    export CPPFLAGS="-I${mysql.connector-c}/include/mariadb"
-    export LDFLAGS="-L${mysql.connector-c}/lib/mariadb -L${postgresql}/lib"
+    export CPPFLAGS="-I${mysql.connector-c}/include/mysql"
+    export LDFLAGS="-L${mysql.connector-c}/lib/mysql -L${postgresql}/lib"
     configureFlagsArray=(--with-backends="mysql pgsql sqlite3")
   '';