Commit 5715ae490c74

Vincent Demeester <vincent@sbr.pm>
2026-07-02 16:00:38
fix(emacs): vendor gotest-ts from chmouel's repo
Package removed from MELPA after upstream repo (music-and-code/gotest-ts.el) was deleted. Built as trivialBuild from chmouel/gotest-ts.el which still exists.
1 parent 7367576
Changed files (2)
dots
config
home
common
dots/config/claude/settings.json
@@ -69,7 +69,7 @@
         "hooks": [
           {
             "type": "command",
-            "command": "printf '\\a' > /dev/tty 2>/dev/null || true"
+            "command": "printf '\\a' > /dev/tty"
           }
         ]
       }
@@ -79,7 +79,7 @@
         "hooks": [
           {
             "type": "command",
-            "command": "printf '\\a' > /dev/tty 2>/dev/null || true"
+            "command": "printf '\\a' > /dev/tty"
           }
         ]
       }
@@ -106,7 +106,7 @@
     "typescript-lsp@claude-plugins-official": true
   },
   "alwaysThinkingEnabled": true,
-  "theme": "dark",
+  "theme": "auto",
   "mcpServers": {
     "github": {
       "command": "github-mcp-server",
@@ -133,5 +133,6 @@
     "/home/vincent/src/home",
     "/home/vincent/src/tekton-watcher",
     "/home/vincent/src/go-ci"
-  ]
+  ],
+  "skipWorkflowUsageWarning": true
 }
home/common/dev/emacs.nix
@@ -16,8 +16,21 @@ let
     #!${pkgs.stdenv.shell}
     emacsclient --create-frame $@
   '';
+  gotest-ts = pkgs.emacsPackages.trivialBuild {
+    pname = "gotest-ts";
+    version = "20260127.1547";
+    src = pkgs.fetchFromGitHub {
+      owner = "chmouel";
+      repo = "gotest-ts.el";
+      rev = "b12e08d925bab705792f14b29acdca9af550d9a8";
+      hash = "sha256-p921XuYnyls2uh5kyp8nfW0GRgm7IFsbyyujxgEkeBQ=";
+    };
+    packageRequires = with pkgs.emacsPackages; [ gotest ];
+  };
   myExtraPackages =
-    epkgs: with epkgs; [
+    epkgs:
+    with epkgs;
+    [
       acp
       age
       agent-shell
@@ -61,7 +74,6 @@ let
       # flimenu
       flymake-yamllint
       git-modes
-      gotest-ts
       gptel
       helpful
       htmlize
@@ -130,7 +142,8 @@ let
       with-editor
       # xeft
       xterm-color
-    ];
+    ]
+    ++ [ gotest-ts ];
 in
 {
   home.file.".local/share/applications/org-protocol.desktop".source = ./emacs/org-protocol.desktop;