1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 05:00:16 +00:00

avahi: don't install broken symlinks

/cc maintainer @lovek323 and @wkennington who added these links 4118e632e8.
This commit is contained in:
Vladimír Čunát 2016-01-01 10:01:36 +01:00
parent 8c90a4421a
commit 7d8ee80dab

View file

@ -36,12 +36,15 @@ stdenv.mkDerivation rec {
avahi-core/socket.c
'';
postInstall = ''
postInstall =
# Maintain compat for mdnsresponder and howl
${if withLibdnssdCompat then "ln -s avahi-compat-libdns_sd/dns_sd.h $out/include/dns_sd.h" else ""}
stdenv.lib.optionalString withLibdnssdCompat ''
ln -s avahi-compat-libdns_sd/dns_sd.h "$out/include/dns_sd.h"
'';
/* # these don't exist (anymore?)
ln -s avahi-compat-howl $out/include/howl
ln -s avahi-compat-howl.pc $out/lib/pkgconfig/howl.pc
'';
*/
meta = with stdenv.lib; {
description = "mDNS/DNS-SD implementation";