tmux: Don't install bash completions
This commit is contained in:
@@ -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
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user