jackett: apply patches only to the package as used by the service -- not all of nixpkgs
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
./gitea.nix
|
./gitea.nix
|
||||||
./goaccess.nix
|
./goaccess.nix
|
||||||
./ipfs.nix
|
./ipfs.nix
|
||||||
./jackett.nix
|
./jackett
|
||||||
./jellyfin.nix
|
./jellyfin.nix
|
||||||
./kiwix-serve.nix
|
./kiwix-serve.nix
|
||||||
./komga.nix
|
./komga.nix
|
||||||
|
@@ -6,6 +6,15 @@
|
|||||||
{ user = "root"; group = "root"; path = "/var/lib/jackett"; method = "bind"; }
|
{ user = "root"; group = "root"; path = "/var/lib/jackett"; method = "bind"; }
|
||||||
];
|
];
|
||||||
services.jackett.enable = true;
|
services.jackett.enable = true;
|
||||||
|
services.jackett.package = pkgs.jackett.overrideAttrs (upstream: {
|
||||||
|
# 2022-07-29: check phase segfaults on arm (with or without my patches)
|
||||||
|
doCheck = false;
|
||||||
|
patches = (upstream.patches or []) ++ [
|
||||||
|
# bind to an IP address which is usable behind a netns.
|
||||||
|
# jackett doesn't allow customization of the bind address: this will probably always be here.
|
||||||
|
./01-fix-bind-host.patch
|
||||||
|
];
|
||||||
|
});
|
||||||
|
|
||||||
systemd.services.jackett.after = [ "wireguard-wg-ovpns.service" ];
|
systemd.services.jackett.after = [ "wireguard-wg-ovpns.service" ];
|
||||||
systemd.services.jackett.partOf = [ "wireguard-wg-ovpns.service" ];
|
systemd.services.jackett.partOf = [ "wireguard-wg-ovpns.service" ];
|
@@ -167,9 +167,6 @@ let
|
|||||||
|
|
||||||
# ibus = callPackage ./patched/ibus { inherit (unpatched) ibus; };
|
# ibus = callPackage ./patched/ibus { inherit (unpatched) ibus; };
|
||||||
|
|
||||||
# jackett doesn't allow customization of the bind address: this will probably always be here.
|
|
||||||
jackett = callPackage ./patched/jackett { inherit (unpatched) jackett; };
|
|
||||||
|
|
||||||
# modemmanager = callPackage ./patched/modemmanager { inherit (unpatched) modemmanager; };
|
# modemmanager = callPackage ./patched/modemmanager { inherit (unpatched) modemmanager; };
|
||||||
|
|
||||||
playerctl = unpatched.playerctl.overrideAttrs (upstream: {
|
playerctl = unpatched.playerctl.overrideAttrs (upstream: {
|
||||||
|
@@ -1,11 +0,0 @@
|
|||||||
{ jackett }:
|
|
||||||
|
|
||||||
(jackett.overrideAttrs (upstream: {
|
|
||||||
# 2022-07-29: check phase segfaults on arm (with or without my patches)
|
|
||||||
doCheck = false;
|
|
||||||
patches = (upstream.patches or []) ++ [
|
|
||||||
# bind to an IP address which is usable behind a netns
|
|
||||||
./01-fix-bind-host.patch
|
|
||||||
];
|
|
||||||
}))
|
|
||||||
|
|
Reference in New Issue
Block a user