about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2022-10-27 03:34:10 +0200
committeraszlig <aszlig@nix.build>2022-10-27 03:34:10 +0200
commitfc26d6ac90386bb8b5630fee569db17e7cffa882 (patch)
tree9dd215b6f03294b69553ed36c68277d154d4fa39 /pkgs
parent133af4ac95c3e061f819ce78c6154d2aad8b7154 (diff)
firefox: Fix path to Tridactyl native executable
The new Tridactyl native messenger is no longer written in Python, so
the path to the main executable is no longer valid.

I also trimmed down the allowed_extensions attribute to just include the
actual extension.

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/aszlig/firefox/default.nix7
1 files changed, 2 insertions, 5 deletions
diff --git a/pkgs/aszlig/firefox/default.nix b/pkgs/aszlig/firefox/default.nix
index 8595a3e2..1c49fc6a 100644
--- a/pkgs/aszlig/firefox/default.nix
+++ b/pkgs/aszlig/firefox/default.nix
@@ -46,12 +46,9 @@ in wrapFirefox firefoxNoSigning {
       text = builtins.toJSON {
         name = "tridactyl";
         description = "Tridactyl native command handler";
-        path = "${tridactyl-native}/share/tridactyl/native_main.py";
+        path = "${tridactyl-native}/bin/native_main";
         type = "stdio";
-        allowed_extensions = [
-          extensions.tridactyl-vim.extid
-          "tridactyl.vim@cmcaine.co.uk"
-        ];
+        allowed_extensions = [ extensions.tridactyl-vim.extid ];
       };
     })
   ];