pciutils: build with dns query support
This enables `lspci -q` to look up unknown PCI IDs via DNS queries without needing the `update-pciids` script that the derivation doesn't include.
This commit is contained in:
parent
b998139b85
commit
e385ca7ede
|
@ -11,7 +11,14 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ zlib kmod which ];
|
buildInputs = [ zlib kmod which ];
|
||||||
|
|
||||||
makeFlags = [ "SHARED=yes" "PREFIX=\${out}" "STRIP=" "HOST=${stdenv.hostPlatform.system}" "CROSS_COMPILE=${stdenv.cc.targetPrefix}" ];
|
makeFlags = [
|
||||||
|
"SHARED=yes"
|
||||||
|
"PREFIX=\${out}"
|
||||||
|
"STRIP="
|
||||||
|
"HOST=${stdenv.hostPlatform.system}"
|
||||||
|
"CROSS_COMPILE=${stdenv.cc.targetPrefix}"
|
||||||
|
"DNS=yes"
|
||||||
|
];
|
||||||
|
|
||||||
installTargets = "install install-lib";
|
installTargets = "install install-lib";
|
||||||
|
|
||||||
|
@ -26,4 +33,3 @@ stdenv.mkDerivation rec {
|
||||||
maintainers = [ maintainers.vcunat ]; # not really, but someone should watch it
|
maintainers = [ maintainers.vcunat ]; # not really, but someone should watch it
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue