hw-probe: fix for aarch64
cpuid is only compatible with i686 and x86_64, so only add it as a dependency on those platforms.
This commit is contained in:
parent
c70f3686a0
commit
24d090ded4
1 changed files with 3 additions and 2 deletions
|
@ -100,7 +100,6 @@ stdenv.mkDerivation rec {
|
||||||
mesa-demos
|
mesa-demos
|
||||||
memtester
|
memtester
|
||||||
sysstat # (iostat)
|
sysstat # (iostat)
|
||||||
cpuid
|
|
||||||
util-linuxMinimal # (rfkill)
|
util-linuxMinimal # (rfkill)
|
||||||
xinput
|
xinput
|
||||||
libva-utils # (vainfo)
|
libva-utils # (vainfo)
|
||||||
|
@ -108,7 +107,9 @@ stdenv.mkDerivation rec {
|
||||||
vulkan-utils
|
vulkan-utils
|
||||||
i2c-tools
|
i2c-tools
|
||||||
opensc
|
opensc
|
||||||
];
|
]
|
||||||
|
# cpuid is only compatible with i686 and x86_64
|
||||||
|
++ lib.optional (lib.elem stdenv.hostPlatform.system cpuid.meta.platforms) cpuid;
|
||||||
conditionallyRecommendedPrograms = lib.optional systemdSupport systemd; # (systemd-analyze)
|
conditionallyRecommendedPrograms = lib.optional systemdSupport systemd; # (systemd-analyze)
|
||||||
suggestedPrograms = [
|
suggestedPrograms = [
|
||||||
hplip # (hp-probe)
|
hplip # (hp-probe)
|
||||||
|
|
Loading…
Reference in a new issue