firefox: Add ALSA dependency for Web MIDI support
This commit is contained in:
parent
1489479580
commit
d165d58553
1 changed files with 7 additions and 1 deletions
|
@ -4,7 +4,6 @@ let
|
|||
inherit (nixpkgs.lib.attrsets) genAttrs;
|
||||
in genAttrs [
|
||||
"SDL2"
|
||||
"firefox-unwrapped"
|
||||
"mpv-unwrapped"
|
||||
] (pkg: prev.${pkg}.override { alsaSupport = false; })
|
||||
// genAttrs [
|
||||
|
@ -12,6 +11,13 @@ in genAttrs [
|
|||
"libcanberra"
|
||||
] (pkg: prev.${pkg}.override { withAlsa = false; })
|
||||
// {
|
||||
firefox-unwrapped = (prev.firefox-unwrapped.overrideAttrs (prevAttrs: {
|
||||
buildInputs = prevAttrs.buildInputs or [ ]
|
||||
++ [ final.alsa-lib ];
|
||||
})).override {
|
||||
alsaSupport = false;
|
||||
};
|
||||
|
||||
firefox = final.wrapFirefox final.firefox-unwrapped { };
|
||||
|
||||
mpv = final.mpv-unwrapped.wrapper {
|
||||
|
|
Loading…
Reference in a new issue