tmux: Don't install bash completions

This commit is contained in:
Galen Huntington
2025-11-14 15:01:15 -08:00
committed by GitHub
parent d1266ab359
commit c7e6d5fe27

View File

@@ -18,17 +18,6 @@
withSixel ? true,
}:
let
bashCompletion = fetchFromGitHub {
owner = "imomaliev";
repo = "tmux-bash-completion";
rev = "f5d53239f7658f8e8fbaf02535cc369009c436d6";
sha256 = "0sq2g3w0h3mkfa6qwqdw93chb5f1hgkz5vdl8yw8mxwdqwhsdprr";
};
in
stdenv.mkDerivation (finalAttrs: {
pname = "tmux";
version = "3.5a";
@@ -70,11 +59,7 @@ stdenv.mkDerivation (finalAttrs: {
enableParallelBuilding = true;
postInstall = ''
mkdir -p $out/share/bash-completion/completions
cp -v ${bashCompletion}/completions/tmux $out/share/bash-completion/completions/tmux
''
+ lib.optionalString stdenv.hostPlatform.isDarwin ''
postInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''
mkdir $out/nix-support
echo "${finalAttrs.passthru.terminfo}" >> $out/nix-support/propagated-user-env-packages
'';