diff --git a/pkgs/by-name/al/alsa-firmware/package.nix b/pkgs/by-name/al/alsa-firmware/package.nix index 8f6316667928..2bf35a11a63c 100644 --- a/pkgs/by-name/al/alsa-firmware/package.nix +++ b/pkgs/by-name/al/alsa-firmware/package.nix @@ -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;