diff --git a/pkgs/development/python-modules/clustershell/default.nix b/pkgs/development/python-modules/clustershell/default.nix index fdc555498aab..3c72369dcd44 100644 --- a/pkgs/development/python-modules/clustershell/default.nix +++ b/pkgs/development/python-modules/clustershell/default.nix @@ -8,6 +8,7 @@ pyyaml, openssh, unittestCheckHook, + installShellFiles, bc, hostname, bash, @@ -51,6 +52,8 @@ buildPythonPackage rec { propagatedBuildInputs = [ pyyaml ]; + nativeBuildInputs = [ installShellFiles ]; + nativeCheckInputs = [ bc hostname @@ -80,6 +83,10 @@ buildPythonPackage rec { rm tests/TreeGatewayTest.py ''; + postInstall = '' + installShellCompletion --bash bash_completion.d/* + ''; + meta = with lib; { broken = stdenv.hostPlatform.isDarwin; description = "Scalable Python framework for cluster administration";