Commit Graph
766714 Commits
Author SHA1 Message Date
h7x4andGitHub 73c8f4eb22 jdk23: 23.0.1+11 -> 23.0.2+7 (#382815) 2025-03-12 01:28:46 +01:00
Arnout EngelenandGitHub d82d350785 python3Packages.pythonocc-core: fix build (#388956) 2025-03-12 01:18:33 +01:00
Peder Bergebakken SundtandGitHub e607ef1af0 treewide: substitute pname for strings (#387769) 2025-03-12 00:36:56 +01:00
Donovan GloverandGitHub 06e543f1b3 python312Packages.hatch-babel: change maintainer (#388047) 2025-03-11 23:35:58 +00:00
Donovan GloverandGitHub cafa38037f vcluster: 0.19.7 -> 0.23.0 (#388502) 2025-03-11 23:31:20 +00:00
Markus KowalewskiandGitHub 433d437fa8 spglib: 2.5.0 -> 2.6.0 (#388677) 2025-03-12 00:23:38 +01:00
7c6f434candGitHub 7800b60ba7 Update Gajim to 2.0.2 (#389105) 2025-03-11 23:16:44 +00:00
Arne KellerandGitHub c7520d0ad8 xfel: init at 1.3.2 (#170976) 2025-03-12 00:03:31 +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
Samuel AinsworthandGitHub 9058a14b36 psst: add darwin support; unstable-2024-10-24 -> 0-unstable-2025-02-22 (#359804) 2025-03-11 18:43:29 -04:00
Peder Bergebakken SundtandGitHub 792337a48e meshlab-unstable: init at 2023.12-unstable-2025-02-21 (#386161) 2025-03-11 23:29:24 +01:00
Peder Bergebakken SundtandGitHub 618c33dd9e logdy: 0.13.1 -> 0.16.0 (#388263) 2025-03-11 23:27:30 +01:00
Derry TuttandGitHub e4d4910d5f Update Gajim to 2.0.2 2025-03-11 17:18:31 -05:00
Nick CaoandGitHub 5dcaeaa040 python312Packages.jax: 0.5.1 -> 0.5.2 (#387207) 2025-03-11 18:11:13 -04:00
168b42501e fflogs: 8.16.2 -> 8.16.11 (#389057)
Co-authored-by: sersorrel <ash@sorrel.sh>
2025-03-11 22:06:03 +00:00
David McFarlandandGitHub 8fed26c205 nuget-to-json: fix missing tool packages (#388841) 2025-03-11 18:54:45 -03:00
Nikolay KorotkiyandGitHub 89cca4cfe0 trayscale: 0.14.1 -> 0.14.2 (#389063) 2025-03-12 01:53:58 +04:00
Pol DellaieraandGitHub d9fff27d95 python312Packages.spotipy: 2.25.0 -> 2.25.1 (#388882) 2025-03-11 22:51:16 +01:00
Pol DellaieraandGitHub 598e3abada nixos/outline: remove non-existent systemd option (#388886) 2025-03-11 22:50:50 +01:00
Pol DellaieraandGitHub 784ea3f02f maintainers: drop rexim (#388950) 2025-03-11 22:49:27 +01:00
Pol DellaieraandGitHub b447ca8dbf Thunderbird: 133.0 -> 136.0; 128.7.1esr -> 128.8.0esr (#388975) 2025-03-11 22:47:55 +01:00
Pol DellaieraandGitHub 63e3239e3f nix-playground: 1.0.1 -> 1.0.2 (#389044) 2025-03-11 22:46:21 +01:00
Pol DellaieraandGitHub 71361af8ef dovecot: add missing dependencies (#388678) 2025-03-11 22:21:32 +01:00
Peder Bergebakken SundtandGitHub e219903813 torzu: use system libs and unbreak aarch64-linux (#377059) 2025-03-11 22:11:44 +01:00
Peder Bergebakken SundtandGitHub d574c98bc9 snis: 2024-08-02 -> 1.0.2 (#385640) 2025-03-11 22:11:13 +01:00
Leona MaroniandGitHub 0010823d6c jetbrains: 2024.3.4 -> 2024.3.6 (#388194) 2025-03-11 21:48:22 +01:00
Peder Bergebakken SundtandGitHub e02cdfcf22 imv: add patch for libnsgif (#388255) 2025-03-11 21:47:16 +01:00
jopejoe1andGitHub 1e364930bc maintainers: update matrix for sodiboo (#388970) 2025-03-11 21:46:18 +01:00
dotlambdaandGitHub 4be999591a python313Packages.habluetooth: 3.24.1 -> 3.25.0 (#387556) 2025-03-11 13:41:59 -07:00
Pol DellaieraandGitHub e8fff3c3d0 1oom: 1.11.1 -> 1.11.2 (#387411) 2025-03-11 21:26:38 +01:00
Maximilian BoschandGitHub f819e95afc Merge: linux-firmware: 20250211 -> 20250311, fetch from cdn.kernel.org (#389060) 2025-03-11 21:22:06 +01:00
Aaron AndersenandGitHub 0d1f4d4ef7 libcec: 6.0.2 -> 7.0.0 (#385262) 2025-03-11 20:13:07 +00:00
Aaron AndersenandGitHub 0e8c68faea kodiPackages.jellycon: 0.8.0 -> 0.8.3 (#384513) 2025-03-11 20:08:27 +00:00
Guillaume GirolandGitHub 9161971a37 ipp-usb: 0.9.28 -> 0.9.29 (#387156) 2025-03-11 21:01:53 +01:00
Nikolay KorotkiyandGitHub d1c52a9768 orbiton: 2.68.8 -> 2.68.9 (#388961) 2025-03-11 23:55:39 +04:00
Diego PontorieroandGitHub e4ec0ce083 graphite-cli: remove diegs from maintainers 2025-03-12 01:24:42 +05:30
Nick CaoandGitHub 540a3d5768 python312Packages.diff-cover: 9.2.3 -> 9.2.4 (#389032) 2025-03-11 15:50:04 -04:00
Nick CaoandGitHub 886f625628 mpvScripts.modernz: 0.2.6 -> 0.2.7 (#389042) 2025-03-11 15:49:15 -04:00
Nick CaoandGitHub 9cf667ea59 cables: 0.5.7 -> 0.5.9 (#389049) 2025-03-11 15:48:15 -04:00
Cosima NeidahlandGitHub 43cbffe72f famistudio: 4.3.2 -> 4.3.3 (#387378) 2025-03-11 20:48:03 +01:00
Nick CaoandGitHub 3d805e6801 envsubst: 1.4.2 -> 1.4.3 (#389051) 2025-03-11 15:47:50 -04:00
Nick CaoandGitHub 402b101361 totp-cli: 1.8.8 -> 1.9.2 (#389053) 2025-03-11 15:47:15 -04:00
Nick CaoandGitHub a64ed2db08 grpcurl: 1.9.2 -> 1.9.3 (#389056) 2025-03-11 15:46:37 -04:00
R. Ryantm 60ed77756a trayscale: 0.14.1 -> 0.14.2 2025-03-11 19:45:53 +00:00
SandroandGitHub fc251dbb76 jacktrip: 2.4.1 -> 2.5.1 (#377913) 2025-03-11 20:42:58 +01:00
SandroandGitHub 81fd4c649b gh-skyline: init at 0.1.3 (#372227) 2025-03-11 20:37:37 +01:00
Dmitry KalinkinandGitHub 9571c9860e arrow-cpp: 19.0.0 -> 19.0.1 (#388151) 2025-03-11 15:36:15 -04:00
Nick CaoandGitHub 0bfa7a4f86 sing-box: 1.11.4 -> 1.11.5 (#388993) 2025-03-11 15:34:55 -04:00
Nick CaoandGitHub 918d8312b2 trealla: 2.63.40 -> 2.64.4 (#388998) 2025-03-11 15:34:15 -04:00
K900 4e8bf8d9d3 linux-firmware: 20250211 -> 20250311, fetch from cdn.kernel.org
The git snapshot export is down and slow and we don't need it
because we fake git anyway.
2025-03-11 22:33:55 +03:00