mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 18:47:55 +00:00
pkgsMusl.alsa-firmware: fix build (#203251)
This commit is contained in:
parent
3c813c4919
commit
3d96fdeca4
@ -1,4 +1,4 @@
|
||||
{ lib, buildPackages, stdenvNoCC, autoreconfHook, fetchurl }:
|
||||
{ lib, buildPackages, stdenvNoCC, autoreconfHook, fetchurl, fetchpatch }:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "alsa-firmware";
|
||||
@ -9,6 +9,14 @@ stdenvNoCC.mkDerivation rec {
|
||||
sha256 = "sha256-tnttfQi8/CR+9v8KuIqZwYgwWjz1euLf0LzZpbNs1bs=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# fixes some includes / missing types on musl libc; should not make a difference for other platforms
|
||||
(fetchpatch {
|
||||
url = "https://raw.githubusercontent.com/void-linux/void-packages/ae690000017d5fd355ab397c49202426e3a01c11/srcpkgs/alsa-firmware/patches/musl.patch";
|
||||
sha256 = "sha256-4A+TBBvpz14NwMNewLc2LQL51hnz4EZlZ44rhnx5dnc=";
|
||||
})
|
||||
];
|
||||
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user