alsa-firmware: fix riscv64-linux build

This commit is contained in:
Steven Keuchel 2024-10-15 23:20:59 +02:00
parent e544a67eba
commit 9d12f6d989
No known key found for this signature in database
GPG Key ID: 5877DEE97428557F

View File

@ -29,7 +29,9 @@ stdenv.mkDerivation rec {
configureFlags = [ "--with-hotplug-dir=$(out)/lib/firmware" ];
depsBuildBuild = lib.optional (
stdenv.buildPlatform != stdenv.hostPlatform || stdenv.hostPlatform.isAarch64
stdenv.buildPlatform != stdenv.hostPlatform
|| stdenv.hostPlatform.isAarch64
|| stdenv.hostPlatform.isRiscV64
) buildPackages.stdenv.cc;
dontStrip = true;