From 224128787080555f546dfa8c07120828e4247539 Mon Sep 17 00:00:00 2001 From: Stefan Imhoff Date: Fri, 5 Jul 2024 14:17:07 +0200 Subject: [PATCH] feat(nix): migrate universal ctags --- .dotbot.conf.yaml | 1 - Brewfile | 4 ---- {search => nix/home/ctags}/ctags | 0 nix/home/ctags/default.nix | 11 +++++++++++ nix/home/default.nix | 1 + 5 files changed, 12 insertions(+), 5 deletions(-) rename {search => nix/home/ctags}/ctags (100%) create mode 100644 nix/home/ctags/default.nix diff --git a/.dotbot.conf.yaml b/.dotbot.conf.yaml index 2e90ab9..c4ef358 100644 --- a/.dotbot.conf.yaml +++ b/.dotbot.conf.yaml @@ -34,7 +34,6 @@ ~/.config/tmux/tmux-nerd-font-window-name.yml: tmux/tmux-nerd-font-window-name.yml ~/.config/tmuxinator: tmuxinator ~/.config/zed/settings.json: zed/settings.json - ~/.ctags: search/ctags ~/.curlrc: url/curlrc ~/.default-gems: asdf/default-gems ~/.default-npm-packages: asdf/default-npm-packages diff --git a/Brewfile b/Brewfile index abf773a..635163d 100644 --- a/Brewfile +++ b/Brewfile @@ -107,8 +107,6 @@ brew "cmake" brew "commitizen" # Header-only library for parsing TOML brew "cpptoml" -# Reimplementation of ctags(1) -brew "ctags" # Get a file from an HTTP, HTTPS or FTP server brew "curl" # Good-lookin' diffs with diff-highlight and more @@ -407,8 +405,6 @@ brew "tmux" brew "ttyd", args: ["HEAD"] # Command-line unarchiving tools supporting multiple formats brew "unar" -# Maintained ctags implementation -brew "universal-ctags", args: ["HEAD"] # URL extractor/launcher brew "urlview" # Syntax-aware linter for prose diff --git a/search/ctags b/nix/home/ctags/ctags similarity index 100% rename from search/ctags rename to nix/home/ctags/ctags diff --git a/nix/home/ctags/default.nix b/nix/home/ctags/default.nix new file mode 100644 index 0000000..fd69e7f --- /dev/null +++ b/nix/home/ctags/default.nix @@ -0,0 +1,11 @@ +{ pkgs, ... }: + +{ + home.file.".ctags" = { + source = ./ctags; + }; + + home.packages = [ + pkgs.universal-ctags + ]; +} diff --git a/nix/home/default.nix b/nix/home/default.nix index f038a24..a74ae2c 100644 --- a/nix/home/default.nix +++ b/nix/home/default.nix @@ -8,6 +8,7 @@ in imports = [ ./ack ./ag + ./ctags ./ripgrep ./skhd ./yabai