mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 20:14:37 +00:00
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
@ -100,7 +100,6 @@ stdenv.mkDerivation rec {
|
||||
mesa-demos
|
||||
memtester
|
||||
sysstat # (iostat)
|
||||
cpuid
|
||||
util-linuxMinimal # (rfkill)
|
||||
xinput
|
||||
libva-utils # (vainfo)
|
||||
@ -108,7 +107,9 @@ stdenv.mkDerivation rec {
|
||||
vulkan-utils
|
||||
i2c-tools
|
||||
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)
|
||||
suggestedPrograms = [
|
||||
hplip # (hp-probe)
|
||||
|
Loading…
Reference in New Issue
Block a user