summary refs log tree commit diff
path: root/pkgs/tools/system/pciutils/builder.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/system/pciutils/builder.sh')
-rw-r--r--pkgs/tools/system/pciutils/builder.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/tools/system/pciutils/builder.sh b/pkgs/tools/system/pciutils/builder.sh
index d61eaf5dec3..1e3954740a5 100644
--- a/pkgs/tools/system/pciutils/builder.sh
+++ b/pkgs/tools/system/pciutils/builder.sh
@@ -1,5 +1,10 @@
 source $stdenv/setup
 
+preBuild=preBuild
+preBuild() {
+  bunzip2 < $pciids > pci.ids
+}
+
 postInstall=postInstall
 postInstall() {
   ensureDir $out/lib