lol

unbound: split into multiple outputs

+12 -4
+12 -4
pkgs/tools/networking/unbound/default.nix
··· 9 sha256 = "1jly2apag4yg649w3flaq73wdrcfyxnhx5py9j73y7adxmswigbn"; 10 }; 11 12 buildInputs = [ openssl expat libevent ]; 13 14 configureFlags = [ ··· 21 22 installFlags = [ "configfile=\${out}/etc/unbound/unbound.conf" ]; 23 24 - meta = { 25 description = "Validating, recursive, and caching DNS resolver"; 26 - license = stdenv.lib.licenses.bsd3; 27 homepage = http://www.unbound.net; 28 - maintainers = [ stdenv.lib.maintainers.emery ]; 29 - platforms = stdenv.lib.platforms.unix; 30 }; 31 }
··· 9 sha256 = "1jly2apag4yg649w3flaq73wdrcfyxnhx5py9j73y7adxmswigbn"; 10 }; 11 12 + outputs = [ "out" "lib" "man" ]; # "dev" would only split ~20 kB 13 + 14 buildInputs = [ openssl expat libevent ]; 15 16 configureFlags = [ ··· 23 24 installFlags = [ "configfile=\${out}/etc/unbound/unbound.conf" ]; 25 26 + # get rid of runtime dependency 27 + postInstall = '' 28 + substituteInPlace "$lib/lib/libunbound.la" \ 29 + --replace '-L${openssl.dev}/lib' "" 30 + ''; 31 + 32 + meta = with stdenv.lib; { 33 description = "Validating, recursive, and caching DNS resolver"; 34 + license = licenses.bsd3; 35 homepage = http://www.unbound.net; 36 + maintainers = [ maintainers.emery ]; 37 + platforms = platforms.unix; 38 }; 39 }