fix(overlay): workaround for widevine-cdm nos available on google cdn
This commit is contained in:
parent
eeb7f1fe5a
commit
3ebb38d6d4
1 changed files with 15 additions and 4 deletions
|
@ -1,10 +1,21 @@
|
||||||
{ inputs, pkgs, ...}:
|
{ inputs, pkgs, ...}:
|
||||||
{
|
{
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
(final: prev: {
|
(final: prev: {
|
||||||
qutebrowser = prev.qutebrowser.override {
|
qutebrowser = prev.qutebrowser.override {
|
||||||
enableWideVine = if pkgs.system == "x86_64-linux" then true else false;
|
enableWideVine = if pkgs.system == "x86_64-linux" then true else false;
|
||||||
};
|
# Get Widevine friom slackware as google CDN seems to not working anymore
|
||||||
|
# TODO: Remove this when resolved upstream
|
||||||
|
# https://github.com/NixOS/nixpkgs/issues/435671
|
||||||
|
widevine-cdm = pkgs.widevine-cdm.overrideAttrs (oldAttrs: {
|
||||||
|
src = pkgs.fetchzip {
|
||||||
|
url = "https://alien.slackbook.org/slackbuilds/chromium-widevine-plugin/build/4.10.2891.0-linux-x64.zip" ;
|
||||||
|
hash = "sha256-ZO6FmqJUnB9VEJ7caJt58ym8eB3/fDATri3iOWCULRI";
|
||||||
|
|
||||||
|
stripRoot = false;
|
||||||
|
};
|
||||||
|
});
|
||||||
|
};
|
||||||
})
|
})
|
||||||
inputs.nur.overlays.default
|
inputs.nur.overlays.default
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue