diff options
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 38 |
1 files changed, 12 insertions, 26 deletions
@@ -78,30 +78,14 @@ inherit buildInputs nativeBuildInputs; - packages = [ - # rust stuff - pkgs.cargo - pkgs.clippy - pkgs.rustc - pkgs.rustfmt - pkgs.mold - - pkgs.cargo-edit - pkgs.cargo-expand - pkgs.cargo-flamegraph - - # Releng - pkgs.git-bug - pkgs.reuse - pkgs.cocogitto - - # Perf - pkgs.hyperfine - - # Sqlite - pkgs.sqlx-cli - pkgs.sqlite-interactive + shellHook = '' + # Try to source the completions from the build yt binary + function source-yt-completions() { + source <(COMPLETE=$SHELL ./target/release/yt) + } + ''; + packages = [ # yt_dlp pkgs.python3Packages.yt-dlp pkgs.python3Packages.chardet @@ -109,9 +93,11 @@ pkgs.ffmpeg pkgs.deno - # Tree-sitter - pkgs.nodejs - pkgs.tree-sitter + pkgs.mold + + # # Tree-sitter + # pkgs.nodejs + # pkgs.tree-sitter ]; }; }; |
