redo-apenwarr: install bash completion

This commit is contained in:
Mario Rodas 2020-07-07 04:20:00 -05:00
parent a12ccb7f3e
commit 005b5770f4
No known key found for this signature in database
GPG Key ID: 325649BCA6D53027

View File

@ -1,5 +1,5 @@
{ stdenv, lib, python3, fetchFromGitHub, mkdocs, which, findutils, coreutils { stdenv, lib, python3, fetchFromGitHub, which, findutils, coreutils
, perl , perl, installShellFiles
, doCheck ? true , doCheck ? true
}: stdenv.mkDerivation rec { }: stdenv.mkDerivation rec {
@ -53,8 +53,13 @@
(with python3.pkgs; [ beautifulsoup4 markdown ]) (with python3.pkgs; [ beautifulsoup4 markdown ])
which which
findutils findutils
installShellFiles
]; ];
postInstall = ''
installShellCompletion --bash contrib/bash_completion.d/redo
'';
meta = with lib; { meta = with lib; {
description = "Smaller, easier, more powerful, and more reliable than make. An implementation of djb's redo"; description = "Smaller, easier, more powerful, and more reliable than make. An implementation of djb's redo";
homepage = "https://github.com/apenwarr/redo"; homepage = "https://github.com/apenwarr/redo";