Commit Graph

48 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
R. Ryantm
b68a2fc588 gitoxide: 0.38.0 -> 0.39.0 2024-12-01 20:17:43 +00:00
Theodore Ni
77c2f1bb3c
gitoxide: use new Darwin SDK pattern 2024-11-09 19:37:32 -08:00
R. Ryantm
c27f06bb6a gitoxide: 0.37.0 -> 0.38.0 2024-10-23 01:56:44 +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
R. Ryantm
e2dc23646e gitoxide: 0.36.0 -> 0.37.0 2024-07-24 01:12:10 +00:00
Artturin
c278071463
Merge pull request #295396 from sbatial/gix-completions
gitoxide: Add shell completions for ein
2024-06-15 00:31:44 +03:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
R. Ryantm
16cfb8dcbf gitoxide: 0.35.0 -> 0.36.0 2024-05-22 19:11:30 +00:00
R. Ryantm
f2809550ff gitoxide: 0.34.0 -> 0.35.0 2024-04-13 12:59:41 +00:00
sbatial
be2f611e26 gitoxide: Add shell completions for ein 2024-03-08 04:05:53 +01:00
Weijia Wang
c8d0f885d8
Merge pull request #291480 from r-ryantm/auto-update/gitoxide
gitoxide: 0.33.0 -> 0.34.0
2024-03-07 08:20:21 +01:00
sbatial
9f94cdd5f6 gix: Move build time input to nativeBuildInputs 2024-02-28 18:15:26 +01:00
R. Ryantm
fa1ab31bf1 gitoxide: 0.33.0 -> 0.34.0 2024-02-26 05:22:36 +00:00
sbatial
9c9de33ff2 gitoxide: Install shell completions. 2024-02-16 17:37:36 +01:00
R. Ryantm
a4ee055dd7 gitoxide: 0.31.1 -> 0.33.0 2024-01-01 02:15:05 +00:00
R. Ryantm
5dc90ed932 gitoxide: 0.30.0 -> 0.31.1 2023-11-05 07:02:36 +00:00
David Knaack
4b58af2fcb gitoxide: 0.29.0 -> 0.30.0 2023-10-06 09:10:05 +02:00
R. Ryantm
3f9ea77d2f gitoxide: 0.28.0 -> 0.29.0 2023-08-29 12:19:19 +00:00
Theodore Ni
0494e7c9ab
gitoxide: 0.27.0 -> 0.28.0 2023-08-03 08:09:25 -07:00
R. Ryantm
037e87f37a gitoxide: 0.26.0 -> 0.27.0 2023-06-27 04:11:18 +00:00
R. Ryantm
52a6c28227 gitoxide: 0.25.0 -> 0.26.0 2023-06-08 09:11:12 +00:00
R. Ryantm
024dcb3938 gitoxide: 0.23.0 -> 0.25.0 2023-05-15 23:14:53 +00:00
R. Ryantm
968a459d07 gitoxide: 0.22.1 -> 0.23.0 2023-04-28 19:51:59 +00:00
R. Ryantm
8acd149191 gitoxide: 0.20.0 -> 0.22.1 2023-02-19 00:21:58 +00:00
Antonio Yang
7562d276f8 gitoxide: 0.19.0 -> 0.20.0 2023-01-31 23:45:46 +08:00
AndersonTorres
d994dabace treewide: remove git-and-tools directory
We do not use a "plugin system" for Git addons anymore, and therefore this
directory is no longer useful. Indeed that directory is way more confusing,
given that it includes more than mere Git addons, going from Bitbucket server
command-line tools to complete rewrites of Git in exotic programming languages.

Also, without this directory, the mental load of decision-making reduces a lot.
When anyone is interested in including a new git-related tool, just put it into
pkgs/applications/version-management, without apologies.
2022-12-19 15:05:22 -03:00
AndersonTorres
690da77e65 gitoxide: move to git-and-tools 2022-12-03 18:42:29 -03:00
R. Ryantm
4cce42de77 gitoxide: 0.18.0 -> 0.19.0 2022-11-26 06:37:06 +00:00
R. Ryantm
123bd0f6d4 gitoxide: 0.17.0 -> 0.18.0 2022-11-19 01:56:49 +00:00
R. Ryantm
41892731bd gitoxide: 0.16.0 -> 0.17.0 2022-11-07 04:51:50 +00:00
R. Ryantm
5f992ee55e gitoxide: 0.15.0 -> 0.16.0 2022-09-21 19:41:25 +00:00
R. Ryantm
cec5b5003b gitoxide: 0.14.0 -> 0.15.0 2022-08-24 11:05:53 +00:00
R. Ryantm
e2773fb42b gitoxide: 0.13.0 -> 0.14.0 2022-08-18 10:36:26 +00:00
R. Ryantm
ecb95e4393 gitoxide: 0.12.0 -> 0.13.0 2022-07-28 12:52:28 +00:00
Sybrand Aarnoutse
a9fdf69f9f gitoxide: 0.10.0 -> 0.12.0 2022-04-22 12:34:23 +02:00
figsoda
4c121d1630 gitoxide: 0.8.4 -> 0.10.0 2021-10-22 10:51:22 -04:00
Sybrand Aarnoutse
5218777714 gitoxide: 0.7.0 -> 0.8.4 2021-09-19 09:42:09 +09:00
Stéphan Kochen
3b856174c3 gitoxide: fix darwin build 2021-05-15 21:42:38 +02:00
figsoda
ec990c9c23 gitoxide: 0.6.0 -> 0.7.0 2021-05-09 22:40:00 -04:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Ben Siraphob
badf51221d treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +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
Sandro Jäckel
a69b5bf7ec
gitoxide: Fix build on darwin 2020-12-30 03:05:47 +01:00
syberant
9fc8e8ab4f gitoxide: 0.4.3 -> 0.6.0 2020-12-29 22:29:44 +01:00
R. RyanTM
b1d5d5174f gitoxide: 0.4.0 -> 0.4.3 2020-10-18 09:21:55 +00:00
syberant
2f6c1eac7b gitoxide: 0.3.0 -> 0.4.0
Add dependency on openssl.
2020-09-13 21:08:17 +02:00
syberant
8fb288515f gitoxide: init at 0.3.0
Fixes: https://github.com/NixOS/nixpkgs/issues/95317
2020-08-16 19:49:18 +00:00