pythonPackages.docker-compose: add bash completions

This commit is contained in:
Jaka Hudoklin 2016-12-11 15:00:16 +01:00
parent a979297a96
commit f70e385fb6

View File

@ -10948,6 +10948,11 @@ in {
sed -i "s/'requests >= 2.6.1, < 2.8'/'requests'/" setup.py sed -i "s/'requests >= 2.6.1, < 2.8'/'requests'/" setup.py
''; '';
postInstall = ''
mkdir -p $out/share/bash-completion/completions/
cp contrib/completion/bash/docker-compose $out/share/bash-completion/completions/docker-compose
'';
meta = { meta = {
homepage = "https://docs.docker.com/compose/"; homepage = "https://docs.docker.com/compose/";
description = "Multi-container orchestration for Docker"; description = "Multi-container orchestration for Docker";