20 lines
467 B
Nix
20 lines
467 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, alsa-ucm-conf }:
|
|
|
|
(alsa-ucm-conf.overrideAttrs (oldAttrs: rec {
|
|
version = "5";
|
|
|
|
src_asahi = fetchFromGitHub {
|
|
# tracking: https://src.fedoraproject.org/rpms/alsa-ucm-asahi
|
|
owner = "AsahiLinux";
|
|
repo = "alsa-ucm-conf-asahi";
|
|
rev = "v${version}";
|
|
hash = "sha256-daUNz5oUrPfSMO0Tqq/WbtiLHMOtPeQQlI+juGrhTxw=";
|
|
};
|
|
|
|
postInstall = oldAttrs.postInstall or "" + ''
|
|
cp -r ${src_asahi}/ucm2 $out/share/alsa
|
|
'';
|
|
}))
|