Unverified Commit 20f91b6b authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

tmux: Don't install bash completions (#461750)

parents e16fdc64 c7e6d5fe
Loading
Loading
Loading
Loading
+1 −16
Original line number Diff line number Diff line
@@ -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
  '';