13 Commits
Author SHA1 Message Date
Silvan Mosberger 4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
r-vdp 6b3a4030de Treewide: add meta.mainProgram 2023-08-07 18:12:29 +02:00
Profpatsch c97ad2763a rm Profpatsch from stuff without interest/capacity of maintaining
For tree-sitter I’m still interested, but don’t want to be first in
the list :)
2023-07-07 12:53:42 +02:00
zowoq 4cb228c88c shellcheck, haskellPackages.ShellCheck: add maintainer 2022-12-28 10:42:13 +10:00
Artturin 62e1d58a6f trivial-builders.writeShellApplication: use unwrapped pandoc
writeShellApplication does not need shellcheck docs

it takes ~1 hour to compile the dependencies of pandoc on r9 5900x
because haskell is so slow

$ nix path-info -r ".#sway" --derivation | wc -l
2357

$ nix path-info -r ".#sway" --derivation | wc -l
2055
2022-12-13 05:39:58 +02:00
zowoq 6bad84a25d shellcheck: drop removeAttrs workaround for hydraPlatforms
No longer necessary, resolved by 6496069dda
2021-12-03 18:34:44 +10:00
zowoq 9326641548 shellcheck: add override for newer version
`haskellPackages.ShellCheck` is pinned on stackage.
2021-12-02 08:12:31 +10:00
Ellie Hermaszewska 15ae25f36c haskell: switch from haskell.lib to haskell.lib.compose 2021-11-07 20:18:45 +08:00
Felix Buehler f439e8dba7 shellcheck: deprecate phases 2021-07-18 12:31:37 +02:00
zowoq e32be84ad4 shellcheck: inherit meta 2020-04-12 10:47:15 +10:00
zowoq e1c059c850 shellcheck: don't build locally 2020-04-12 09:57:11 +10:00
Mario Rodas c4ff843ed1 shellcheck: fix build
shellcheck no longer auto builds its manpage[1]

[1] https://github.com/koalaman/shellcheck/commit/2c026f1ec7c205c731ff2a0ccd85365f37245758
2020-04-11 00:00:00 -05:00
Profpatsch 0bc0c10a78 shellcheck: add manpage and docs
The shellcheck source code contains a manpage, so let’s add that to
the output. For good measure, also copy the README to the doc output.

The overrideMeta thing is taking care of setting the right position,
so that `nix edit` points to this file instead of to the original
haskellPackages definition.
2020-03-06 09:20:12 +01:00