diff --git a/189574.patch b/189574.patch new file mode 100644 index 0000000..71d21c5 --- /dev/null +++ b/189574.patch @@ -0,0 +1,24 @@ +From 91e18cd7cd37d868425bf481ca453edfa81c9cc6 Mon Sep 17 00:00:00 2001 +From: Gabriel Ebner +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" \ diff --git a/flake.nix b/flake.nix index 47a420b..bef6297 100644 --- a/flake.nix +++ b/flake.nix @@ -15,7 +15,7 @@ channels.nixpkgs.input = nixpkgs; - channels.nixpkgs.patches = [ ]; + channels.nixpkgs.patches = [ ./189574.patch ]; nix.generateRegistryFromInputs = true;