mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
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
1 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue