about summary refs log tree commit diff
path: root/packages/mpv-autosub.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2023-06-21 01:02:13 +0300
committerAzat Bahawi <azat@bahawi.net>2023-06-21 01:02:13 +0300
commit8e048c489aed8b8b27695694e8d020358a081bd7 (patch)
tree2e6d24dd3d8ce2e8d22116683f9e882f8a58e183 /packages/mpv-autosub.nix
parent2023-06-17 (diff)
2023-06-21
Diffstat (limited to '')
-rw-r--r--packages/mpv-autosub.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/mpv-autosub.nix b/packages/mpv-autosub.nix
index daee8cc..3d8171d 100644
--- a/packages/mpv-autosub.nix
+++ b/packages/mpv-autosub.nix
@@ -20,6 +20,8 @@ stdenvNoCC.mkDerivation rec {
       --replace "'Dutch', 'nl', 'dut'" "'Russian', 'ru', 'rus'" \
       --replace "'tta'" "'tta', 'webm'" \
       --replace "disabled for audio files" "disabled for this filetype"
+
+    sed -iE '/.*add_key_binding.*/d' autosub.lua
   '';
 
   installPhase = ''

Consider giving Nix/NixOS a try! <3