diff --git a/pkgs/tools/networking/unbound/default.nix b/pkgs/tools/networking/unbound/default.nix index c8a502d8c77..1e1469d0010 100644 --- a/pkgs/tools/networking/unbound/default.nix +++ b/pkgs/tools/networking/unbound/default.nix @@ -23,10 +23,11 @@ stdenv.mkDerivation rec { installFlags = [ "configfile=\${out}/etc/unbound/unbound.conf" ]; - # get rid of runtime dependency + # get rid of runtime dependencies on $dev outputs postInstall = '' substituteInPlace "$lib/lib/libunbound.la" \ - --replace '-L${openssl.dev}/lib' "" + --replace '-L${openssl.dev}/lib' "" \ + --replace '-L${libevent.dev}/lib' "" ''; meta = with stdenv.lib; {