summaryrefslogtreecommitdiffstats
path: root/nixos/modules/programs
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2020-02-20 07:43:25 +0100
committerGitHub <noreply@github.com>2020-02-20 07:43:25 +0100
commitc1b45ef40168ea8d7933d1fc674d6087c483930a (patch)
treee17d0b31b3f17c3c6681f16bec6a7f95645e6d8f /nixos/modules/programs
parent14d6777962337b609c6eb4337e6baa9b31ee9fe3 (diff)
parentf518e280b168088392193ca339adabd8e8fbae36 (diff)
Merge pull request #80456 from cole-h/fish
nixos/fish: fix completions patch
Diffstat (limited to 'nixos/modules/programs')
-rw-r--r--nixos/modules/programs/fish_completion-generator.patch12
1 files changed, 7 insertions, 5 deletions
diff --git a/nixos/modules/programs/fish_completion-generator.patch b/nixos/modules/programs/fish_completion-generator.patch
index a8c797d185a6..997f38c5066d 100644
--- a/nixos/modules/programs/fish_completion-generator.patch
+++ b/nixos/modules/programs/fish_completion-generator.patch
@@ -1,11 +1,13 @@
--- a/create_manpage_completions.py
+++ b/create_manpage_completions.py
-@@ -776,8 +776,6 @@ def parse_manpage_at_path(manpage_path, output_directory):
-
+@@ -844,10 +844,6 @@ def parse_manpage_at_path(manpage_path, output_directory):
+
built_command_output.insert(0, "# " + CMDNAME)
-
+
- # Output the magic word Autogenerated so we can tell if we can overwrite this
-- built_command_output.insert(1, "# Autogenerated from man page " + manpage_path)
+- built_command_output.insert(
+- 1, "# Autogenerated from man page " + manpage_path
+- )
# built_command_output.insert(2, "# using " + parser.__class__.__name__) # XXX MISATTRIBUTES THE CULPABILE PARSER! Was really using Type2 but reporting TypeDeroffManParser
-
+
for line in built_command_output: