tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
unbound: split into multiple outputs
Vladimír Čunát
10 years ago
252b3dcc
68530a4f
+12
-4
1 changed file
expand all
collapse all
unified
split
pkgs
tools
networking
unbound
default.nix
+12
-4
pkgs/tools/networking/unbound/default.nix
···
9
sha256 = "1jly2apag4yg649w3flaq73wdrcfyxnhx5py9j73y7adxmswigbn";
10
};
11
0
0
12
buildInputs = [ openssl expat libevent ];
13
14
configureFlags = [
···
21
22
installFlags = [ "configfile=\${out}/etc/unbound/unbound.conf" ];
23
24
-
meta = {
0
0
0
0
0
0
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
}