diff options
author | Cole Helbling <cole.e.helbling@outlook.com> | 2020-02-18 08:48:34 -0800 |
---|---|---|
committer | Cole Helbling <cole.e.helbling@outlook.com> | 2020-02-18 08:58:11 -0800 |
commit | f518e280b168088392193ca339adabd8e8fbae36 (patch) | |
tree | d1b0c01b1da1e2d25f3c2608845f5228dc917364 /nixos/modules/programs | |
parent | 72c145115b76b9e1eb77f0d374dd106c6da7475a (diff) |
nixos/fish: fix completions patch
Upstream decided to split the lines we were patching out, so the patch
would fail.
Diffstat (limited to 'nixos/modules/programs')
-rw-r--r-- | nixos/modules/programs/fish_completion-generator.patch | 12 |
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: |