alsa-firmware: fix riscv64-linux build

This commit is contained in:
Steven Keuchel
2024-10-15 23:33:29 +02:00
parent e544a67eba
commit 9d12f6d989
+3 -1
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;