avahi: add -compat option

This commit is contained in:
Peter Hoeg 2019-02-25 15:42:04 +08:00
parent 19eedaf867
commit 6e802e3347
2 changed files with 5 additions and 1 deletions

View File

@ -8,7 +8,7 @@
assert qt4Support -> qt4 != null; assert qt4Support -> qt4 != null;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "avahi-${version}"; name = "avahi${stdenv.lib.optionalString withLibdnssdCompat "-compat"}-${version}";
version = "0.7"; version = "0.7";
src = fetchurl { src = fetchurl {

View File

@ -847,6 +847,10 @@ in
avahi = callPackage ../development/libraries/avahi (config.avahi or {}); avahi = callPackage ../development/libraries/avahi (config.avahi or {});
avahi-compat = callPackage ../development/libraries/avahi ((config.avahi or {}) // {
withLibdnssdCompat = true;
});
avro-c = callPackage ../development/libraries/avro-c { }; avro-c = callPackage ../development/libraries/avro-c { };
avro-cpp = callPackage ../development/libraries/avro-c++ { boost = boost160; }; avro-cpp = callPackage ../development/libraries/avro-c++ { boost = boost160; };