Skip to content

Commit

Permalink
fix(hosts/server-main-elis): Temporary fix for buffer overflows
Browse files Browse the repository at this point in the history
  • Loading branch information
etu committed Apr 3, 2024
1 parent 4d27758 commit ffb33ad
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions hosts/server-main-elis/services/usenet.nix
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,20 @@
# nzbget needs unrar
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) ["unrar"];

# Temporary apply the patch for buffer overflows: https://github.com/NixOS/nixpkgs/pull/298476
nixpkgs.overlays = [
(_: super: {
nzbget = super.nzbget.overrideAttrs (_: {
patches = [
(pkgs.fetchpatch {
url = "https://github.com/nzbget-ng/nzbget/commit/8fbbbfb40003c6f32379a562ce1d12515e61e93e.patch";
hash = "sha256-mgI/twEoMTFMFGfH1/Jm6mE9u9/CE6RwELCSGx5erUo=";
})
];
});
})
];

services.bazarr = {
enable = true;
user = "downloads";
Expand Down

0 comments on commit ffb33ad

Please sign in to comment.