From 02458a939ac5cdf362a964656d2e5896f4693469 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Sun, 18 Jan 2015 14:13:53 +0100 Subject: [PATCH] taskwarrior: enable bash completion By adding the missing link between the (already installed) completion script and $out/etc/bash_completion.d/. --- pkgs/applications/misc/taskwarrior/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/applications/misc/taskwarrior/default.nix b/pkgs/applications/misc/taskwarrior/default.nix index 51bb13eb55e1..35bba7ee28cc 100644 --- a/pkgs/applications/misc/taskwarrior/default.nix +++ b/pkgs/applications/misc/taskwarrior/default.nix @@ -13,6 +13,11 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake libuuid gnutls ]; + postInstall = '' + mkdir -p "$out/etc/bash_completion.d" + ln -s "../../share/doc/task/scripts/bash/task.sh" "$out/etc/bash_completion.d/" + ''; + meta = { description = "GTD (getting things done) implementation"; homepage = http://taskwarrior.org;