New comment by b1scu1t on void-packages repository https://github.com/void-linux/void-packages/issues/18976#issuecomment-586807635 Comment: @q66 Your suggestion worked flawlessly with packages explicitly depending on `linux` and `linux-headers`. E.g. `cdemu-client` and of course `dkms`. Its a nice and simple workaround/feature of `xbps`, so I think I'll close the issue. Still hoping for _optional dependencies someday_, but that's an `xbps` thing...;)