mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 09:44:18 +00:00
alsa-firmware: fix building with llvm
This commit is contained in:
parent
e32d4c5654
commit
f22364d259
@ -1,6 +1,13 @@
|
||||
{ lib, buildPackages, stdenvNoCC, autoreconfHook, fetchurl, fetchpatch }:
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildPackages,
|
||||
autoreconfHook,
|
||||
fetchurl,
|
||||
fetchpatch,
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "alsa-firmware";
|
||||
version = "1.2.4";
|
||||
|
||||
@ -17,12 +24,13 @@ stdenvNoCC.mkDerivation rec {
|
||||
})
|
||||
];
|
||||
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
configureFlags = [
|
||||
"--with-hotplug-dir=$(out)/lib/firmware"
|
||||
];
|
||||
configureFlags = [ "--with-hotplug-dir=$(out)/lib/firmware" ];
|
||||
|
||||
depsBuildBuild = lib.optional (
|
||||
stdenv.buildPlatform != stdenv.hostPlatform || stdenv.hostPlatform.isAarch64
|
||||
) buildPackages.stdenv.cc;
|
||||
|
||||
dontStrip = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user