summary refs log tree commit diff
path: root/pkgs/tools/backup/bareos
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2017-12-27 16:15:33 +0100
committerRobin Gloster <mail@glob.in>2017-12-29 02:18:35 +0100
commit6903ea60502865fe4397d8aaacc38ff674acaeb9 (patch)
tree0d1700cd7e4aee9eb7ca9aeb79d4e9b15b9e50b8 /pkgs/tools/backup/bareos
parent445e3d739041474bc17757b5acc440d1fdcb13ea (diff)
downloadnixpkgs-6903ea60502865fe4397d8aaacc38ff674acaeb9.tar
nixpkgs-6903ea60502865fe4397d8aaacc38ff674acaeb9.tar.gz
nixpkgs-6903ea60502865fe4397d8aaacc38ff674acaeb9.tar.bz2
nixpkgs-6903ea60502865fe4397d8aaacc38ff674acaeb9.tar.lz
nixpkgs-6903ea60502865fe4397d8aaacc38ff674acaeb9.tar.xz
nixpkgs-6903ea60502865fe4397d8aaacc38ff674acaeb9.tar.zst
nixpkgs-6903ea60502865fe4397d8aaacc38ff674acaeb9.zip
treewide: libmysql -> mysql.connector-c
Diffstat (limited to 'pkgs/tools/backup/bareos')
-rw-r--r--pkgs/tools/backup/bareos/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/tools/backup/bareos/default.nix b/pkgs/tools/backup/bareos/default.nix
index 7fa28c5f79b..82d379c49d6 100644
--- a/pkgs/tools/backup/bareos/default.nix
+++ b/pkgs/tools/backup/bareos/default.nix
@@ -1,10 +1,10 @@
 { stdenv, fetchFromGitHub, pkgconfig, nettools, gettext, libtool, flex
 , readline ? null, openssl ? null, python2 ? null, ncurses ? null, rocksdb
-, sqlite ? null, postgresql ? null, libmysql ? null, zlib ? null, lzo ? null
+, sqlite ? null, postgresql ? null, mysql ? null, zlib ? null, lzo ? null
 , jansson ? null, acl ? null, glusterfs ? null, libceph ? null, libcap ? null
 }:
 
-assert sqlite != null || postgresql != null || libmysql != null;
+assert sqlite != null || postgresql != null || mysql != null;
 
 with stdenv.lib;
 let
@@ -55,7 +55,7 @@ stdenv.mkDerivation rec {
     ++ optional (openssl != null) "--with-openssl=${openssl.dev}"
     ++ optional (sqlite != null) "--with-sqlite3=${sqlite.dev}"
     ++ optional (postgresql != null) "--with-postgresql=${postgresql}"
-    ++ optional (libmysql != null) "--with-mysql=${libmysql}"
+    ++ optional (mysql != null) "--with-mysql=${mysql.connector-c}"
     ++ optional (zlib != null) "--with-zlib=${zlib.dev}"
     ++ optional (lzo != null) "--with-lzo=${lzo}"
     ++ optional (jansson != null) "--with-jansson=${jansson}"