fix khal completion;

This commit is contained in:
Gabriel Ebner 2022-09-03 12:00:08 +02:00
parent 1c25e80ce5
commit a1d4c16326
2 changed files with 25 additions and 1 deletions

24
189574.patch Normal file

@ -0,0 +1,24 @@
From 91e18cd7cd37d868425bf481ca453edfa81c9cc6 Mon Sep 17 00:00:00 2001
From: Gabriel Ebner <gebner@gebner.org>
Date: Sat, 3 Sep 2022 11:56:49 +0200
Subject: [PATCH] khal: fix fish/zsh completion
---
pkgs/applications/misc/khal/default.nix | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pkgs/applications/misc/khal/default.nix b/pkgs/applications/misc/khal/default.nix
index b6bb65a0bfffb..f822ed8f0c2b9 100644
--- a/pkgs/applications/misc/khal/default.nix
+++ b/pkgs/applications/misc/khal/default.nix
@@ -32,8 +32,8 @@ with python3.pkgs; buildPythonApplication rec {
# shell completions
installShellCompletion --cmd khal \
--bash <(_KHAL_COMPLETE=bash_source $out/bin/khal) \
- --fish <(_KHAL_COMPLETE=zsh_source $out/bin/khal) \
- --zsh <(_KHAL_COMPLETE=fish_source $out/bin/khal)
+ --zsh <(_KHAL_COMPLETE=zsh_source $out/bin/khal) \
+ --fish <(_KHAL_COMPLETE=fish_source $out/bin/khal)
# man page
PATH="${python3.withPackages (ps: with ps; [ sphinx sphinxcontrib_newsfeed ])}/bin:$PATH" \

@ -15,7 +15,7 @@
channels.nixpkgs.input = nixpkgs; channels.nixpkgs.input = nixpkgs;
channels.nixpkgs.patches = [ ]; channels.nixpkgs.patches = [ ./189574.patch ];
nix.generateRegistryFromInputs = true; nix.generateRegistryFromInputs = true;