Commit Graph
766745 Commits
Author SHA1 Message Date
6f656135db kubetui: 1.6.0 -> 1.6.2 (#389064)
Co-authored-by: Bot-wxt1221 <3264117476@qq.com>
2025-03-12 04:40:24 +00:00
Bobby RongandGitHub 8a946fb875 budgie-desktop: Backport fix for Vala 0.56.18 (#388241) 2025-03-12 12:13:34 +08:00
Austin HorstmanandGitHub 230f8bbfe4 portfolio: 0.74.1 -> 0.74.2 (#388683) 2025-03-11 23:04:40 -05:00
Austin HorstmanandGitHub 65bbf7aa19 kitty: 0.39.1->0.40.0 (#388182) 2025-03-11 22:50:57 -05:00
Franz PletzandGitHub 7310ab328b fluent-bit: 3.2.6 -> 3.2.8 (#388786) 2025-03-12 04:41:20 +01:00
c1d1a90903 is-fast: 0.1.3 -> 0.8.5 (#389059)
Co-authored-by: pwnwriter <hi@pwnwriter.me>
2025-03-12 03:19:09 +00:00
Nick CaoandGitHub abe85c8598 ada: 3.1.2 -> 3.1.3 (#389079) 2025-03-11 22:22:50 -04:00
Austin HorstmanandGitHub a507ddf46b streamrip: 2.0.5 -> 2.1.0 (#388759) 2025-03-11 21:21:41 -05:00
Austin HorstmanandGitHub d7367584d2 x11iddle: drop (#388568) 2025-03-11 21:21:09 -05:00
Nick CaoandGitHub c5a3c862b5 python312Packages.librosa: 0.10.2.post1 -> 0.11.0 (#389006) 2025-03-11 22:06:54 -04:00
6c7903b22a Remove nix-update-script
Co-authored-by: Nick Cao <nickcao@nichi.co>
2025-03-11 20:42:13 -05:00
Maciej KrügerandGitHub fa0f98b0c8 haste-server: fix broken symlink (#389135) 2025-03-12 02:35:03 +01:00
Maciej Krüger 3b115aec2e haste-server: fix broken symlink 2025-03-12 02:26:08 +01:00
h7x4andGitHub e5a90ffe43 clive: init at 0.12.9 (#384231) 2025-03-12 01:36:39 +01:00
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
178f303c4f Remove explicit update script
Co-authored-by: Nick Cao <nickcao@nichi.co>
2025-03-11 19:03:05 -05: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
Guy Chronister 4fef650c7d ada: 3.1.2 -> 3.1.3 2025-03-11 15:36:19 -05: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