nixpkgs/pkgs/tools/text
piegames 68927918d0 treewide: Fix indentation in strings
The indentation stripping semantics of strings are fairly bad and have a
few gotchas where the resulting string has not the intended indentation.
This commit fixes most if not all such instances in Nixpkgs.

I tried to strive a balance between keeping the diff small and
reformatting/refactoring the code to look better. In general,
reformatting should be left to Nixfmt.

Note that this causes a lot of rebuilds by design. All changes need to
be thoroughly vetted and reviewed for correctness. There is no automatic
way to prove correctness.

List of files to fix generated by running
https://gerrit.lix.systems/c/lix/+/2092 on Nixpkgs and looking at the
warnings.
2024-10-22 21:36:42 +02:00
..
a2ps treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
abbreviate treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
agrep agrep: fix build failure 2024-05-16 15:04:22 +02:00
aha treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
align treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
amber treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
anew treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
anewer treewide: change cargoSha256 with SRI hash to cargoHash 2024-07-03 21:53:11 +08:00
angle-grinder angle-grinder: 0.19.2 -> 0.19.4 2024-06-02 00:38:50 +00:00
ansifilter anisfilter: update homepage url 2024-05-28 11:39:50 +03:00
ascii ascii: 3.20 -> 3.30 2024-06-06 21:23:40 +02:00
asciigraph asciigraph: 0.7.1 -> 0.7.2 2024-08-12 00:24:20 +00:00
autocorrect treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
base16384 base16384: 2.3.0 -> 2.3.1 2024-04-10 13:07:39 -07:00
bashblog treewide: remove wolfangaukang as maintainer 2024-06-22 07:03:16 -06:00
book-summary treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
boxes boxes: 2.3.0 -> 2.3.1 2024-10-04 08:34:24 +02:00
catdoc treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
catdocx treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
cconv treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
chars treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
choose choose: 1.3.4 -> 1.3.6 2024-10-03 00:30:21 +00:00
chroma treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
cidrgrep treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
clima treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
cmigemo skkDictionaries: replace skk-dicts 2024-10-01 01:24:28 +09:00
codesearch treewide: vendorSha256 -> vendorHash (#256514) 2023-09-21 19:11:11 +02:00
colordiff colordiff: set meta.mainProgram 2023-12-11 21:45:14 +01:00
coloursum treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
comrak treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
convertlit treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
copyright-update treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
crowdin-cli crowdin-cli: use finalAttrs.finalPackage 2024-09-24 23:28:51 +02:00
csvdiff treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
csview csview: 1.3.2 -> 1.3.3 2024-07-09 04:25:55 +00:00
csvquote csvquote: fix typo 2023-07-04 20:38:17 +02:00
d2 d2: add meta.mainProgram and meta.changelog 2024-09-30 21:23:27 +02:00
dadadodo treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
dcs treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
dfmt treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
diction
diffr treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
diffsitter diffsitter: add updateScript and versionCheckHook 2024-08-26 21:01:11 -04:00
diffstat treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
difftastic difftastic: 0.59.0 -> 0.60.0 2024-08-02 19:14:09 +05:30
diffutils various: Enable updateAutotoolsGnuConfigScriptsHook 2024-05-27 11:09:28 -04:00
dirdiff treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
discount treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
djot-js djot-js: 0.2.3 -> 0.3.1 2024-03-07 04:20:00 +00:00
dos2unix dos2unix: 7.5.1 -> 7.5.2 2024-01-24 09:18:43 +00:00
dt dt: 1.2.5 -> 1.3.1 2023-11-04 22:22:25 +08:00
each treewide: change cargoSha256 with SRI hash to cargoHash 2024-07-03 21:53:11 +08:00
ebook-tools
enca pkgs/tools: remove licenses.gpl2 2024-05-02 21:06:26 +02:00
enscript treewide: Fix indentation in strings 2024-10-22 21:36:42 +02:00
epub2txt2 epub2txt2: 2.07 -> 2.08 2024-06-25 11:38:27 +00:00
epubcheck treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
esh binlore: migrate override lore to package passthru 2024-07-04 11:15:05 -05:00
fanficfare fanficfare: 4.38.0 -> 4.39.0 2024-10-05 21:29:14 +00:00
fastmod treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
frangipanni treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
frawk Merge branch 'staging-next' into staging 2024-07-16 19:07:48 +03:00
frogmouth treewide: remove pythonRelaxDepsHook references 2024-06-14 14:52:00 +02:00
fst treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
gawk treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
gjo treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
glogg treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
gnugrep treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
gnupatch treewide: Fix indentation in strings 2024-10-22 21:36:42 +02:00
gnused various: Enable updateAutotoolsGnuConfigScriptsHook 2024-05-27 11:09:28 -04:00
goawk goawk: 1.27.0 -> 1.28.0 2024-09-14 14:30:24 +05:30
gpt2tc
grin grin: 1.3.0 -> 1.3.0-unstable-2023-08-30 2024-08-01 11:25:21 +09:00
grip-search grip-search: fix build with GCC 13 2024-01-25 13:30:28 +00:00
groff treewide: remove unused fetchpatch arguments 2024-06-04 12:40:25 +02:00
gtranslator Merge branch 'master' into staging-next 2024-05-02 09:05:49 +02:00
gtree gtree: 1.10.10 -> 1.10.11 2024-08-25 00:58:47 +00:00
gucci treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
hck hck: 0.10.0 -> 0.10.1 2024-07-27 17:57:25 +00:00
hcledit hcledit: 0.2.14 -> 0.2.15 2024-09-05 09:15:52 +00:00
highlight treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
html2text treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
html-tidy treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
huniq Merge branch 'staging-next' into staging 2024-07-16 19:07:48 +03:00
hyx treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
icdiff treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
igrep treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
invoice2data treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
ispell treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
jbofihe
jen jen: 1.6.0 -> 1.7.0 2024-10-03 11:12:53 +08:00
jotdown jotdown: 0.5.0 -> 0.6.0 2024-09-22 13:18:03 +00:00
jumanpp treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
justify
kakasi treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
kdiff3 treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
kytea
l2md treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
languagetool languagetool: 6.4 -> 6.5 2024-10-14 10:29:32 +00:00
languagetool-rust treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ledger2beancount
link-grammar treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
ltex-ls ltex-ls: add vinnymeller as maintainer 2024-04-27 00:49:20 -04:00
lv pkgs/tools: remove licenses.gpl2 2024-05-02 21:06:26 +02:00
mairix treewide: remove viric from meta.maintainers [orphans] 2024-07-28 11:48:51 -03:00
mark mark: 10.0.0 -> 10.0.1 2024-08-13 02:49:10 +00:00
markdownlint-cli markdownlint-cli: 0.41.0 -> 0.42.0 2024-09-24 14:28:56 +00:00
markdownlint-cli2 markdownlint-cli2: 0.13.0 -> 0.14.0 2024-10-15 17:17:35 +00:00
markscribe treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
math-review treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
mb2md treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
mdbook-admonish treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
mdbook-cmdrun Merge pull request #304312 from MakiseKurisu/cmdrun 2024-04-20 02:57:11 +08:00
mdbook-emojicodes treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
mdbook-epub treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
mdbook-footnote treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
mdbook-graphviz treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
mdbook-i18n-helpers mdbook-i18n-helpers: 0.3.4 -> 0.3.5 2024-07-24 02:42:27 +00:00
mdbook-katex treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
mdbook-kroki-preprocessor treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
mdbook-linkcheck treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
mdbook-man treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
mdbook-mermaid treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
mdbook-open-on-gh mdbook-open-on-gh: 2.4.2 -> 2.4.3 2024-05-13 14:35:30 +00:00
mdbook-pagetoc mdbook-pagetoc: 0.1.9 -> 0.2.0 2024-05-01 02:10:46 +00:00
mdbook-pdf treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
mdbook-plantuml treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
mdbook-toc treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
mdcat mdcat: 2.4.0 -> 2.5.0 2024-09-30 02:51:45 +00:00
mdhtml mdhtml: 0.3.1 -> 1.0 2023-12-08 17:03:10 +01:00
mecab mecab: remove paveloom from maintainers 2024-01-13 15:53:38 +00:00
miller miller: 6.12.0 -> 6.13.0 2024-10-06 01:21:40 +00:00
mir-qualia treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
mmdoc treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
morsel treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
mpage treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
mrkd treewide: Pass self when overriding Python 2024-08-03 12:18:56 +12:00
multitran treewide: remove viric from meta.maintainers [orphans] 2024-07-28 11:48:51 -03:00
mw treewide: remove unused occurence of stdenv (and other) arguments 2024-07-14 04:32:56 +02:00
namazu
nerdfix nerdfix: 0.4.0 -> 0.4.1 2024-07-14 13:26:45 +00:00
nkf treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
nltk-data nltk-data: 5db857e -> cfe8291, cleanup 2024-08-25 22:01:09 +02:00
num-utils
numdiff treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
odt2txt pkgs/tools: remove licenses.gpl2 2024-05-02 21:06:26 +02:00
opencc opencc: add passthru.updateScript 2024-09-24 01:34:09 +08:00
ov ov: 0.35.0 -> 0.36.0 2024-07-25 02:32:20 +00:00
papeer papeer: 0.8.1 -> 0.8.2 2024-08-15 08:09:13 +00:00
papertrail papertrail: testVersion 2024-09-20 17:57:04 +01:00
par treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
patchutils pkgsMusl.patchutils_0_4_2: fix build 2024-04-25 09:15:17 +02:00
pbgopy maintainers: remove ivar 2024-06-29 03:09:10 -04:00
peco treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
percollate percollate: 4.2.2 -> 4.2.3 2024-08-12 01:34:16 +00:00
pinyin-tool treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
platinum-searcher treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
pn treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
podiff treewide: remove maintainer goibhniu 2024-07-24 13:38:22 +03:00
poedit treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
pomsky treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
popfile treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
proselint treewide: remove maintainer alibabzo 2024-09-25 22:39:13 +01:00
qprint treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
rare-regex treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
readability-cli maintainers: drop marsam 2024-04-24 04:20:00 +00:00
reckon treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
recode recode: move to finalAttrs 2024-04-27 18:23:06 +05:30
repgrep treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
replace treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
reveal-md reveal-md: 6.1.2 -> 6.1.3 2024-08-31 15:39:47 +00:00
rgxg treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
riffdiff riffdiff: 3.3.1 -> 3.3.3 2024-10-09 14:48:55 +00:00
ripgrep treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ripgrep-all treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
rnr treewide: change cargoSha256 with SRI hash to cargoHash 2024-07-03 21:53:11 +08:00
rosie treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
rpl rpl: 1.15.6 -> 1.15.7 2024-08-19 19:10:46 +00:00
rsbkb rsbkb: patch time crate for Rust 1.80 2024-08-10 12:35:14 -05:00
ruby-zoom treewide: update meta.description to fit the guidelines 2024-01-09 17:12:31 +01:00
runiq treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ruplacer treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
rust-petname fetchCrate: sha256 -> hash 2024-07-14 13:48:13 -04:00
sad sad: 0.4.30 -> 0.4.31 2024-07-02 09:30:22 +00:00
schema2ldif
scraper scraper: 0.19.1 -> 0.20.0 2024-08-05 16:15:33 +00:00
sd treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
seehecht Merge staging-next into staging 2024-07-14 18:01:37 +00:00
sgml Merge branch 'master' into staging-next 2024-09-25 06:05:01 +03:00
sgrep treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
shfmt shfmt: 3.8.0 -> 3.9.0 2024-08-17 16:45:59 +10:00
shocco treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
sift treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
silver-searcher treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
smu treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
snippetpixie treewide: wrapGAppsHook → wrapGAppsHook3 2024-04-27 02:23:22 +02:00
sorted-grep treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
source-highlight sourceHighlight: fix tests with llvm 2024-09-20 18:24:26 -07:00
subedit pkgs/tools: remove licenses.gpl2 2024-05-02 21:06:26 +02:00
tab treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
teip treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
termbook treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
tesh treewide: remove unused fetchpatch arguments 2024-06-04 12:40:25 +02:00
tidy-viewer treewide: change cargoSha256 with SRI hash to cargoHash 2024-07-03 21:53:11 +08:00
tml treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
to-html treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
topfew topfew: 0.9.0 -> 2.0.0 2024-06-28 20:11:36 +02:00
topfew-rs
tuc treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
tv treewide: change cargoSha256 with SRI hash to cargoHash 2024-07-03 21:53:11 +08:00
txt2tags treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
u2ps u2ps: init at 1.2 2023-08-15 20:08:48 +02:00
ugrep ugrep: 6.4.1 -> 6.5.0 2024-08-24 01:33:06 +05:30
unfurl treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
uni2ascii treewide: remove maintainer goibhniu 2024-07-24 13:38:22 +03:00
uniscribe treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
unoconv unoconv: add meta.mainProgram 2024-07-17 10:35:56 +02:00
unrtf treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
untex treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
uwc uwc: disable tests 2024-09-29 12:46:52 +08:00
validator-nu validator-nu: set meta.platforms 2024-06-05 10:52:58 +02:00
vgrep vgrep: 2.7.0 -> 2.8.0 2024-05-20 20:20:46 +05:30
wdiff tree-wide: remove eelco as maintainer from things he no longer maintains 2024-08-21 01:17:45 -07:00
wgetpaste treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
wrap treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
write-good treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
xidel xidel: Set platforms to platforms.all 2024-06-11 23:49:33 +02:00
xml basex: 11.1 -> 11.4 2024-10-17 23:41:22 +02:00
xpaste treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
xsv treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
xurls
yaml-merge treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
yx yx: support cross-compiling 2024-07-29 10:20:28 +02:00
zet zet: fix build 2024-09-03 19:11:56 +03:00
zim-tools zim-tools: 3.3.0 -> 3.4.0 2024-02-29 10:05:42 +00:00
zstxtns-utils maintainers: remove fogti 2024-04-27 14:44:36 +02:00