Commit Graph

147 Commits

Author SHA1 Message Date
R. Ryantm
ffbbdbd799 onefetch: 2.23.1 -> 2.24.0 2025-04-13 00:43:47 +00:00
Nick Cao
d2379338b4
oneanime: 1.3.9 -> 1.4.0 (#397504) 2025-04-10 17:13:21 -04:00
R. Ryantm
c6091599d4 oneanime: 1.3.9 -> 1.4.0 2025-04-09 21:57:47 +00:00
Daniel Nagy
fef3407120
onionshare: use writableTmpDirAsHomeHook 2025-04-09 13:45:00 +02: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
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
Sandro Jäckel
dbb3bdb4d4
onlyoffice-documentserver: fail loudly when HASH_POSTFIX would change 2025-04-04 11:37:49 +02:00
Arnout Engelen
ea0b776f71
x2t: init at 8.3.2 2025-04-03 20:08:48 +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
Pol Dellaiera
ee213826b5
one_gadget: Migrate to by-name (#394655) 2025-03-31 16:39:27 +02:00
Guy Chronister
74a4a3058c one_gadget: Migrate to by-name 2025-03-30 17:05:37 -05:00
R. Ryantm
da9d6f3240 oneDNN: 3.7 -> 3.7.2 2025-03-30 23:01:47 +02:00
Guy Chronister
995536e6ce oneDNN, oneDNN_2: migrate to by-name 2025-03-30 22:47:33 +02:00
Nick Cao
bb0ee0481a
oneanime: 1.3.8 -> 1.3.9 (#394269) 2025-03-30 10:58:35 -04:00
Weijia Wang
23c05b813a
onedrive: 2.5.4 -> 2.5.5 (#390596) 2025-03-29 22:52:41 +01:00
emaryn
12cd7367d1 oneanime: 1.3.8 -> 1.3.9 2025-03-29 18:50:32 +08:00
Pol Dellaiera
fbb9c255b2
oneanime: 1.3.7 -> 1.3.8 (#380248) 2025-03-28 22:22:11 +01:00
jopejoe1
7d30c40939 treewide: migrate packages to pkgs/by-name, again 2025-03-25 17:00:45 +01:00
R. Ryantm
7d6c9f3cf8 onedrive: 2.5.4 -> 2.5.5 2025-03-17 07:45:37 +00:00
John Garcia
0fb8e1a688 various: remove chewblacka as package maintainer 2025-03-16 16:27:08 +05:30
Arne Keller
3111760add
onlyoffice-desktopeditors: 8.3.0 -> 8.3.1 (#389110) 2025-03-14 23:23:05 +01:00
Sigmanificient
e6fe6f4b7c treewide: remove unused rec expressions 2025-03-13 21:34:05 +01: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
Gaston Jorquera
beca19cde5 onlyoffice-desktopeditors: 8.3.0 -> 8.3.1
Fixes #385406.
2025-03-11 18:38:17 -04:00
Gaétan Lepage
a9b3dcfd0a
onlyoffice-desktopeditors: 8.2.0 -> 8.3.0 (#382516) 2025-02-17 13:38:52 +01:00
ben9986
e10c34c0ac
onedrive: 2.5.3 -> 2.5.4, revert 9b05844 2025-02-16 21:29:39 +00:00
Brian McGillion
c1b4b8cb06
onlyoffice-desktopeditors: 8.2.0 -> 8.3.0
Fixes: #381259

changelog: https://github.com/ONLYOFFICE/DocumentServer/blob/master/CHANGELOG.md#830

Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
2025-02-16 12:42:16 +04:00
emaryn
c6317736e0 oneanime: 1.3.7 -> 1.3.8 2025-02-12 21:18:52 +00: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
Martin Weinelt
d59a511001
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/by-name/ca/cargo-pgo/package.nix
- pkgs/by-name/lr/lrcget/package.nix
- pkgs/by-name/no/noseyparker/package.nix
- pkgs/development/python-modules/cysignals/default.nix
2025-01-30 00:32:08 +01:00
Bonus
5d693c6f09
onlyoffice-documentserver: fix issue with broken nixos module 2025-01-29 12:42:09 +01:00
Alyssa Ross
502c77492b
Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
	pkgs/applications/editors/vim/plugins/non-generated/avante-nvim/default.nix
	pkgs/applications/editors/vim/plugins/non-generated/cord-nvim/default.nix
	pkgs/applications/version-management/git-stack/default.nix
	pkgs/by-name/bo/boxbuddy/package.nix
	pkgs/by-name/ca/capnproto-rust/package.nix
	pkgs/by-name/ca/cargo-binstall/package.nix
	pkgs/by-name/ca/cargo-deb/package.nix
	pkgs/by-name/ca/cargo-modules/package.nix
	pkgs/by-name/cl/clapboard/package.nix
	pkgs/by-name/do/dotslash/package.nix
	pkgs/by-name/fe/felix-fm/package.nix
	pkgs/by-name/gi/gitlab-ci-ls/package.nix
	pkgs/by-name/go/gotify-desktop/package.nix
	pkgs/by-name/ha/handlr-regex/package.nix
	pkgs/by-name/ir/iroh/package.nix
	pkgs/by-name/ma/manga-tui/package.nix
	pkgs/by-name/ob/obs-cmd/package.nix
	pkgs/by-name/ox/oxlint/package.nix
	pkgs/by-name/pi/pik/package.nix
	pkgs/by-name/re/reindeer/package.nix
	pkgs/by-name/rn/rnr/package.nix
	pkgs/by-name/ro/routinator/package.nix
	pkgs/by-name/rw/rwpspread/package.nix
	pkgs/by-name/sk/skim/package.nix
	pkgs/by-name/so/sope/package.nix
	pkgs/by-name/so/soteria/package.nix
	pkgs/by-name/sp/spacer/package.nix
	pkgs/by-name/st/stylance-cli/package.nix
	pkgs/by-name/su/subxt/package.nix
	pkgs/by-name/sw/swayfx-unwrapped/package.nix
	pkgs/by-name/te/television/package.nix
	pkgs/by-name/to/toast/package.nix
	pkgs/by-name/wa/wastebin/package.nix
	pkgs/by-name/wi/wit-bindgen/package.nix
	pkgs/by-name/wo/workshop-runner/package.nix
	pkgs/development/interpreters/wasmtime/default.nix
	pkgs/development/tools/rust/cargo-edit/default.nix
	pkgs/development/tools/sentry-cli/default.nix
	pkgs/misc/t-rec/default.nix
	pkgs/tools/video/yaydl/default.nix
2025-01-26 14:55:08 +01:00
aucub
2315b9d7aa oneanime: remove aucub from maintainers 2025-01-25 21:22:24 +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
Wolfgang Walther
5bbeb6df30
treewide: replace substituteAll with replaceVars (part 3) (#373659) 2025-01-19 16:12:30 +01:00
Wolfgang Walther
b12e9707e0
treewide: replace substituteAll with replaceVars (part 3)
Driving #237216 forward.
2025-01-19 13:31:23 +01:00
nixpkgs-ci[bot]
3512333283
Merge staging-next into staging 2025-01-17 12:34:27 +00:00
nixpkgs-ci[bot]
7e3f8e5382
Merge master into staging-next 2025-01-17 12:33:56 +00:00
Peder Bergebakken Sundt
b09e931798 treewide: run ./maintainers/scripts/update_redirected_urls.sh 2025-01-17 04:46:25 +01:00
github-actions[bot]
30935b389e
Merge staging-next into staging 2025-01-14 12:06:26 +00:00
github-actions[bot]
4de88b4823
Merge master into staging-next 2025-01-14 12:05:49 +00:00
misuzu
0bd7401c71
onboard: fix cross build (#372927) 2025-01-14 11:06:26 +02:00
FliegendeWurst
f0283774ca onboard: fix cross build 2025-01-13 22:45:30 +01:00
github-actions[bot]
974ffaf1c0
Merge staging-next into staging 2025-01-12 06:05:14 +00:00
github-actions[bot]
e930b19aca
Merge master into staging-next 2025-01-12 06:04:28 +00:00
John
528ea9b8c3
maintainers: remove johnramsden (#373017)
* Remove maintainer

* Remove John Ramsden from maintainer-list
2025-01-11 19:51:31 -05:00
Pol Dellaiera
7d190c1e94 onefetch: replace git with gitMinimal 2025-01-09 21:02:44 +01:00
K900
9e51fd8b02 Merge remote-tracking branch 'origin/master' into staging-next 2025-01-06 21:13:31 +03:00
Donovan Glover
b30f97d8c3
onefetch: 2.22.0 -> 2.23.1 (#370530) 2025-01-06 12:26:56 +00:00
Emily
47fb826620
oniguruma: 6.9.9 -> 6.9.10 (#369960) 2025-01-05 18:32:40 +00:00