avahi: remove config.avahi (#339339)

This commit is contained in:
Philip Taron 2024-09-03 15:02:08 -07:00 committed by GitHub
commit 0c6f662da5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,7 @@
{ fetchurl
, fetchpatch
, lib
, config
, stdenv
, pkg-config
, libdaemon
@ -21,6 +22,9 @@
, withPython ? false
}:
# Added 2024-09-03. Drop this assertion after 24.11 is released.
assert lib.assertMsg (config.avahi or {} == {}) "config.avahi has been removed; please use an overlay or services.avahi.package to configure the avahi package.";
stdenv.mkDerivation rec {
pname = "avahi${lib.optionalString withLibdnssdCompat "-compat"}";
version = "0.8";

View File

@ -4029,11 +4029,11 @@ with pkgs;
autorandr = callPackage ../tools/misc/autorandr { };
avahi = callPackage ../development/libraries/avahi (config.avahi or {});
avahi = callPackage ../development/libraries/avahi { };
avahi-compat = callPackage ../development/libraries/avahi ((config.avahi or {}) // {
avahi-compat = callPackage ../development/libraries/avahi {
withLibdnssdCompat = true;
});
};
avro-c = callPackage ../development/libraries/avro-c { };