Commit Graph

62 Commits

Author SHA1 Message Date
TomaSajt
93852307e0 treewide: remove useFetchCargoVendor usages
Manual backport of 398b16e16c
2025-08-09 02:17:10 +02:00
Wolfgang Walther
aefcb0d50d treewide: run nixfmt 1.0.0 2025-07-24 14:58:18 +02:00
Nick Cao
5d169137de aaaaxy: 1.6.176 -> 1.6.194 (#401940) 2025-04-27 10:00:31 -04:00
R. Ryantm
f899e4f009 aaaaxy: 1.6.176 -> 1.6.194 2025-04-26 04:06:16 +00:00
Fernando Rodrigues
05580f4b44 treewide: switch instances of lib.teams.*.members to the new meta.teams attribute
Follow-up to #394797.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2025-04-25 22:20:17 -03:00
Weijia Wang
60f15744c5 aaaaxy: 1.6.64 -> 1.6.176 (#396839) 2025-04-24 00:49:52 +02:00
linsui
2e540100c5 aapt, apksigner: add NixOS/android to maintainers 2025-04-15 17:07:33 +05:30
K900
f42e00d66e Merge remote-tracking branch 'origin/master' into staging-next 2025-04-08 10:29:26 +03:00
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
K900
b3146d4446 Merge remote-tracking branch 'origin/master' into staging-next 2025-04-07 21:21:10 +03:00
R. Ryantm
fe66309160 aaaaxy: 1.6.64 -> 1.6.176 2025-04-07 15:04:07 +00:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
Silvan Mosberger
e52d633a63 Merge remote-tracking branch 'upstream/staging-next' into staging 2025-04-02 18:30:54 +02:00
Silvan Mosberger
374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
nixpkgs-ci[bot]
d9eb3e5d48 Merge staging-next into staging 2025-03-28 12:06:30 +00:00
Guy Chronister
c2433eb858 aaaaxy: 1.6.0 -> 1.6.64
Diff: https://github.com/divVerent/aaaaxy/compare/v1.6.0...v1.6.64

Add missing command to nativebuildinputs
2025-03-26 11:25:18 -05:00
Alexander V. Nikolaev
131abfd0f6 aalib: cleanup, config.{sub,guess} updated by stdenv hook now
Signed-off-by: Alexander V. Nikolaev <avn@avnik.info>
2025-03-16 22:07:25 +02:00
Peder Bergebakken Sundt
357d2530e5 treewide: substitute pname for strings
Inspired by https://github.com/NixOS/nixpkgs/pull/387725#issuecomment-2704943777, script is based on https://github.com/NixOS/nixpkgs/pull/336172 using what i learned in https://github.com/NixOS/nixpkgs/pull/386865, part of https://github.com/NixOS/nixpkgs/issues/346453

Should be zero rebuilds.

All candidates were made using:

```shell

export NIXPKGS_ALLOW_UNFREE=1
export NIXPKGS_ALLOW_INSECURE=1
export NIXPKGS_ALLOW_BROKEN=1

git-wait restore .

test -s packages.json || ( set -x;
  time nix-env --extra-experimental-features no-url-literals --option system x86_64-linux -f ./. -qaP --json --meta --drv-path --out-path --show-trace --no-allow-import-from-derivation --arg config '{ allowAliases = false; }' > packages.json
)

list_attrpath_fname_col() {
    jq <packages.json 'to_entries[] | select(.value.meta.position==null|not) | "\(.key)\t\(.value.meta.position)"' -r |
        sed -e "s#\t$(realpath .)/#\t#" |
        sed -e 's#:\([0-9]*\)$#\t\1#' |
        grep . |
        grep -iv haskell |
        grep -iv /top-level/ |
        grep -iv chicken |
        grep pkgs/by-name/ |
        grep -iv build |
        grep -E '/(package|default)\.nix'
}

FLOCKDIR="$(mktemp -d)"
N_WORKERS=4
while read attrpath fname col; do
    grep -qE 'repo *= *("\$\{pname\}"|pname);' "$fname" || continue

    echo | (
        # mutex on fname
        flock --nonblock 200 || {
            >&2 echo "failed to aquire lock for $fname"
            exit 1
        }

        echo "$attrpath"
        data="$(nix eval --impure  --expr 'with import ./. {}; { inherit ('"$attrpath"') pname drvPath passthru meta; drvPath2='"$attrpath"'.src.drvPath; }' --json)" || exit
        test -n "$data" || exit
        pname="$(jq <<<"$data" .pname -r)"
        test -n "$pname" || exit

        (set -x
            sd -F '${pname}'  "$pname"         "$fname"
            sd -F ' = pname;' " = \"$pname\";" "$fname"
        )

        data2="$(nix eval --impure  --expr 'with import ./. {}; { inherit ('"$attrpath"') pname drvPath passthru meta; drvPath2='"$attrpath"'.src.drvPath; }' --json)"
        if [[ "$data" = "$data2" ]]; then
            (set -x; git-wait add "$fname")
        else
            (set -x; git-wait restore "$fname")
            exit
        fi

        (set -x
            sd -F ' rec {' ' {' "$fname"
        )

        data3="$(nix eval --impure  --expr 'with import ./. {}; { inherit ('"$attrpath"') pname drvPath passthru meta; drvPath2='"$attrpath"'.src.drvPath; }' --json 2>/dev/nul)"

        if [[ "$data" = "$data3" ]]; then
            (set -x; git-wait add "$fname")
        else
            (set -x; git-wait restore "$fname")
        fi

    ) 200>"$FLOCKDIR"/"$(sha256sum - <<<"$fname" | cut -d' ' -f1)".lock &

    while [[ $(jobs -p | wc -l) -ge $N_WORKERS ]]; do
        wait -n < <(jobs -p) || true
    done

done < <(list_attrpath_fname_col)

wait

git restore .

time nix-env --extra-experimental-features no-url-literals --option system x86_64-linux -f ./. -qaP --json --meta --drv-path --out-path --show-trace --no-allow-import-from-derivation --arg config '{ allowAliases = false; }' > packages2.json
```

`diff packages{,2}.json` is empty, indicating that no package nor src derivation has changed.
I checked and cherry-picked the changes using `GIT_DIFF_OPTS='-u15' git -c interactive.singleKey=true add --patch`
2025-03-11 23:55:31 +01:00
Gaetan Lepage
a85d10330e aapt: disable on aarch64-linux 2025-03-07 12:17:16 +01:00
Luflosi
d29cce9d75 aaaaxy: 1.5.256 -> 1.6.0
https://github.com/divVerent/aaaaxy/releases/tag/v1.6.0
2025-02-24 19:22:36 +01:00
Weijia Wang
8ad4ab244a aardvark-dns: 1.13.1 -> 1.14.0 (#381034) 2025-02-14 15:00:59 +01:00
Anderson Torres
cab2a1296e treewide: remove AndersonTorres from maintainers
As I said before, I want to keep a narrow focus on Nixpkgs. Now that I am back
at undergrad, this focus should be even narrower: I will keep my eyes on Emacs,
and nothing else.
2025-02-12 00:36:02 -03:00
R. Ryantm
789dfdd6ef aardvark-dns: 1.13.1 -> 1.14.0 2025-02-11 00:37:03 +00:00
Alyssa Ross
63bff8c132 treewide: migrate to fetchCargoVendor, batch 1
Cargo 1.84.0 seems to have changed the output format of cargo vendor
again, once again invalidating fetchCargoTarball FOD hashes.  It's
time to fix this once and for all, switching across the board to
fetchCargoVendor, which is not dependent on cargo vendor's output
format.

It should be possible to reproduce this diff.  To do so, get the list
of files changed by this commit, e.g. with git diff --name-only, then
run the following two commands, each with that list of files as their
standard input:

	xargs sed -i 's/^\(. *\)\(cargoHash\)\b/\1useFetchCargoVendor = true;\n\1cargoHash/'
	cut -d / -f 4 | xargs -n 1 nix-update --version=skip

This will take a long time.  It might be possible to parallelize it
using xargs' -P option.  I haven't tested it.
2025-01-23 11:46:43 +01:00
R. Ryantm
cc26c8d852 aaaaxy: 1.5.250 -> 1.5.256 2025-01-19 09:51:59 +00:00
github-actions[bot]
83005af488 Merge master into staging-next 2025-01-07 06:05:04 +00:00
R. Ryantm
38cb928aca aaaaxy: 1.5.220 -> 1.5.250 2025-01-07 00:59:28 +00:00
Peder Bergebakken Sundt
dbee3b0e98 Merge remote-tracking branch 'upstream/staging-next' into fix-merge-conflict-1735949935 2025-01-04 01:24:46 +01:00
Peder Bergebakken Sundt
0cd04d3036 treewide: migrate fetchgit rev = "refs/tags/..." to tag 2025-01-04 00:19:17 +01:00
Sandro
baa2963f8e aalib: update for ncurses-6.5 (#355041) 2024-12-11 19:08:44 +01:00
Silvan Mosberger
667d42c00d 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 57b193d8dd
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:27:17 +01:00
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
Aleksana
d6ae090291 aactivator: init at 2.0.0 (#357493) 2024-11-24 20:40:16 +08:00
Peder Bergebakken Sundt
ff9102c2f4 aaaaxy: 1.5.208 -> 1.5.220 (#354202) 2024-11-24 06:05:39 +01:00
Mark Keller
6229cb20cc aactivator: init at 2.0.0 2024-11-22 13:26:53 -08:00
gautaz
d2c1254ba9 aardvark-dns: 1.13.0 -> 1.13.1 2024-11-22 09:21:41 +01:00
Sergei Trofimovich
cca2dab0de aalib: update for ncurses-6.5
Without the change build fails on `ncurses-6.5` with opaque WINDOW as:

    aacurses.c: In function 'curses_getsize':
    aacurses.c:74:20: error: invalid use of incomplete typedef 'WINDOW' {aka 'struct _wi
n_st'}
       74 |     *width = stdscr->_maxx + 1;
          |                    ^~

The change uses `gemaxx()` / `getmaxy()` instead.
2024-11-10 19:08:24 +00:00
aleksana
571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00
Luflosi
5255c5614d aaaaxy: 1.5.208 -> 1.5.220
https://github.com/divVerent/aaaaxy/releases/tag/v1.5.220
2024-11-07 11:34:16 +01:00
jopejoe1
c4aecf3160 aaphoto: fix src 2024-10-17 19:50:21 +02:00
Luflosi
a9e8b838c8 aaaaxy: 1.5.202 -> 1.5.208
https://github.com/divVerent/aaaaxy/releases/tag/v1.5.208
2024-10-07 19:02:40 +02:00
nixpkgs-merge-bot[bot]
995b55e455 aaaaxy: 1.5.190 -> 1.5.202 (#342440) 2024-09-17 14:19:28 +00:00
R. Ryantm
acc9061814 aaaaxy: 1.5.190 -> 1.5.202 2024-09-17 03:12:36 +00:00
Anderson Torres
f0e64ce16f treewide: migrate packages maintained by AndersonTorres to by-name
Manual migration for the sake of by-name migration is no longer discouraged
since #340235.
2024-09-16 14:26:47 -03:00
Luflosi
218b5701c1 aaaaxy: 1.5.183 -> 1.5.190
https://github.com/divVerent/aaaaxy/releases/tag/v1.5.190
2024-08-29 13:56:33 +02:00
R. Ryantm
3710b728b0 aaaaxy: 1.5.173 -> 1.5.183 2024-08-26 12:31:53 +00:00
Luflosi
3c315d6e91 aaaaxy: 1.5.139 -> 1.5.173
https://github.com/divVerent/aaaaxy/releases/tag/v1.5.173
2024-07-09 21:27:43 +02: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
Luflosi
84b5b4cfa7 aaaaxy: 1.5.129 -> 1.5.139
https://github.com/divVerent/aaaaxy/releases/tag/v1.5.139
2024-06-03 23:18:43 +02:00
Luflosi
6493d50082 aaaaxy: 1.5.54 -> 1.5.129
https://github.com/divVerent/aaaaxy/releases/tag/v1.5.129
2024-05-13 17:36:43 +02:00