30 lines
711 B
Nix
30 lines
711 B
Nix
|
final: prev:
|
||
|
|
||
|
let
|
||
|
overrideWithAACS = pkgName: prev."${pkgName}".overrideAttrs (old: {
|
||
|
buildInputs = with prev; old.buildInputs ++ [ libaacs ];
|
||
|
});
|
||
|
in {
|
||
|
libbluray = prev.libbluray.override {
|
||
|
withAACS = true;
|
||
|
withBDplus = true;
|
||
|
};
|
||
|
|
||
|
mpvUnwrapped = prev.mpvUnwrapped.overrideAttrs (old: {
|
||
|
buildInputs = with prev; old.buildInputs ++ [ libaacs ];
|
||
|
});
|
||
|
|
||
|
vlc = prev.vlc.overrideAttrs (old: {
|
||
|
buildInputs = with prev; old.buildInputs ++ [ libaacs ];
|
||
|
});
|
||
|
|
||
|
handbrake = prev.handbrake.overrideAttrs (old: {
|
||
|
buildInputs = with prev; old.buildInputs ++ [ libaacs ];
|
||
|
});
|
||
|
|
||
|
/*
|
||
|
mpvUnwrapped = overrideWithAACS "mpvUnwrapped";
|
||
|
handbrake = overrideWithAACS "handbrake";
|
||
|
*/
|
||
|
}
|