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:
Benjamin Staffin 2018-05-19 17:44:17 -04:00
parent b998139b85
commit e385ca7ede
No known key found for this signature in database
GPG Key ID: A490C0134E09AF4A

View File

@ -11,7 +11,14 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
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";
@ -26,4 +33,3 @@ stdenv.mkDerivation rec {
maintainers = [ maintainers.vcunat ]; # not really, but someone should watch it
};
}