From c7d0b34a1230c17396ef5c29d8cb520801ea2204 Mon Sep 17 00:00:00 2001 From: Thomas Tuegel Date: Wed, 9 Sep 2020 14:06:31 -0500 Subject: [PATCH] kea: fix path to mysql_config --- pkgs/tools/networking/kea/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/networking/kea/default.nix b/pkgs/tools/networking/kea/default.nix index 386a3ae280aa..1637827f66ea 100644 --- a/pkgs/tools/networking/kea/default.nix +++ b/pkgs/tools/networking/kea/default.nix @@ -1,6 +1,8 @@ { stdenv, fetchurl, autoreconfHook, pkgconfig, openssl, botan2, log4cplus , boost, python3, postgresql, libmysqlclient, gmp, bzip2 }: +let inherit (stdenv) lib; in + stdenv.mkDerivation rec { pname = "kea"; version = "1.5.0-P1"; @@ -20,7 +22,7 @@ stdenv.mkDerivation rec { configureFlags = [ "--localstatedir=/var" "--with-pgsql=${postgresql}/bin/pg_config" - "--with-mysql=${libmysqlclient}/bin/mysql_config" + "--with-mysql=${lib.getDev libmysqlclient}/bin/mysql_config" ]; nativeBuildInputs = [ autoreconfHook pkgconfig ];