diff options
author | Johannes Schleifenbaum <johannes@js-webcoding.de> | 2021-03-10 12:41:09 +0100 |
---|---|---|
committer | Johannes Schleifenbaum <johannes@js-webcoding.de> | 2021-03-10 20:32:24 +0100 |
commit | 4392bac9971a2af238fb547e96a89161da21cdfc (patch) | |
tree | ac496d6fc3287a69a8f1b20600dd859b897278b2 /pkgs/applications/video/jellyfin-mpv-shim/default.nix | |
parent | 474043fc5b36b72613f9b8412e66069ee78b4308 (diff) |
jellyfin-mpv-shim: replace disable-update-check.patch with substituteInPlace
Diffstat (limited to 'pkgs/applications/video/jellyfin-mpv-shim/default.nix')
-rw-r--r-- | pkgs/applications/video/jellyfin-mpv-shim/default.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/applications/video/jellyfin-mpv-shim/default.nix b/pkgs/applications/video/jellyfin-mpv-shim/default.nix index 6b0001ad74a2f..e25f74c2dc97c 100644 --- a/pkgs/applications/video/jellyfin-mpv-shim/default.nix +++ b/pkgs/applications/video/jellyfin-mpv-shim/default.nix @@ -13,7 +13,6 @@ buildPythonApplication rec { patches = [ ./disable-desktop-client.patch - ./disable-update-check.patch ]; # override $HOME directory: @@ -27,6 +26,12 @@ buildPythonApplication rec { rm jellyfin_mpv_shim/win_utils.py ''; + postPatch = '' + substituteInPlace jellyfin_mpv_shim/conf.py \ + --replace "check_updates: bool = True" "check_updates: bool = False" \ + --replace "notify_updates: bool = True" "notify_updates: bool = False" + ''; + propagatedBuildInputs = [ jellyfin-apiclient-python mpv |