Commit Graph

16 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 a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Tobias Langendorf
2b5e0949de tmux-sessionizer: 0.4.3 -> 0.4.4 2024-10-25 13:47:51 +02:00
R. Ryantm
bc13187ee1 tmux-sessionizer: 0.4.2 -> 0.4.3 2024-10-14 06:39:32 +00:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Alexis Hildebrandt
f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +02:00
Emilio Ziniades
16b48915aa tmux-sessionizer: 0.4.0-unstable-2024-02-06 -> 0.4.2 2024-03-25 16:36:40 +02:00
Tobias Langendorf
f4d5a7ba63 tmux-sessionizer: 0.3.2 -> 0.4.0-unstable-2024-02-06 2024-02-12 22:56:05 +01:00
Tobias Langendorf
2d3efdc677 tmux-sessionizer: 0.3.0 -> 0.3.2 2024-01-12 00:36:47 +01:00
Marc Jakobi
fea79f43d3 tmux-sessionizer: add passthru.tests.version 2023-12-24 14:44:16 +01:00
Marc Jakobi
cbc34bb581 tmux-sessionizer: replace rec with let.. in 2023-12-24 14:44:16 +01:00
Marc Jakobi
7695b4a79f tmux-sessionizer: 0.2.3 -> 0.3.0 2023-12-24 14:44:16 +01:00
Marc Jakobi
d0cb2f3ad5 tmux-sessionizer: add mrcjkb to maintainers 2023-12-24 14:44:16 +01:00
h7x4
41974d5ed9
treewide: add mainProgram 2023-11-27 02:17:53 +01:00
Emilio Ziniades
801d81ede8 tmux-sessionizer: 0.2.1 -> 0.2.3 2023-08-21 11:53:33 +02:00
R. Ryantm
85de04f6a4 tmux-sessionizer: 0.2.0 -> 0.2.1 2023-04-09 23:35:35 +00:00
Vinny Meller
d802599805 tmux-sessionizer: Init at 0.2.0 2023-03-28 19:47:07 -05:00