Commit Graph

137 Commits

Author SHA1 Message Date
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
R. Ryantm
5270db45a7 parallel: 20240722 -> 20240922 2024-10-16 23:11:30 +02:00
Peder Bergebakken Sundt
3a83109945
treewide: change ${pname} to string literal, pt2 (#336195)
* aescrypt: change `${pname}` to string literal

* bandwidth: change `${pname}` to string literal

* bc: change `${pname}` to string literal

* bdfresize: change `${pname}` to string literal

* birdfont: change `${pname}` to string literal

* brltty: change `${pname}` to string literal

* calamares: change `${pname}` to string literal

* ccal: change `${pname}` to string literal

* clac: change `${pname}` to string literal

* colord-gtk4: change `${pname}` to string literal

* colord: change `${pname}` to string literal

* colorless: change `${pname}` to string literal

* cunit: change `${pname}` to string literal

* datamash: change `${pname}` to string literal

* dateutils: change `${pname}` to string literal

* desktop-file-utils: change `${pname}` to string literal

* digitemp: change `${pname}` to string literal

* ding-libs: change `${pname}` to string literal

* docbook2mdoc: change `${pname}` to string literal

* dtach: change `${pname}` to string literal

* empty: change `${pname}` to string literal

* entr: change `${pname}` to string literal

* envsubst: change `${pname}` to string literal

* ethtool: change `${pname}` to string literal

* fdtools: change `${pname}` to string literal

* filebench: change `${pname}` to string literal

* findutils: change `${pname}` to string literal

* fortune: change `${pname}` to string literal

* fpart: change `${pname}` to string literal

* fxlinuxprintutil: change `${pname}` to string literal

* gbdfed: change `${pname}` to string literal

* getopt: change `${pname}` to string literal

* github-copilot-cli: change `${pname}` to string literal

* gparted: change `${pname}` to string literal

* hddtemp: change `${pname}` to string literal

* hdfview: change `${pname}` to string literal

* hpcg: change `${pname}` to string literal

* hpl: change `${pname}` to string literal

* ink: change `${pname}` to string literal

* ised: change `${pname}` to string literal

* isoimagewriter: change `${pname}` to string literal

* kronometer: change `${pname}` to string literal

* libsForQt5.qt5ct: change `${pname}` to string literal

* lilo: change `${pname}` to string literal

* lockfileProgs: change `${pname}` to string literal

* map-cmd: change `${pname}` to string literal

* mcrypt: change `${pname}` to string literal

* most: change `${pname}` to string literal

* mrtg: change `${pname}` to string literal

* ms-sys: change `${pname}` to string literal

* multitime: change `${pname}` to string literal

* nbench: change `${pname}` to string literal

* osinfo-db-tools: change `${pname}` to string literal

* parallel-full: change `${pname}` to string literal

* phoronix-test-suite: change `${pname}` to string literal

* pod2mdoc: change `${pname}` to string literal

* powerline-rs: change `${pname}` to string literal

* recoverjpeg: change `${pname}` to string literal

* recutils: change `${pname}` to string literal

* routino: change `${pname}` to string literal

* rpm-ostree: change `${pname}` to string literal

* screen: change `${pname}` to string literal

* sharedown: change `${pname}` to string literal

* statserial: change `${pname}` to string literal

* taoup: change `${pname}` to string literal

* texi2mdoc: change `${pname}` to string literal

* tmpwatch: change `${pname}` to string literal

* toilet: change `${pname}` to string literal

* triehash: change `${pname}` to string literal

* ttfautohint: change `${pname}` to string literal

* txt2man: change `${pname}` to string literal

* urjtag: change `${pname}` to string literal

* uudeview: change `${pname}` to string literal

* uutils-coreutils: change `${pname}` to string literal

* vttest: change `${pname}` to string literal

* wacomtablet: change `${pname}` to string literal

* xcd: change `${pname}` to string literal

* xdaliclock: change `${pname}` to string literal

* xjobs: change `${pname}` to string literal

* feishin: change `${pname}` to string literal

* gifsicle: change `${pname}` to string literal

* nzbhydra2: change `${pname}` to string literal

* vatprism: change `${pname}` to string literal

* webfs: change `${pname}` to string literal

* yggstack: change `${pname}` to string literal
2024-08-20 17:23:37 -07:00
R. Ryantm
e1a6a43833 parallel: 20240622 -> 20240722 2024-07-21 12:24:46 +00:00
Anderson Torres
084dc9a4df treewide: remove vrthra from meta.maintainers [no orphans]
Tracking issue: https://github.com/NixOS/nixpkgs/issues/290642

Inactive since at least 2017.
2024-07-07 12:18:57 -03:00
R. Ryantm
5cc163c6d2 parallel: 20240522 -> 20240622 2024-06-25 04:12:39 +00:00
R. Ryantm
af59b15e90 parallel: 20240422 -> 20240522 2024-06-04 08:28:58 +00:00
Peder Bergebakken Sundt
53717915c9
Merge pull request #304018 from amarshall/parallel-full-improve
parallel-full: fix missing files
2024-05-10 11:27:14 +02:00
Andrew Marshall
a1347423d2 parallel-full: add missing package metadata 2024-05-04 08:17:50 -04:00
Andrew Marshall
a52252c919 parallel-full: fix missing files and meta
Previously, this was not usable as a drop-in replacement for `parallel`
since it only included the one exe. This changes to additionally symlink
all files from $out as well as symlink all other outputs. So no files
are missing compared to `parallel`, while being efficiently symlinked.

Further, copy meta and version from the base package.
2024-05-04 08:17:50 -04:00
R. Ryantm
91d0634f04 parallel: 20240322 -> 20240422 2024-05-01 21:44:57 +00:00
Muhammad Falak R Wani
03085b8b96 parallel: 20240222 -> 20240322 2024-04-01 10:32:54 +05:30
R. Ryantm
698e8907bc parallel: 20240122 -> 20240222 2024-02-28 10:14:37 +00:00
R. Ryantm
94c2089d5f parallel: 20231222 -> 20240122 2024-01-25 07:06:16 +00:00
R. Ryantm
f4bab69135 parallel: 20231122 -> 20231222 2023-12-24 18:33:18 +00:00
R. Ryantm
110e5c27bf parallel: 20231022 -> 20231122 2023-11-30 03:41:21 +00:00
R. Ryantm
c75fed2f17 parallel: 20230922 -> 20231022 2023-11-05 02:49:44 +00:00
Artturi
6f7f8031f5
Merge pull request #260726 from gmacon/parallel-gawk 2023-10-31 17:58:10 +02:00
George Macon
52d5403bee parallel: add gawk to wrapper path
Parallel uses awk to implement the --memfree option.
2023-10-12 11:28:11 -04:00
R. Ryantm
a05e53e5e4 parallel: 20230822 -> 20230922 2023-10-12 08:17:58 +00:00
Yureka
f92f6b6a84 parallel: fix cross-compilation 2023-09-15 20:06:33 +02:00
Dilip
29659595db parallel: 20230622 -> 20230822
bump to new version
2023-09-04 18:45:36 +05:30
R. Ryantm
79d64d76df parallel: 20230522 -> 20230622 2023-06-25 07:08:28 +00:00
R. Ryantm
ea6957a7ee parallel: 20230422 -> 20230522 2023-06-12 08:21:43 +00:00
R. Ryantm
0fb99734cf parallel: 20230322 -> 20230422 2023-04-27 07:07:26 +00:00
R. Ryantm
55aab11e91 parallel: 20230222 -> 20230322 2023-03-29 16:46:27 +00:00
R. Ryantm
78ac44af76 parallel: 20221222 -> 20230222 2023-03-08 21:13:59 -05:00
Sandro Jäckel
399e77983c
parallel: 20221122 -> 20221222 2023-01-22 01:58:00 +01:00
Felix Zieger
610bcb9baa
parallel: 20220322 -> 20221122 (#206262) 2023-01-22 01:53:06 +01:00
R. Ryantm
78667b5e08 parallel: 20220222 -> 20220322 2022-03-24 20:47:41 +00:00
R. Ryantm
cb0275d013 parallel: 20220122 -> 20220222 2022-02-24 19:38:50 +00:00
R. Ryantm
ed05de27d9 parallel: 20211222 -> 20220122 2022-02-12 21:52:29 +00:00
R. Ryantm
e5ad1f67e4 parallel: 20211122 -> 20211222 2021-12-25 13:06:31 +00:00
R. Ryantm
c86e33f3fb parallel: 20210722 -> 20211122 2021-12-08 17:07:42 -05:00
Jörg Thalheim
b0fcb8326a
Merge pull request #110633 from tomberek/parallel-nag
parallel: add disableNagMessage
2021-10-14 06:51:05 +01:00
Aaron L. Zeng
e4baf816b1 parallel: 20210322 -> 20210722 2021-08-02 17:10:42 -04:00
R. RyanTM
63dc77958d parallel: 20210222 -> 20210322 2021-03-29 23:00:59 -04:00
R. RyanTM
29e63d7696 parallel: 20210122 -> 20210222 2021-02-24 15:12:56 +00:00
Aaron Zeng
16fed7f1eb
parallel: 20200922 -> 20210122 (#111499) 2021-02-19 05:56:45 -05:00
Sandro Jäckel
2c8ae68fba
parallel: split out doc 2021-02-14 10:12:21 +01:00
Thomas Bereknyei
3d6389bf5e parallel: add disableNagMessage 2021-01-23 18:59:07 -05:00
Ben Siraphob
8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
R. RyanTM
8f4cddeaae parallel: 20200822 -> 20200922 2020-11-04 00:58:59 +00:00
Bjørn Forsman
3d4e133e77 parallel: fix calculation of max line length
parallel >= 20200822 uses /bin/echo to calculate the max allowed line
length. Patch it to a correct path, so that it doesn't (silently) fail
and fall back to a low value of 324.

Before:
  $ parallel --max-line-length-allowed
  324

After:
  $ parallel --max-line-length-allowed
  131063

Fixes: 16ca8725ff ("parallel: 20200722 -> 20200822")
2020-10-24 09:55:06 +02:00
R. RyanTM
16ca8725ff parallel: 20200722 -> 20200822 2020-08-27 01:27:59 +00:00
R. RyanTM
11b97cb509 parallel: 20200522 -> 20200722 2020-07-25 16:26:05 +00:00
R. RyanTM
eaa7841734 parallel: 20200422 -> 20200522 2020-05-26 10:16:58 +00:00
R. RyanTM
650f1fff15 parallel: 20200322 -> 20200422 2020-05-06 09:41:53 +00:00
tomberek
939976a929
parallel-full: init SQL and CSV support (#77619)
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2020-04-03 09:49:28 +01:00