From 97816bed335aaa55e8a897835d96602db9f080d2 Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Tue, 4 Sep 2018 02:21:45 +0900 Subject: [PATCH] pythonPackages.alot: install zsh completion --- pkgs/development/python-modules/alot/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/alot/default.nix b/pkgs/development/python-modules/alot/default.nix index dd06d4dde7a6..7c4e15f85683 100644 --- a/pkgs/development/python-modules/alot/default.nix +++ b/pkgs/development/python-modules/alot/default.nix @@ -47,6 +47,8 @@ buildPythonPackage rec { mkdir -p $out/share/{applications,alot} cp -r extra/themes $out/share/alot + install -D extra/completion/alot-completion.zsh $out/share/zsh/site-functions/_alot + sed "s,/usr/bin,$out/bin,g" extra/alot.desktop > $out/share/applications/alot.desktop '';