watson: patch fixing shell completion
This commit is contained in:
parent
6edccf1278
commit
7850afe2b4
@ -1,4 +1,4 @@
|
|||||||
{ lib, fetchFromGitHub, python3, installShellFiles }:
|
{ lib, fetchFromGitHub, python3, installShellFiles, fetchpatch }:
|
||||||
|
|
||||||
with python3.pkgs;
|
with python3.pkgs;
|
||||||
|
|
||||||
@ -13,6 +13,15 @@ buildPythonApplication rec {
|
|||||||
sha256 = "sha256-/AASYeMkt18KPJljAjNPRYOpg/T5xuM10LJq4LrFD0g=";
|
sha256 = "sha256-/AASYeMkt18KPJljAjNPRYOpg/T5xuM10LJq4LrFD0g=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# https://github.com/TailorDev/Watson/pull/473
|
||||||
|
(fetchpatch {
|
||||||
|
name = "fix-completion.patch";
|
||||||
|
url = "https://github.com/TailorDev/Watson/commit/43ad061a981eb401c161266f497e34df891a5038.patch";
|
||||||
|
sha256 = "sha256-v8/asP1wooHKjyy9XXB4Rtf6x+qmGDHpRoHEne/ZCxc=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
installShellCompletion --bash --name watson watson.completion
|
installShellCompletion --bash --name watson watson.completion
|
||||||
installShellCompletion --zsh --name _watson watson.zsh-completion
|
installShellCompletion --zsh --name _watson watson.zsh-completion
|
||||||
|
Loading…
Reference in New Issue
Block a user