alsa-ucm-conf: tweak package priority to ensure that other alsa files take precedence over the base configs
This commit is contained in:
@@ -4,7 +4,12 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
sane.programs.alsa-ucm-conf = {
|
sane.programs.alsa-ucm-conf = {
|
||||||
packageUnwrapped = pkgs.alsa-ucm-conf;
|
packageUnwrapped = pkgs.alsa-ucm-conf.overrideAttrs (base: {
|
||||||
|
meta = (base.meta or {}) // {
|
||||||
|
# let the other alsa ucm packages override configs from this one
|
||||||
|
priority = ((base.meta or {}).priority or 10) + 20;
|
||||||
|
};
|
||||||
|
});
|
||||||
sandbox.enable = false; #< only provides $out/share/alsa
|
sandbox.enable = false; #< only provides $out/share/alsa
|
||||||
|
|
||||||
# alsa-lib package only looks in its $out/share/alsa to find runtime config data, by default.
|
# alsa-lib package only looks in its $out/share/alsa to find runtime config data, by default.
|
||||||
|
Reference in New Issue
Block a user