avahi: move package to by-name and add avahi-compat override

- Move avahi package from pkgs/development/libraries to pkgs/by-name/av/avahi
  (rename path for consistency with by-name layout).
- Add avahi-compat overlay at pkgs/by-name/av/avahi-compat that enables
  withLibdnssdCompat via avahi.override.
- Remove the old avahi and avahi-compat entries from top-level all-packages.nix.

This keeps the package index organized under by-name and provides a
convenient avahi-compat alias for consumers that need libdnssd compatibility.
This commit is contained in:
Guy Chronister
2026-05-12 12:08:27 -05:00
parent 44cf52f75d
commit 2a850511d7
2 changed files with 11 additions and 4 deletions
+11
View File
@@ -0,0 +1,11 @@
{
avahi,
...
}@args:
avahi.override (
{
withLibdnssdCompat = true;
}
// removeAttrs args [ "avahi" ]
)
-4
View File
@@ -1565,10 +1565,6 @@ with pkgs;
apprise = with python3Packages; toPythonApplication apprise;
avahi-compat = callPackage ../by-name/av/avahi/package.nix {
withLibdnssdCompat = true;
};
babelfish = callPackage ../shells/fish/babelfish.nix { };
bat-extras = recurseIntoAttrs (lib.makeScope newScope (import ../tools/misc/bat-extras));