diff --git a/pkgs/by-name/tm/tmux/package.nix b/pkgs/by-name/tm/tmux/package.nix index 385f1f74f736..093d10277bdf 100644 --- a/pkgs/by-name/tm/tmux/package.nix +++ b/pkgs/by-name/tm/tmux/package.nix @@ -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 '';