From 2234346c9ba9f0096a1a95b3c8298aeb94cb552c Mon Sep 17 00:00:00 2001 From: "Alexander V. Nikolaev" Date: Sat, 26 Apr 2025 16:24:39 +0300 Subject: [PATCH 01/50] wine64Packages.{unstable,staging}: 10.5 -> 10.6 --- pkgs/applications/emulators/wine/sources.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/emulators/wine/sources.nix b/pkgs/applications/emulators/wine/sources.nix index 38bbca910c7a..c5f37d96f06b 100644 --- a/pkgs/applications/emulators/wine/sources.nix +++ b/pkgs/applications/emulators/wine/sources.nix @@ -132,9 +132,9 @@ rec { unstable = fetchurl rec { # NOTE: Don't forget to change the hash for staging as well. - version = "10.5"; + version = "10.6"; url = "https://dl.winehq.org/wine/source/10.x/wine-${version}.tar.xz"; - hash = "sha256-wDbsHvR2dHdKX5lFgwIuni62j+j8GLOox55oWzvsibw="; + hash = "sha256-KviAmj6Yc2N1LI92QO+nKnydMhPTMkN9uHzh0NmOkGE="; patches = [ # Also look for root certificates at $NIX_SSL_CERT_FILE @@ -144,7 +144,7 @@ rec { # see https://gitlab.winehq.org/wine/wine-staging staging = fetchFromGitLab { inherit version; - hash = "sha256-rXA/55rwQSJR247E4H7cQdTtXRmjomRbls7THV3jfcE="; + hash = "sha256-vDN4u95HiOC0PZyRjHl6eQeL7B9s+NNM4cKrhsa0BEY="; domain = "gitlab.winehq.org"; owner = "wine"; repo = "wine-staging"; From f40800fb5a4b6ea8dd17861a2302d78fe39b29eb Mon Sep 17 00:00:00 2001 From: "Alexander V. Nikolaev" Date: Sat, 3 May 2025 18:36:41 +0300 Subject: [PATCH 02/50] wine64Packages.{unstable,staging}: 10.6 -> 10.7 --- pkgs/applications/emulators/wine/sources.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/emulators/wine/sources.nix b/pkgs/applications/emulators/wine/sources.nix index c5f37d96f06b..5763deb79b98 100644 --- a/pkgs/applications/emulators/wine/sources.nix +++ b/pkgs/applications/emulators/wine/sources.nix @@ -132,9 +132,9 @@ rec { unstable = fetchurl rec { # NOTE: Don't forget to change the hash for staging as well. - version = "10.6"; + version = "10.7"; url = "https://dl.winehq.org/wine/source/10.x/wine-${version}.tar.xz"; - hash = "sha256-KviAmj6Yc2N1LI92QO+nKnydMhPTMkN9uHzh0NmOkGE="; + hash = "sha256-dRNnoxCZkNcD5ZDi21MBh8Th39Lo5hNzq4S0L+EbGPo="; patches = [ # Also look for root certificates at $NIX_SSL_CERT_FILE @@ -144,7 +144,7 @@ rec { # see https://gitlab.winehq.org/wine/wine-staging staging = fetchFromGitLab { inherit version; - hash = "sha256-vDN4u95HiOC0PZyRjHl6eQeL7B9s+NNM4cKrhsa0BEY="; + hash = "sha256-4doo7B3eEoQaml6KX02OhcLGGiLcgNhYq4ry/iB7kLc="; domain = "gitlab.winehq.org"; owner = "wine"; repo = "wine-staging"; From 2e6fb8c12a80b2934f640ab8bd12e08d4aad0a8f Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Sat, 10 May 2025 15:26:19 +0400 Subject: [PATCH 03/50] =?UTF-8?q?agate:=203.3.14=20=E2=86=92=203.3.16?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/by-name/ag/agate/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ag/agate/package.nix b/pkgs/by-name/ag/agate/package.nix index 74146a1e546c..4b03d4dcaffd 100644 --- a/pkgs/by-name/ag/agate/package.nix +++ b/pkgs/by-name/ag/agate/package.nix @@ -11,17 +11,17 @@ rustPlatform.buildRustPackage rec { pname = "agate"; - version = "3.3.14"; + version = "3.3.16"; src = fetchFromGitHub { owner = "mbrubeck"; repo = "agate"; rev = "v${version}"; - hash = "sha256-3IVl11eG9gSriOddgzgF0FecdldBxEOE/UXlFDKGyic="; + hash = "sha256-TLLmoQXrvgDskmH9sKxUi5AqYrCR0ZaJJdbOV03IbMc="; }; useFetchCargoVendor = true; - cargoHash = "sha256-pVxXUFuHyQ7YBJ6cBv3wPK5aZOs2QIhKf9awwY/y1hw="; + cargoHash = "sha256-HA1h06ZlWvq7z5hJFqKxGtXNk8/GHxUivigaVqWQCvA="; nativeBuildInputs = [ pkg-config ]; From 9b01e09a350a8cb2fc86215bcaa040562e439597 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Wed, 8 Jan 2025 22:01:14 +0100 Subject: [PATCH 04/50] workflows: avoid running jobs when editing title etc. We intend to use the edited event to react to base branch changes - but before this change, we also ran those jobs on simple edits like title or description. While this works for some of the quicker jobs, it will not be sustainable for all evaluation-related jobs. But evaluation needs to be re-triggered on a base branch change as well, thus this change. --- .github/workflows/check-format.yml | 1 - .github/workflows/codeowners-v2.yml | 2 +- .github/workflows/edited.yml | 49 +++++++++++++++++++++++++++++ .github/workflows/labels.yml | 1 - .github/workflows/nixpkgs-vet.yml | 5 --- .github/workflows/no-channel.yml | 2 -- 6 files changed, 50 insertions(+), 10 deletions(-) create mode 100644 .github/workflows/edited.yml diff --git a/.github/workflows/check-format.yml b/.github/workflows/check-format.yml index ca3da602575b..fe5d43a92b0e 100644 --- a/.github/workflows/check-format.yml +++ b/.github/workflows/check-format.yml @@ -2,7 +2,6 @@ name: Check that files are formatted on: pull_request_target: - types: [opened, synchronize, reopened, edited] permissions: {} diff --git a/.github/workflows/codeowners-v2.yml b/.github/workflows/codeowners-v2.yml index 98c769236b22..d8ee183f8bd6 100644 --- a/.github/workflows/codeowners-v2.yml +++ b/.github/workflows/codeowners-v2.yml @@ -24,7 +24,7 @@ name: Codeowners v2 on: pull_request_target: - types: [opened, ready_for_review, synchronize, reopened, edited] + types: [opened, ready_for_review, synchronize, reopened] permissions: {} diff --git a/.github/workflows/edited.yml b/.github/workflows/edited.yml new file mode 100644 index 000000000000..37b7dc7e53d1 --- /dev/null +++ b/.github/workflows/edited.yml @@ -0,0 +1,49 @@ +# Some workflows depend on the base branch of the PR, but changing the base branch is not included in the default trigger events, which would be `opened`, `synchronize` or `reopened`. +# Instead it causes an `edited` event. +# Since `edited` is also triggered when PR title/body is changed, we use this wrapper workflow, to run the other workflows conditionally only. +# There are already feature requests for adding a `base_changed` event: +# - https://github.com/orgs/community/discussions/35058 +# - https://github.com/orgs/community/discussions/64119 +# +# Instead of adding this to each workflow's pull_request_target event, we trigger this in a separate workflow. +# This has the advantage, that we can actually skip running those jobs for simple edits like changing the title or description. +# The actual trigger happens by closing and re-opening the pull request, which triggers the default pull_request_target events. +# This is much simpler and reliable than other approaches. + +name: "Edited base branch" + +on: + pull_request_target: + types: [edited] + +permissions: {} + +jobs: + base: + name: Trigger jobs + runs-on: ubuntu-24.04 + if: github.event.changes.base.ref.from && github.event.changes.base.ref.from != github.event.pull_request.base.ref + steps: + # Use a GitHub App to create the PR so that CI gets triggered + # The App is scoped to Repository > Contents and Pull Requests: write for Nixpkgs + # We only need Pull Requests: write here, but the app is also used for backports. + - uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6 + id: app-token + with: + app-id: ${{ vars.NIXPKGS_CI_APP_ID }} + private-key: ${{ secrets.NIXPKGS_CI_APP_PRIVATE_KEY }} + permission-pull-requests: write + + - env: + GH_TOKEN: ${{ steps.app-token.outputs.token }} + REPOSITORY: ${{ github.repository }} + NUMBER: ${{ github.event.number }} + run: | + gh api \ + --method PATCH \ + /repos/"$REPOSITORY"/pulls/"$NUMBER" \ + -f "state=closed" + gh api \ + --method PATCH \ + /repos/"$REPOSITORY"/pulls/"$NUMBER" \ + -f "state=open" diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml index e3423ce169f4..630a725dfd9e 100644 --- a/.github/workflows/labels.yml +++ b/.github/workflows/labels.yml @@ -7,7 +7,6 @@ name: "Label PR" on: pull_request_target: - types: [edited, opened, synchronize, reopened] permissions: contents: read diff --git a/.github/workflows/nixpkgs-vet.yml b/.github/workflows/nixpkgs-vet.yml index 80d6ba0b9aba..137299f2d78e 100644 --- a/.github/workflows/nixpkgs-vet.yml +++ b/.github/workflows/nixpkgs-vet.yml @@ -7,11 +7,6 @@ name: Vet nixpkgs on: pull_request_target: - # This workflow depends on the base branch of the PR, but changing the base branch is not included in the default trigger events, which would be `opened`, `synchronize` or `reopened`. - # Instead it causes an `edited` event, so we need to add it explicitly here. - # While `edited` is also triggered when the PR title/body is changed, this PR action is fairly quick, and PRs don't get edited **that** often, so it shouldn't be a problem. - # There is a feature request for adding a `base_changed` event: https://github.com/orgs/community/discussions/35058 - types: [opened, synchronize, reopened, edited] permissions: {} diff --git a/.github/workflows/no-channel.yml b/.github/workflows/no-channel.yml index ce0d50fed15d..53e5587025f9 100644 --- a/.github/workflows/no-channel.yml +++ b/.github/workflows/no-channel.yml @@ -2,8 +2,6 @@ name: "No channel PR" on: pull_request_target: - # Re-run should be triggered when the base branch is updated, instead of silently failing - types: [opened, synchronize, reopened, edited] permissions: {} From 4dfa0ed7808a4f6fa970cc5e90bbb50c0e50635d Mon Sep 17 00:00:00 2001 From: Muhammad Falak R Wani Date: Sun, 11 May 2025 09:57:36 +0530 Subject: [PATCH 05/50] dua: 2.29.4 -> 2.30.1 Diff: https://github.com/Byron/dua-cli/compare/refs/tags/v2.29.4...v2.30.1 Changelog: https://github.com/Byron/dua-cli/blob/v2.30.1/CHANGELOG.md Signed-off-by: Muhammad Falak R Wani --- pkgs/by-name/du/dua/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/du/dua/package.nix b/pkgs/by-name/du/dua/package.nix index 8abc63a51835..bacfb310810c 100644 --- a/pkgs/by-name/du/dua/package.nix +++ b/pkgs/by-name/du/dua/package.nix @@ -8,13 +8,13 @@ rustPlatform.buildRustPackage rec { pname = "dua"; - version = "2.29.4"; + version = "2.30.1"; src = fetchFromGitHub { owner = "Byron"; repo = "dua-cli"; tag = "v${version}"; - hash = "sha256-TVwRz5bAdJMtmhhzfZZ/NuV+YrLcnuK6d86Oj/JmgW4="; + hash = "sha256-TJiy9ki2k9sgruMFPF3xElOJaco6G8Jx/g43WYwF22U="; # Remove unicode file names which leads to different checksums on HFS+ # vs. other filesystems because of unicode normalisation. postFetch = '' @@ -23,7 +23,7 @@ rustPlatform.buildRustPackage rec { }; useFetchCargoVendor = true; - cargoHash = "sha256-I8Is6jjBgxcqHkLrA/hesa7z3rrDVK6sjyw2/mQoRVs="; + cargoHash = "sha256-LOtZyH6eO8IgHrZfyBInEeXI9CxkjLrMfMWuTUMF+FU="; checkFlags = [ # Skip interactive tests From db0033b6142aaf3dd0f3342112f199bbe7eed9d1 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 16 May 2025 17:25:38 +0000 Subject: [PATCH 06/50] all-the-package-names: 2.0.2147 -> 2.0.2154 --- pkgs/by-name/al/all-the-package-names/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/al/all-the-package-names/package.nix b/pkgs/by-name/al/all-the-package-names/package.nix index a7e5fd6fbf86..b8bb0da96a3d 100644 --- a/pkgs/by-name/al/all-the-package-names/package.nix +++ b/pkgs/by-name/al/all-the-package-names/package.nix @@ -7,16 +7,16 @@ buildNpmPackage rec { pname = "all-the-package-names"; - version = "2.0.2147"; + version = "2.0.2154"; src = fetchFromGitHub { owner = "nice-registry"; repo = "all-the-package-names"; tag = "v${version}"; - hash = "sha256-SVZV9/eAPp7IxWhNxKuDgxFaW/nQiLZkRrqCgRbU9hQ="; + hash = "sha256-JAWD64CTQACKH8uGyGcbWqTkCQxmRvtQIyco4rK3l6Y="; }; - npmDepsHash = "sha256-pJZpgmo3yNo9xGHC4U2XDBm+EFdFCP8BCSlmRnHUUVo="; + npmDepsHash = "sha256-yzjW4m0gHKfWulgAIR04IkWDnHvfCohF/wHi6Wu42cY="; passthru.updateScript = nix-update-script { }; From d9a74dfb6b3bf74d085a0fb41a434a61b71d5862 Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Fri, 16 May 2025 16:03:21 -0400 Subject: [PATCH 07/50] vault: 1.19.3 -> 1.19.4 Diff: https://github.com/hashicorp/vault/compare/v1.19.3...v1.19.4 Changelog: https://github.com/hashicorp/vault/blob/v1.19.4/CHANGELOG.md --- pkgs/by-name/va/vault/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/va/vault/package.nix b/pkgs/by-name/va/vault/package.nix index 6b946cdde4bf..eb560c67b588 100644 --- a/pkgs/by-name/va/vault/package.nix +++ b/pkgs/by-name/va/vault/package.nix @@ -12,16 +12,16 @@ buildGoModule rec { pname = "vault"; - version = "1.19.3"; + version = "1.19.4"; src = fetchFromGitHub { owner = "hashicorp"; repo = "vault"; rev = "v${version}"; - hash = "sha256-Mh9cRSLvx//ePSI1RMcSA7s56MAw+XuAJvbP7BFNZZw="; + hash = "sha256-IF67/aWBUMFjAyC0TloKOJUa3zenk47QaCTBKwOltvw="; }; - vendorHash = "sha256-F86lDf9AYvVL/sNNstRINe5+O/kGA0SuRjkXM4C99TU="; + vendorHash = "sha256-tVCSEqAlyogwFSBWtFEzDl5ziteoBexqQ0xaGmk8F+k="; proxyVendor = true; From 26088a9aa88b4f4f4f50d4a4f92a7f43168c8e80 Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Fri, 16 May 2025 16:54:39 -0400 Subject: [PATCH 08/50] vault-bin: 1.19.3 -> 1.19.4 --- pkgs/by-name/va/vault-bin/package.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/va/vault-bin/package.nix b/pkgs/by-name/va/vault-bin/package.nix index f92e5d2b4908..cd2a50b6d2f0 100644 --- a/pkgs/by-name/va/vault-bin/package.nix +++ b/pkgs/by-name/va/vault-bin/package.nix @@ -6,7 +6,7 @@ stdenv.mkDerivation rec { pname = "vault-bin"; - version = "1.19.3"; + version = "1.19.4"; src = let @@ -20,11 +20,11 @@ stdenv.mkDerivation rec { aarch64-darwin = "darwin_arm64"; }; hash = selectSystem { - x86_64-linux = "sha256-tdDMyvZHH9Lh4ZP0umGeWOQ01F4O7eq0n+8zz18/zlQ="; - aarch64-linux = "sha256-WXRElEsmEQsk2CEno1oHk+e6UPcbE15uHrAgZkLS8Oc="; - i686-linux = "sha256-+XDdrhHVLsaVqqYedp99uIKgfNiw7wHjZg6BTuiWAGw="; - x86_64-darwin = "sha256-rXqAR/bnuwNjmt+KmbixV4RFC04ZRF9BNwM9uYYLGTI="; - aarch64-darwin = "sha256-roHDJmgv8GfebhQnYeNrBc/pvwS2yoSB0YJwy/6eHVk="; + x86_64-linux = "sha256-i9BLwgaQSPprQQRSw9Df1M4XgqldBK/r4lSHrOI65uU="; + aarch64-linux = "sha256-f8tdRbyQpkRSoLZQ715+gApZBol/ZcFPiIpbzCaUbag="; + i686-linux = "sha256-6X2eR8URSqQGDgpWfx1FR4bRFDScnAsxskPBJNFWlJ8="; + x86_64-darwin = "sha256-u0E/uI1h1z46WRhjAydgxfSXwsXKXeLz6lSZmTWGwKU="; + aarch64-darwin = "sha256-VB2hanB432cPeAVx/zXJCT1Mmj4u+xjsm6jCUw0dpiE="; }; in fetchzip { From edaf51cb83e3bef31ba33ce7327dfc9ac7f48843 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Sun, 18 May 2025 16:09:25 +0200 Subject: [PATCH 09/50] ci/eval: remove left-over stats.json This seems to be a left-over from before the performance comparison was changed to a difference-per-chunk analysis. --- ci/eval/default.nix | 38 -------------------------------------- 1 file changed, 38 deletions(-) diff --git a/ci/eval/default.nix b/ci/eval/default.nix index d46d0f9a759d..4bd390307152 100644 --- a/ci/eval/default.nix +++ b/ci/eval/default.nix @@ -8,7 +8,6 @@ procps, nixVersions, jq, - sta, python3, }: @@ -188,10 +187,7 @@ let rm "$chunkOutputDir"/stats/"$seq_end" fi - # Make sure the glob doesn't break when there's no files - shopt -s nullglob cat "$chunkOutputDir"/result/* > $out/paths - cat "$chunkOutputDir"/stats/* > $out/stats.jsonstream ''; combine = @@ -202,7 +198,6 @@ let { nativeBuildInputs = [ jq - sta ]; } '' @@ -225,39 +220,6 @@ let ) | from_entries ' > $out/outpaths.json - # Computes min, mean, error, etc. for a list of values and outputs a JSON from that - statistics() { - local stat=$1 - sta --transpose | - jq --raw-input --argjson stat "$stat" -n ' - [ - inputs | - split("\t") | - { key: .[0], value: (.[1] | fromjson) } - ] | - from_entries | - { - key: ($stat | join(".")), - value: . - }' - } - - # Gets all available number stats (without .sizes because those are constant and not interesting) - readarray -t stats < <(jq -cs '.[0] | del(.sizes) | paths(type == "number")' ${resultsDir}/*/stats.jsonstream) - - # Combines the statistics from all evaluations - { - echo "{ \"key\": \"minAvailMemory\", \"value\": $(cat ${resultsDir}/*/min-avail-memory | sta --brief --min) }" - echo "{ \"key\": \"minFreeSwap\", \"value\": $(cat ${resultsDir}/*/min-free-swap | sta --brief --min) }" - cat ${resultsDir}/*/total-time | statistics '["totalTime"]' - for stat in "''${stats[@]}"; do - cat ${resultsDir}/*/stats.jsonstream | - jq --argjson stat "$stat" 'getpath($stat)' | - statistics "$stat" - done - } | - jq -s from_entries > $out/stats.json - mkdir -p $out/stats for d in ${resultsDir}/*; do From 1d86f262ccee61f3e879429ac34a4ace86a77c44 Mon Sep 17 00:00:00 2001 From: emaryn Date: Sun, 18 May 2025 17:12:37 +0000 Subject: [PATCH 10/50] librewolf-bin-unwrapped: 138.0.1-2 -> 138.0.3-1 --- pkgs/by-name/li/librewolf-bin-unwrapped/package.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/li/librewolf-bin-unwrapped/package.nix b/pkgs/by-name/li/librewolf-bin-unwrapped/package.nix index 3e18103e637f..b9f5ba1932e0 100644 --- a/pkgs/by-name/li/librewolf-bin-unwrapped/package.nix +++ b/pkgs/by-name/li/librewolf-bin-unwrapped/package.nix @@ -37,7 +37,7 @@ let pname = "librewolf-bin-unwrapped"; - version = "138.0.1-2"; + version = "138.0.3-1"; in stdenv.mkDerivation { @@ -47,9 +47,9 @@ stdenv.mkDerivation { url = "https://gitlab.com/api/v4/projects/44042130/packages/generic/librewolf/${version}/librewolf-${version}-${arch}-package.tar.xz"; hash = { - i686-linux = "sha256-sr4qnFpWubAsdBr18xLSMwBCkCX6JB0VnwiJxu4b+Dc="; - x86_64-linux = "sha256-BW8CirLL8YJl+aXwGWo3n3RN04LWs3ca4Isy5Krrjpg="; - aarch64-linux = "sha256-LLUQ87HcsnxYfTvniKIHVY+pqTWpdqN1a7gRQn3Ll7Y="; + i686-linux = "sha256-GlXMfSqG8z4pzGivjuEKhsL8fbkYH4feDOVtFCGLYxA="; + x86_64-linux = "sha256-Pi/KIimmQTpQeksKFyZLpss20Khti9Y4Dv2I45HfMHw="; + aarch64-linux = "sha256-9e8Cg5q74YT249AwzpqQzIWVtdDBvvOl7YnVGfcVWXY="; } .${stdenv.hostPlatform.system} or throwSystem; }; From a5fceb3f831c77cab064201076ab022328c56df0 Mon Sep 17 00:00:00 2001 From: emaryn Date: Mon, 19 May 2025 02:34:19 +0000 Subject: [PATCH 11/50] librewolf-bin-unwrapped: 138.0.3-1 -> 138.0.4-1 --- pkgs/by-name/li/librewolf-bin-unwrapped/package.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/li/librewolf-bin-unwrapped/package.nix b/pkgs/by-name/li/librewolf-bin-unwrapped/package.nix index b9f5ba1932e0..72ddc32becc6 100644 --- a/pkgs/by-name/li/librewolf-bin-unwrapped/package.nix +++ b/pkgs/by-name/li/librewolf-bin-unwrapped/package.nix @@ -37,7 +37,7 @@ let pname = "librewolf-bin-unwrapped"; - version = "138.0.3-1"; + version = "138.0.4-1"; in stdenv.mkDerivation { @@ -47,9 +47,9 @@ stdenv.mkDerivation { url = "https://gitlab.com/api/v4/projects/44042130/packages/generic/librewolf/${version}/librewolf-${version}-${arch}-package.tar.xz"; hash = { - i686-linux = "sha256-GlXMfSqG8z4pzGivjuEKhsL8fbkYH4feDOVtFCGLYxA="; - x86_64-linux = "sha256-Pi/KIimmQTpQeksKFyZLpss20Khti9Y4Dv2I45HfMHw="; - aarch64-linux = "sha256-9e8Cg5q74YT249AwzpqQzIWVtdDBvvOl7YnVGfcVWXY="; + i686-linux = "sha256-9lHQQ9DGfIIjMhvtorrFTHjjt+qCFRdhgLmkDYn5/sI="; + x86_64-linux = "sha256-N4MmZgYtezRzofuxPreWM+MrPZbgrh/jhBtDqHndFzw="; + aarch64-linux = "sha256-y4wR6RgtEesvogy+fRtVwY6dMMrrC/bPjH35N/ARI2U="; } .${stdenv.hostPlatform.system} or throwSystem; }; From 65022b03cbeaf6357c7673436c1646206031287b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 19 May 2025 04:32:44 +0000 Subject: [PATCH 12/50] python3Packages.wadler-lindig: 0.1.5 -> 0.1.6 --- pkgs/development/python-modules/wadler-lindig/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/wadler-lindig/default.nix b/pkgs/development/python-modules/wadler-lindig/default.nix index e9e801455661..ebf484a15d4d 100644 --- a/pkgs/development/python-modules/wadler-lindig/default.nix +++ b/pkgs/development/python-modules/wadler-lindig/default.nix @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "wadler-lindig"; - version = "0.1.5"; + version = "0.1.6"; pyproject = true; src = fetchFromGitHub { owner = "patrick-kidger"; repo = "wadler_lindig"; tag = "v${version}"; - hash = "sha256-owqtKooc7b7RRJglDC5K5M88pxAepHRr+lZCsOOzw7E="; + hash = "sha256-EO47eYZk3Hr4328liDmRfCbwi5NDJ4V9NUzk3bpY9IM="; }; build-system = [ @@ -39,7 +39,7 @@ buildPythonPackage rec { meta = { description = "Wadler--Lindig pretty printer for Python"; homepage = "https://github.com/patrick-kidger/wadler_lindig"; - changelog = "https://github.com/patrick-kidger/wadler_lindig/releases/tag/v${version}"; + changelog = "https://github.com/patrick-kidger/wadler_lindig/releases/tag/${src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ GaetanLepage ]; }; From 2a5ccb29476e42b304c8b8547249f596318fe765 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 19 May 2025 15:36:52 +0000 Subject: [PATCH 13/50] primecount: 7.16 -> 7.18 --- pkgs/by-name/pr/primecount/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/pr/primecount/package.nix b/pkgs/by-name/pr/primecount/package.nix index 385f1139883f..3615b902593b 100644 --- a/pkgs/by-name/pr/primecount/package.nix +++ b/pkgs/by-name/pr/primecount/package.nix @@ -9,13 +9,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "primecount"; - version = "7.16"; + version = "7.18"; src = fetchFromGitHub { owner = "kimwalisch"; repo = "primecount"; rev = "v${finalAttrs.version}"; - hash = "sha256-wmq2AmpmDNJE7AEbn+sFbmLYR/ewdVQeEyWkmq16U9o="; + hash = "sha256-iVRkgVeNO0AxwfyM9Dw5B0GoAf4GlrTtC+1npKlaV3E="; }; outputs = [ From 73b373aa6aa15e09937f1ea3f956d85355ae9578 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Mon, 19 May 2025 12:52:48 -0700 Subject: [PATCH 14/50] python3Packages.firebase-admin: add sarahec as maintainer --- pkgs/development/python-modules/firebase-admin/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/firebase-admin/default.nix b/pkgs/development/python-modules/firebase-admin/default.nix index 853b5a25c68b..cc88966e4478 100644 --- a/pkgs/development/python-modules/firebase-admin/default.nix +++ b/pkgs/development/python-modules/firebase-admin/default.nix @@ -61,6 +61,9 @@ buildPythonPackage rec { homepage = "https://github.com/firebase/firebase-admin-python"; changelog = "https://github.com/firebase/firebase-admin-python/releases/tag/${src.tag}"; license = lib.licenses.asl20; - maintainers = with lib.maintainers; [ jhahn ]; + maintainers = with lib.maintainers; [ + jhahn + sarahec + ]; }; } From 4dbae55b183acfe6446d18bd79c290a8debe1f0b Mon Sep 17 00:00:00 2001 From: adisbladis Date: Mon, 19 May 2025 17:13:44 +1200 Subject: [PATCH 15/50] linux_testing: 6.15-rc6 -> 6.15-rc7 --- pkgs/os-specific/linux/kernel/kernels-org.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/kernels-org.json b/pkgs/os-specific/linux/kernel/kernels-org.json index 7c024a3fbabe..a2f3305bfdb9 100644 --- a/pkgs/os-specific/linux/kernel/kernels-org.json +++ b/pkgs/os-specific/linux/kernel/kernels-org.json @@ -1,7 +1,7 @@ { "testing": { - "version": "6.15-rc6", - "hash": "sha256:1l18hsnzh28m2f34rsvq4khwblzl60qc61qs6ic13jbd8jsnhsi9" + "version": "6.15-rc7", + "hash": "sha256:0b9149pyg4lzzxqwx6sg8nz9ca1md7aijg9nrcagrq9sypl53hxn" }, "6.1": { "version": "6.1.139", From 660245dfa89709a3cc7abd516102736fe0905a03 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 20 May 2025 01:13:33 +0200 Subject: [PATCH 16/50] python312Packages.keras: 3.9.2 -> 3.10.0 Diff: https://github.com/keras-team/keras/compare/refs/tags/v3.9.2...refs/tags/v3.10.0 Changelog: https://github.com/keras-team/keras/releases/tag/v3.10.0 --- pkgs/development/python-modules/keras/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/keras/default.nix b/pkgs/development/python-modules/keras/default.nix index dbd00f718c0b..3484f70704d7 100644 --- a/pkgs/development/python-modules/keras/default.nix +++ b/pkgs/development/python-modules/keras/default.nix @@ -35,14 +35,14 @@ buildPythonPackage rec { pname = "keras"; - version = "3.9.2"; + version = "3.10.0"; pyproject = true; src = fetchFromGitHub { owner = "keras-team"; repo = "keras"; tag = "v${version}"; - hash = "sha256-mxQHqApyxO57zo/lK8p9xWEdEgkXF89yX/+pPBUlbwE="; + hash = "sha256-N0RlXnmSYJvD4/a47U4EjMczw1VIyereZoPicjgEkAI="; }; build-system = [ From 64278a1c04cd9917c5e8f1d80f3fa27bf44d378b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 20 May 2025 03:48:47 +0000 Subject: [PATCH 17/50] python3Packages.cypari2: 2.2.1 -> 2.2.2 --- pkgs/development/python-modules/cypari2/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/cypari2/default.nix b/pkgs/development/python-modules/cypari2/default.nix index f51d723ef836..204a3ff1e0d1 100644 --- a/pkgs/development/python-modules/cypari2/default.nix +++ b/pkgs/development/python-modules/cypari2/default.nix @@ -15,12 +15,12 @@ buildPythonPackage rec { pname = "cypari2"; # upgrade may break sage, please test the sage build or ping @timokau on upgrade - version = "2.2.1"; + version = "2.2.2"; format = "setuptools"; src = fetchPypi { inherit pname version; - hash = "sha256-qqAXpqKAWBkC9zz1zhaVcStlmKAyvhTPq4H5fEdfg7g="; + hash = "sha256-E6M4c16iIcEGj4/EFVYb93fYxoclcCvHSVRyZP0JFyA="; }; preBuild = '' From 098a4927a14c776400a77eb8dc7f0606298cf3fc Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 20 May 2025 09:21:48 +0000 Subject: [PATCH 18/50] primesieve: 12.8 -> 12.9 --- pkgs/by-name/pr/primesieve/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/pr/primesieve/package.nix b/pkgs/by-name/pr/primesieve/package.nix index 0aeee779743c..1df45b96c383 100644 --- a/pkgs/by-name/pr/primesieve/package.nix +++ b/pkgs/by-name/pr/primesieve/package.nix @@ -9,13 +9,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "primesieve"; - version = "12.8"; + version = "12.9"; src = fetchFromGitHub { owner = "kimwalisch"; repo = "primesieve"; rev = "v${finalAttrs.version}"; - hash = "sha256-1jy4cfH/z4fwuuonoRHtrKUVNX9mD9A2sBaUTtAUA8M="; + hash = "sha256-xEGpMQ6kxby3nq3RBv6s6ZrTwC9KRKr3II1VQHGaAXk="; }; outputs = [ From e1cea2524edb1835e1317d540169dbc245416d6f Mon Sep 17 00:00:00 2001 From: mourogurt Date: Wed, 14 May 2025 05:38:28 +0300 Subject: [PATCH 19/50] python3Packages.torch: Remove built-in composable_kernel headers search path To make sure it will use headers from provided package. Signed-off-by: mourogurt --- pkgs/development/python-modules/torch/source/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/torch/source/default.nix b/pkgs/development/python-modules/torch/source/default.nix index 560ad2886d4a..46f0e7c1697a 100644 --- a/pkgs/development/python-modules/torch/source/default.nix +++ b/pkgs/development/python-modules/torch/source/default.nix @@ -351,6 +351,11 @@ buildPythonPackage rec { substituteInPlace cmake/public/LoadHIP.cmake \ --replace "set(ROCM_PATH \$ENV{ROCM_PATH})" \ "set(ROCM_PATH \$ENV{ROCM_PATH})''\nset(ROCM_VERSION ${lib.concatStrings (lib.intersperse "0" (lib.splitVersion rocmPackages.clr.version))})" + + # Use composable kernel as dependency, rather than built-in third-party + substituteInPlace aten/src/ATen/CMakeLists.txt \ + --replace-fail "list(APPEND ATen_HIP_INCLUDE \''${CMAKE_CURRENT_SOURCE_DIR}/../../../third_party/composable_kernel/include)" "" \ + --replace-fail "list(APPEND ATen_HIP_INCLUDE \''${CMAKE_CURRENT_SOURCE_DIR}/../../../third_party/composable_kernel/library/include)" "" '' # Detection of NCCL version doesn't work particularly well when using the static binary. + lib.optionalString cudaSupport '' From b3600d5452c5dc00b63465c0049b4ade16833858 Mon Sep 17 00:00:00 2001 From: Tristan Ross Date: Tue, 20 May 2025 20:36:12 -0700 Subject: [PATCH 20/50] doc/rl2511: update allowVariants entry --- doc/release-notes/rl-2511.section.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/release-notes/rl-2511.section.md b/doc/release-notes/rl-2511.section.md index ba2d9f256d34..ca31abb89b9c 100644 --- a/doc/release-notes/rl-2511.section.md +++ b/doc/release-notes/rl-2511.section.md @@ -3,7 +3,7 @@ ## Highlights {#sec-nixpkgs-release-25.11-highlights} -- Added `allowVariants` to gate availability of package sets like `pkgsLLVM`, `pkgsMusl`, `pkgsZig`, etc. +- Added `allowVariants` to gate availability of package sets like `pkgsLLVM`, `pkgsMusl`, `pkgsZig`, etc. This option will be removed in a future release. ## Backward Incompatibilities {#sec-nixpkgs-release-25.11-incompatibilities} From 86fd84d3bf107fb39ed390abf510eebd2aa6017c Mon Sep 17 00:00:00 2001 From: liberodark Date: Wed, 21 May 2025 15:03:43 +0200 Subject: [PATCH 21/50] matrix-conduit: 0.9.0 -> 0.10.3 --- pkgs/by-name/ma/matrix-conduit/package.nix | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/pkgs/by-name/ma/matrix-conduit/package.nix b/pkgs/by-name/ma/matrix-conduit/package.nix index 16d1ad758aa3..21d404adadde 100644 --- a/pkgs/by-name/ma/matrix-conduit/package.nix +++ b/pkgs/by-name/ma/matrix-conduit/package.nix @@ -10,23 +10,23 @@ rust-jemalloc-sys, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "matrix-conduit"; - version = "0.9.0"; + version = "0.10.3"; src = fetchFromGitLab { owner = "famedly"; repo = "conduit"; - rev = "v${version}"; - hash = "sha256-mQLfRAun2G/LDnw3jyFGJbOqpxh2PL8IGzFELRfAgAI="; + rev = "v${finalAttrs.version}"; + hash = "sha256-cLPfgRchYLJXA13Xr1Yg3v+O/7SvxWYIAxaKvnsm7HM="; }; useFetchCargoVendor = true; - cargoHash = "sha256-r7fOzTug0cKQUGrpXDn1JKb6/lLQDgnA3/colmldA4c="; + cargoHash = "sha256-i/x6V/0WgMUuZoG8znREmAnLqw/9lYPk4F5i2SA5mmo="; # Conduit enables rusqlite's bundled feature by default, but we'd rather use our copy of SQLite. preBuild = '' - substituteInPlace Cargo.toml --replace "features = [\"bundled\"]" "features = []" + substituteInPlace Cargo.toml --replace-fail "features = [\"bundled\"]" "features = []" cargo update --offline -p rusqlite ''; @@ -38,6 +38,7 @@ rustPlatform.buildRustPackage rec { buildInputs = [ sqlite rust-jemalloc-sys + rocksdb ]; env = { @@ -52,14 +53,14 @@ rustPlatform.buildRustPackage rec { inherit (nixosTests) matrix-conduit; }; - meta = with lib; { + meta = { description = "Matrix homeserver written in Rust"; homepage = "https://conduit.rs/"; - license = licenses.asl20; - maintainers = with maintainers; [ + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ pstn pimeys ]; mainProgram = "conduit"; }; -} +}) From c2f925d5a19d4d25df4580ceb133eb03f02eee70 Mon Sep 17 00:00:00 2001 From: liberodark Date: Wed, 21 May 2025 15:33:54 +0200 Subject: [PATCH 22/50] rocksdb: 9.10.0 -> 10.2.1 --- pkgs/by-name/ro/rocksdb/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ro/rocksdb/package.nix b/pkgs/by-name/ro/rocksdb/package.nix index 25553a5cf641..7de08a69dbae 100644 --- a/pkgs/by-name/ro/rocksdb/package.nix +++ b/pkgs/by-name/ro/rocksdb/package.nix @@ -20,13 +20,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "rocksdb"; - version = "9.10.0"; + version = "10.2.1"; src = fetchFromGitHub { owner = "facebook"; repo = "rocksdb"; rev = "v${finalAttrs.version}"; - hash = "sha256-G+DlQwEUyd7JOCjS1Hg1cKWmA/qAiK8UpUIKcP+riGQ="; + hash = "sha256-v8kZShgz0O3nHZwWjTvhcM56qAs/le1XgMVYyvVd4tg="; }; patches = lib.optional ( From fd7165462c810f1e07366ca930e83d2c5042c229 Mon Sep 17 00:00:00 2001 From: maralorn Date: Wed, 21 May 2025 20:25:47 +0200 Subject: [PATCH 23/50] doc/rl-2505: Add deprecation warning for removal of GHC versions. --- doc/release-notes/rl-2505.section.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/release-notes/rl-2505.section.md b/doc/release-notes/rl-2505.section.md index fb46f6ac04d6..4c741405c117 100644 --- a/doc/release-notes/rl-2505.section.md +++ b/doc/release-notes/rl-2505.section.md @@ -17,6 +17,7 @@ - The default GHC version has been updated from 9.6 to 9.8. `haskellPackages` also uses Stackage LTS 23 (instead of LTS 22) as a baseline. + We aim to remove the old GHC versions 8.10, 9.0 and 9.2 in the next release in accordance with [the new GHC deprecation policy](https://discourse.nixos.org/t/nixpkgs-ghc-deprecation-policy-user-feedback-necessary/64153). - LLVM has been updated from LLVM 16 (on Darwin) and LLVM 18 (on other platforms) to LLVM 19. This introduces some backwards‐incompatible changes; see the [upstream release notes](https://releases.llvm.org/) for details. From 2844ea446c9f2c2171a23bee4f4bc097c37a43f6 Mon Sep 17 00:00:00 2001 From: liberodark Date: Fri, 16 May 2025 10:22:23 +0200 Subject: [PATCH 24/50] rlama: 0.1.30 -> 0.1.36 --- pkgs/by-name/rl/rlama/package.nix | 49 +++++++++++++++++++++++-------- 1 file changed, 37 insertions(+), 12 deletions(-) diff --git a/pkgs/by-name/rl/rlama/package.nix b/pkgs/by-name/rl/rlama/package.nix index b873f5e60f1e..4a519c9bbc54 100644 --- a/pkgs/by-name/rl/rlama/package.nix +++ b/pkgs/by-name/rl/rlama/package.nix @@ -3,27 +3,28 @@ buildGoModule, fetchFromGitHub, pkg-config, - makeWrapper, + makeBinaryWrapper, poppler-utils, tesseract, catdoc, + unrtf, python3Packages, - versionCheckHook, nix-update-script, + writableTmpDirAsHomeHook, }: -buildGoModule rec { +buildGoModule (finalAttrs: { pname = "rlama"; - version = "0.1.30"; + version = "0.1.36"; src = fetchFromGitHub { owner = "dontizi"; repo = "rlama"; - tag = "v${version}"; - hash = "sha256-J4FTRWQfdmWXMhlwINQgqj7sCvF3+0YZwcZFW8y1CgY="; + tag = "v${finalAttrs.version}"; + hash = "sha256-SzrnpAkh+SMzF9xOAxZXondRulwPRUZYHrhe3rf06bA="; }; - vendorHash = "sha256-XZVMnkv+WqUqM6jbgrO3P5CSDACH3vLFJ4Y79EOnD08="; + vendorHash = "sha256-GHmLCgL79BdGw/5zz50Y1kR/6JYNalvOj2zjIHQ9IF0="; env.CGO_ENABLED = "0"; @@ -34,9 +35,18 @@ buildGoModule rec { nativeBuildInputs = [ pkg-config - makeWrapper + makeBinaryWrapper ]; + # Run only unit tests for core packages; skip e2e tests that require Ollama + checkPhase = '' + runHook preCheck + + go test -v ./internal/domain/... ./pkg/vector/... ./internal/repository/... + + runHook postCheck + ''; + postInstall = '' wrapProgram $out/bin/rlama \ --prefix PATH : ${ @@ -44,18 +54,33 @@ buildGoModule rec { poppler-utils tesseract catdoc + unrtf python3Packages.pdfminer-six python3Packages.docx2txt python3Packages.xlsx2csv + python3Packages.torch + python3Packages.transformers ] } ''; nativeInstallCheckInputs = [ - versionCheckHook + writableTmpDirAsHomeHook ]; - versionCheckProgramArg = "--version"; + doInstallCheck = true; + installCheckPhase = '' + runHook preInstallCheck + + VERSION=$($out/bin/rlama --version | grep -o "${finalAttrs.version}" || true) + if [ -z "$VERSION" ]; then + echo "Version check failed: expected ${finalAttrs.version}, got: $($out/bin/rlama --version)" + else + echo "$VERSION" + fi + + runHook postInstallCheck + ''; passthru = { updateScript = nix-update-script { }; @@ -64,9 +89,9 @@ buildGoModule rec { meta = { description = "Retrieval-Augmented Language Model Adapter"; homepage = "https://github.com/dontizi/rlama"; - changelog = "https://github.com/dontizi/rlama/releases/tag/v${version}"; + changelog = "https://github.com/dontizi/rlama/releases/tag/v${finalAttrs.version}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ liberodark ]; mainProgram = "rlama"; }; -} +}) From cac00e25c3213fc7d679c197cc47435ebc75405f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 21 May 2025 14:12:34 -0700 Subject: [PATCH 25/50] python3Packages.elevenlabs: 1.59.0 -> 2.0.0 Diff: https://github.com/elevenlabs/elevenlabs-python/compare/refs/tags/v1.59.0...refs/tags/v2.0.0 Changelog: https://github.com/elevenlabs/elevenlabs-python/releases/tag/v2.0.0 --- pkgs/development/python-modules/elevenlabs/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/elevenlabs/default.nix b/pkgs/development/python-modules/elevenlabs/default.nix index b170773f3ada..970f98c7cbed 100644 --- a/pkgs/development/python-modules/elevenlabs/default.nix +++ b/pkgs/development/python-modules/elevenlabs/default.nix @@ -4,6 +4,7 @@ httpx, lib, poetry-core, + pyaudio, pydantic, pydantic-core, requests, @@ -12,7 +13,7 @@ }: let - version = "1.59.0"; + version = "2.0.0"; tag = "v${version}"; in buildPythonPackage { @@ -24,7 +25,7 @@ buildPythonPackage { owner = "elevenlabs"; repo = "elevenlabs-python"; inherit tag; - hash = "sha256-d1QnBAMTOlOlApHYAKt0fG7zV+3enIVkg78ShyrL6kM="; + hash = "sha256-QiV/B0ikXxEGs9UQUeqkPqdgxPwQi6UQ+tj6KT30Rv8="; }; build-system = [ poetry-core ]; @@ -38,6 +39,10 @@ buildPythonPackage { websockets ]; + optional-dependencies = { + pyaudio = [ pyaudio ]; + }; + pythonImportsCheck = [ "elevenlabs" ]; # tests access the API on the internet From 6f2b67972ccce40e0e79314ab1b13f5026d684f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 21 May 2025 14:27:24 -0700 Subject: [PATCH 26/50] python3Packages.fritzconnection: 1.14.0 -> 1.15.0 Diff: https://github.com/kbr/fritzconnection/compare/refs/tags/1.14.0...refs/tags/1.15.0 Changelog: https://fritzconnection.readthedocs.io/en/1.15.0/sources/version_history.html --- .../development/python-modules/fritzconnection/default.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/fritzconnection/default.nix b/pkgs/development/python-modules/fritzconnection/default.nix index bbe9256db345..3983f49256a2 100644 --- a/pkgs/development/python-modules/fritzconnection/default.nix +++ b/pkgs/development/python-modules/fritzconnection/default.nix @@ -1,7 +1,6 @@ { lib, buildPythonPackage, - pythonOlder, fetchFromGitHub, pytestCheckHook, requests, @@ -11,16 +10,14 @@ buildPythonPackage rec { pname = "fritzconnection"; - version = "1.14.0"; + version = "1.15.0"; pyproject = true; - disabled = pythonOlder "3.7"; - src = fetchFromGitHub { owner = "kbr"; repo = "fritzconnection"; tag = version; - hash = "sha256-1LLfSEOKqUIhWIR/RQEG0Bp41d908hAKDlslJlWCHys="; + hash = "sha256-ulY+nh9CSnxrktTlFSXAWJALkS4GwP/3dRIG07jQCWs="; }; build-system = [ setuptools ]; From ca906d7cb7c24d81f86ee91fd7ece2b3568d027f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 21 May 2025 19:32:27 -0700 Subject: [PATCH 27/50] pagefind: fix --version output --- pkgs/applications/misc/pagefind/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/applications/misc/pagefind/default.nix b/pkgs/applications/misc/pagefind/default.nix index fd8505d21977..bbfc5b7e51ac 100644 --- a/pkgs/applications/misc/pagefind/default.nix +++ b/pkgs/applications/misc/pagefind/default.nix @@ -65,7 +65,12 @@ rustPlatform.buildRustPackage rec { hash = "sha256-xFVMWX3q3za1w8v58Eysk6vclPd4qpCuQMjMcwwHoh0="; }; + env.GIT_VERSION = version; + postPatch = '' + # Set the correct version, e.g. for `pagefind --version` + node .backstage/version.cjs + # Tricky way to run npmConfigHook multiple times ( local postPatchHooks=() # written to by npmConfigHook From 1b85f21c1cb41a548e942d7ba52a9fb1f14cf723 Mon Sep 17 00:00:00 2001 From: liberodark Date: Thu, 22 May 2025 14:05:15 +0200 Subject: [PATCH 28/50] stalwart-mail: add allow networking for darwnin --- pkgs/by-name/st/stalwart-mail/package.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/st/stalwart-mail/package.nix b/pkgs/by-name/st/stalwart-mail/package.nix index 0a9ed8b7d733..a6aea418ca01 100644 --- a/pkgs/by-name/st/stalwart-mail/package.nix +++ b/pkgs/by-name/st/stalwart-mail/package.nix @@ -18,14 +18,14 @@ stalwartEnterprise ? false, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "stalwart-mail" + (lib.optionalString stalwartEnterprise "-enterprise"); version = "0.11.8"; src = fetchFromGitHub { owner = "stalwartlabs"; repo = "mail-server"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-VqGosbSQxNeOS+kGtvXAmz6vyz5mJlXvKZM57B1Xue4="; }; @@ -147,6 +147,9 @@ rustPlatform.buildRustPackage rec { doCheck = !(stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64); + # Allow network access during tests on Darwin/macOS + __darwinAllowLocalNetworking = true; + passthru = { inherit rocksdb; # make used rocksdb version available (e.g., for backup scripts) webadmin = callPackage ./webadmin.nix { }; @@ -176,4 +179,4 @@ rustPlatform.buildRustPackage rec { pandapip1 ]; }; -} +}) From ac5ce607cc35ecb76fbb0fe026e7ee67d51281f2 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 22 May 2025 17:17:50 +0000 Subject: [PATCH 29/50] python3Packages.rich-click: 1.8.8 -> 1.8.9 --- pkgs/development/python-modules/rich-click/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/rich-click/default.nix b/pkgs/development/python-modules/rich-click/default.nix index 343a2d6c51cd..132277be5992 100644 --- a/pkgs/development/python-modules/rich-click/default.nix +++ b/pkgs/development/python-modules/rich-click/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "rich-click"; - version = "1.8.8"; + version = "1.8.9"; pyproject = true; disabled = pythonOlder "3.8"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "ewels"; repo = "rich-click"; tag = "v${version}"; - hash = "sha256-938YQMpq7v2iGNVoaVU1H2nuTmteZwKDfZI3anfrpcw="; + hash = "sha256-uFb4Pcor9o4BPM/xx/sAKu9DoXvGO/RZg/3dVhbjgk0="; }; build-system = [ setuptools ]; From ba7e1d75dd3f6d049e3e4e12622d289d9c407edb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 22 May 2025 10:51:27 -0700 Subject: [PATCH 30/50] pagefind: add versionCheckHook --- pkgs/applications/misc/pagefind/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/applications/misc/pagefind/default.nix b/pkgs/applications/misc/pagefind/default.nix index bbfc5b7e51ac..7d2864a4de2b 100644 --- a/pkgs/applications/misc/pagefind/default.nix +++ b/pkgs/applications/misc/pagefind/default.nix @@ -12,6 +12,7 @@ npmHooks, python3, rustc, + versionCheckHook, wasm-bindgen-cli_0_2_92, wasm-pack, }: @@ -168,6 +169,12 @@ rustPlatform.buildRustPackage rec { buildFeatures = [ "extended" ]; + doInstallCheck = true; + + nativeInstallCheckInputs = [ + versionCheckHook + ]; + meta = { description = "Generate low-bandwidth search index for your static website"; homepage = "https://pagefind.app/"; From 9be97d3de7eeeff251aa1470ce4935d5d702eb3f Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Wed, 21 May 2025 14:51:35 -0400 Subject: [PATCH 31/50] golly: fix build on darwin --- .../science/misc/golly/default.nix | 45 ++++++++++++++----- 1 file changed, 33 insertions(+), 12 deletions(-) diff --git a/pkgs/applications/science/misc/golly/default.nix b/pkgs/applications/science/misc/golly/default.nix index 81952f1c2ff2..ed983b878d40 100644 --- a/pkgs/applications/science/misc/golly/default.nix +++ b/pkgs/applications/science/misc/golly/default.nix @@ -11,13 +11,13 @@ libX11, SDL2, }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "golly"; version = "4.3"; src = fetchurl { hash = "sha256-UdJHgGPn7FDN4rYTgfPBAoYE5FGC43TP8OFBmYIqCB0="; - url = "mirror://sourceforge/project/golly/golly/golly-${version}/golly-${version}-src.tar.gz"; + url = "mirror://sourceforge/project/golly/golly/golly-${finalAttrs.version}/golly-${finalAttrs.version}-src.tar.gz"; }; buildInputs = [ @@ -35,25 +35,40 @@ stdenv.mkDerivation rec { wrapGAppsHook3 ]; + # fails nondeterministically on darwin + enableParallelBuilding = false; + setSourceRoot = '' sourceRoot=$(echo */gui-wx) ''; - postPatch = '' - sed -e 's@PYTHON_SHLIB@${python3}/lib/libpython3.so@' -i wxprefs.cpp - ! grep _SHLIB *.cpp - - grep /lib/libpython wxprefs.cpp - ''; + postPatch = + '' + substituteInPlace wxprefs.cpp \ + --replace-fail 'PYTHON_SHLIB' '${python3}/lib/libpython3.so' + '' + + lib.optionalString stdenv.hostPlatform.isDarwin '' + substituteInPlace makefile-gtk \ + --replace-fail '-Wl,--as-needed' "" \ + --replace-fail '-lGL ' "" \ + --replace-fail '-lGLU' "" + ''; makeFlags = [ "-f" "makefile-gtk" "ENABLE_SOUND=1" "GOLLYDIR=${placeholder "out"}/share/golly" + "CC=${stdenv.cc.targetPrefix}cc" + "CXX=${stdenv.cc.targetPrefix}c++" + "CXXC=${stdenv.cc.targetPrefix}c++" + "LD=${stdenv.cc.targetPrefix}c++" + "WX_CONFIG=${lib.getExe' (lib.getDev wxGTK) "wx-config"}" ]; installPhase = '' + runHook preInstall + mkdir -p "$out/bin" cp ../golly ../bgolly "$out/bin" @@ -62,13 +77,19 @@ stdenv.mkDerivation rec { mkdir -p "$out/share/golly" cp -r ../{Help,Patterns,Scripts,Rules} "$out/share/golly" + + runHook postInstall ''; meta = { description = "Cellular automata simulation program"; - license = lib.licenses.gpl2; - maintainers = [ lib.maintainers.raskin ]; - platforms = lib.platforms.linux; + license = lib.licenses.gpl2Plus; + maintainers = with lib.maintainers; [ + raskin + siraben + ]; + platforms = lib.platforms.unix; + homepage = "https://golly.sourceforge.io/"; downloadPage = "https://sourceforge.net/projects/golly/files/golly"; }; -} +}) From 06ac85fdd2e4cdb245eafc30170f1340c4447707 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Fri, 16 May 2025 17:10:26 -0700 Subject: [PATCH 32/50] python3Packages.firebase-admin: test fixes --- .../python-modules/firebase-admin/default.nix | 21 ++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/firebase-admin/default.nix b/pkgs/development/python-modules/firebase-admin/default.nix index cc88966e4478..4d87e969cec1 100644 --- a/pkgs/development/python-modules/firebase-admin/default.nix +++ b/pkgs/development/python-modules/firebase-admin/default.nix @@ -4,7 +4,6 @@ buildPythonPackage, fetchFromGitHub, setuptools, - hatchling, cachecontrol, cryptography, google-api-python-client, @@ -13,6 +12,7 @@ pyjwt, requests, pytestCheckHook, + pytest-asyncio, pytest-localserver, pytest-mock, }: @@ -43,18 +43,25 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook + pytest-asyncio pytest-localserver pytest-mock ]; __darwinAllowLocalNetworking = true; - disabledTests = [ - # Flaky (AssertionError) - # > assert delta <= timedelta(seconds=15) - # E assert datetime.timedelta(seconds=17, microseconds=28239) <= datetime.timedelta(seconds=15) - "test_task_options" - ]; + disabledTests = + [ + # Flaky (AssertionError) + # > assert delta <= timedelta(seconds=15) + # E assert datetime.timedelta(seconds=17, microseconds=28239) <= datetime.timedelta(seconds=15) + "test_task_options" + ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ + # Flaky / timing sensitive + "test_expired_cookie_with_tolerance" + "test_expired_token_with_tolerance" + ]; meta = { description = "Firebase Admin Python SDK"; From f94efea4785580e17f2d8eded9f6f2b6007472c1 Mon Sep 17 00:00:00 2001 From: liberodark Date: Thu, 22 May 2025 20:29:33 +0200 Subject: [PATCH 33/50] {rocksdb, matrix-conduit}: switch to tag --- pkgs/by-name/ma/matrix-conduit/package.nix | 2 +- pkgs/by-name/ro/rocksdb/package.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ma/matrix-conduit/package.nix b/pkgs/by-name/ma/matrix-conduit/package.nix index 21d404adadde..73330660f105 100644 --- a/pkgs/by-name/ma/matrix-conduit/package.nix +++ b/pkgs/by-name/ma/matrix-conduit/package.nix @@ -17,7 +17,7 @@ rustPlatform.buildRustPackage (finalAttrs: { src = fetchFromGitLab { owner = "famedly"; repo = "conduit"; - rev = "v${finalAttrs.version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-cLPfgRchYLJXA13Xr1Yg3v+O/7SvxWYIAxaKvnsm7HM="; }; diff --git a/pkgs/by-name/ro/rocksdb/package.nix b/pkgs/by-name/ro/rocksdb/package.nix index 7de08a69dbae..c2df5b1fc69c 100644 --- a/pkgs/by-name/ro/rocksdb/package.nix +++ b/pkgs/by-name/ro/rocksdb/package.nix @@ -25,7 +25,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchFromGitHub { owner = "facebook"; repo = "rocksdb"; - rev = "v${finalAttrs.version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-v8kZShgz0O3nHZwWjTvhcM56qAs/le1XgMVYyvVd4tg="; }; From b1b2b9ff7be88eb13528448b490a9d5cf74ee1a4 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 22 May 2025 18:59:26 +0000 Subject: [PATCH 34/50] python3Packages.pymilvus: 2.5.8 -> 2.5.9 --- pkgs/development/python-modules/pymilvus/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pymilvus/default.nix b/pkgs/development/python-modules/pymilvus/default.nix index c4717e7e1f36..3f9875101fbb 100644 --- a/pkgs/development/python-modules/pymilvus/default.nix +++ b/pkgs/development/python-modules/pymilvus/default.nix @@ -23,14 +23,14 @@ buildPythonPackage rec { pname = "pymilvus"; - version = "2.5.8"; + version = "2.5.9"; pyproject = true; src = fetchFromGitHub { owner = "milvus-io"; repo = "pymilvus"; tag = "v${version}"; - hash = "sha256-AsbUt5dyVsrbWYzjsqe7bMs4E/npkKTetfHrDK4kt6I="; + hash = "sha256-x9qAZay5DoNyfQOpzjfy7/3cyjHwEJiQ441Y+sRyGLw="; }; build-system = [ From fee23863f04e8b495e4f80cd9a86926df3120fc1 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Thu, 22 May 2025 21:27:45 +0200 Subject: [PATCH 35/50] ruff: 0.11.10 -> 0.11.11 Diff: https://github.com/astral-sh/ruff/compare/refs/tags/0.11.10...refs/tags/0.11.11 Changelog: https://github.com/astral-sh/ruff/releases/tag/0.11.11 --- pkgs/by-name/ru/ruff/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ru/ruff/package.nix b/pkgs/by-name/ru/ruff/package.nix index 617c53f2f3b1..c78d0bb75bbd 100644 --- a/pkgs/by-name/ru/ruff/package.nix +++ b/pkgs/by-name/ru/ruff/package.nix @@ -16,19 +16,19 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "ruff"; - version = "0.11.10"; + version = "0.11.11"; src = fetchFromGitHub { owner = "astral-sh"; repo = "ruff"; tag = finalAttrs.version; - hash = "sha256-8psRFBhOzcFYYOU1aLf2tQwSZeWyn3TjUtfMR8HJ4FE="; + hash = "sha256-PPryfsdge0kOb7RyEkGl7c3pFucRzt0+9tACet3nDGM="; }; cargoBuildFlags = [ "--package=ruff" ]; useFetchCargoVendor = true; - cargoHash = "sha256-KwTqm345bRwn5PXn/bTakiBNNjJCIstkXGpqtyCiK4k="; + cargoHash = "sha256-LAEuoGTvSXXtx74t1OX+TaGxgvI8UAB3bM+fwiSfFws="; nativeBuildInputs = [ installShellFiles ]; From d7f0ceb8bf27960980c215da4da9aad1357e619b Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Thu, 22 May 2025 21:30:39 +0200 Subject: [PATCH 36/50] python312Packages.transformers: 4.52.2 -> 4.52.3 Diff: https://github.com/huggingface/transformers/compare/refs/tags/v4.52.2...refs/tags/v4.52.3 Changelog: https://github.com/huggingface/transformers/releases/tag/v4.52.3 --- pkgs/development/python-modules/transformers/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/transformers/default.nix b/pkgs/development/python-modules/transformers/default.nix index c174a6c6986f..b3da1a43d6d2 100644 --- a/pkgs/development/python-modules/transformers/default.nix +++ b/pkgs/development/python-modules/transformers/default.nix @@ -58,14 +58,14 @@ buildPythonPackage rec { pname = "transformers"; - version = "4.52.2"; + version = "4.52.3"; pyproject = true; src = fetchFromGitHub { owner = "huggingface"; repo = "transformers"; tag = "v${version}"; - hash = "sha256-fSU6xXNKl465QvEbAy+LsleIi/I2hWXF0Q4HBaKtXoU="; + hash = "sha256-esKAw2zie0xtDWYEx+xAYnx9oCO9UEWH9lSTIJoUTaw="; }; build-system = [ setuptools ]; From e9bb9b49a71b9867269c067f0c415982a786b7c1 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 22 May 2025 19:48:09 +0000 Subject: [PATCH 37/50] open62541pp: 0.18.0 -> 0.19.0 --- pkgs/by-name/op/open62541pp/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/op/open62541pp/package.nix b/pkgs/by-name/op/open62541pp/package.nix index b5b992408db1..25805f576606 100644 --- a/pkgs/by-name/op/open62541pp/package.nix +++ b/pkgs/by-name/op/open62541pp/package.nix @@ -8,13 +8,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "open62541pp"; - version = "0.18.0"; + version = "0.19.0"; src = fetchFromGitHub { owner = "open62541pp"; repo = "open62541pp"; rev = "v${finalAttrs.version}"; - hash = "sha256-xFiL+biDETGNwWzbTcfAi3GF1Dj9vvXEj2wJ+GoFz1Q="; + hash = "sha256-aXEYGSwVYr9+mTE7ZF9xFA990k1qrKlV+1KvHz/fB6U="; }; cmakeFlags = [ From c4d2f7242ff3925b8fbb34ba05a85cf98da29de5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 22 May 2025 12:34:31 -0700 Subject: [PATCH 38/50] python3Packages.cx-freeze: 8.2.0 -> 8.3.0 Diff: https://github.com/marcelotduarte/cx_Freeze/compare/refs/tags/8.2.0...refs/tags/8.3.0 Changelog: https://github.com/marcelotduarte/cx_Freeze/releases/tag/8.3.0 --- .../python-modules/cx-freeze/default.nix | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/cx-freeze/default.nix b/pkgs/development/python-modules/cx-freeze/default.nix index 7d56ee98f2c8..161bd77a5c76 100644 --- a/pkgs/development/python-modules/cx-freeze/default.nix +++ b/pkgs/development/python-modules/cx-freeze/default.nix @@ -11,7 +11,6 @@ filelock, packaging, tomli, - typing-extensions, distutils, pythonOlder, @@ -29,14 +28,14 @@ buildPythonPackage rec { pname = "cx-freeze"; - version = "8.2.0"; + version = "8.3.0"; pyproject = true; src = fetchFromGitHub { owner = "marcelotduarte"; repo = "cx_Freeze"; tag = version; - hash = "sha256-xrSMW7z3XblwAuaC18Rju/XuBZvU+5+xAW+MO6u32EE="; + hash = "sha256-PhUzHSn9IqUcb11D0kRT8zhmZ/KusTBDpAempiDN4Rc="; }; patches = [ @@ -45,6 +44,11 @@ buildPythonPackage rec { ./fix-tests-relative-path.patch ]; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail "setuptools>=77.0.3,<=80.4.0" "setuptools>=77.0.3" + ''; + build-system = [ setuptools ]; @@ -63,9 +67,6 @@ buildPythonPackage rec { ++ lib.optionals (pythonOlder "3.11") [ tomli ] - ++ lib.optionals (pythonOlder "3.10") [ - typing-extensions - ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ dmgbuild ]; @@ -97,6 +98,7 @@ buildPythonPackage rec { disabledTests = [ # Require internet access + "test_bdist_appimage_download_appimagetool" "test_bdist_appimage_target_name" "test_bdist_appimage_target_name_and_version" "test_bdist_appimage_target_name_and_version_none" @@ -150,7 +152,7 @@ buildPythonPackage rec { meta = { description = "Set of scripts and modules for freezing Python scripts into executables"; homepage = "https://marcelotduarte.github.io/cx_Freeze"; - changelog = "https://github.com/marcelotduarte/cx_Freeze/releases/tag/${version}"; + changelog = "https://github.com/marcelotduarte/cx_Freeze/releases/tag/${src.tag}"; license = lib.licenses.psfl; maintainers = [ ]; mainProgram = "cxfreeze"; From 15cd587efe1564f4c95f5cdcd9713cb3c2f4a6f6 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 22 May 2025 20:13:31 +0000 Subject: [PATCH 39/50] fleet: 4.67.3 -> 4.68.0 --- pkgs/by-name/fl/fleet/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/fl/fleet/package.nix b/pkgs/by-name/fl/fleet/package.nix index ce3a0ead609e..a3e25fa41989 100644 --- a/pkgs/by-name/fl/fleet/package.nix +++ b/pkgs/by-name/fl/fleet/package.nix @@ -7,15 +7,15 @@ buildGoModule (finalAttrs: { pname = "fleet"; - version = "4.67.3"; + version = "4.68.0"; src = fetchFromGitHub { owner = "fleetdm"; repo = "fleet"; tag = "fleet-v${finalAttrs.version}"; - hash = "sha256-d574YSeMbb/+1wxEMAN0URfpb58NpG8NuOHGQs0GyLk="; + hash = "sha256-C+rIRbeCdfQIAfAXSbvCGBFl16e7HhHPvNdJhLY82z8="; }; - vendorHash = "sha256-UkdHwjCcxNX7maI4QClLm5WWaLXwGlEu80eZXVoYy60="; + vendorHash = "sha256-ZdkpgZbXchDp5kiEgCsSsd3/ltltSRjOuTPOhiBEloc="; subPackages = [ "cmd/fleet" From c06ae645ac68d4ccf8ee7d5bfbc86ab802127b64 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 22 May 2025 20:14:46 +0000 Subject: [PATCH 40/50] vectorcode: 0.6.7 -> 0.6.9 --- pkgs/by-name/ve/vectorcode/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ve/vectorcode/package.nix b/pkgs/by-name/ve/vectorcode/package.nix index 2a422966a661..f508695954d2 100644 --- a/pkgs/by-name/ve/vectorcode/package.nix +++ b/pkgs/by-name/ve/vectorcode/package.nix @@ -10,14 +10,14 @@ python3Packages.buildPythonApplication rec { pname = "vectorcode"; - version = "0.6.7"; + version = "0.6.9"; pyproject = true; src = fetchFromGitHub { owner = "Davidyz"; repo = "VectorCode"; tag = version; - hash = "sha256-BDDvALeQSBVld2gEmcnlpf3GDpdEs64nFyE6cNKpeww="; + hash = "sha256-qXrXNt5uI/gePFyJ79y+zksSekq7BzsbL+1tvMQ/zKM="; }; build-system = with python3Packages; [ @@ -95,7 +95,7 @@ python3Packages.buildPythonApplication rec { meta = { description = "Code repository indexing tool to supercharge your LLM experience"; homepage = "https://github.com/Davidyz/VectorCode"; - changelog = "https://github.com/Davidyz/VectorCode/releases/tag/${version}"; + changelog = "https://github.com/Davidyz/VectorCode/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ GaetanLepage ]; mainProgram = "vectorcode"; From cff20563e7ff81a08f87d8f8da153ce0c7e46cdb Mon Sep 17 00:00:00 2001 From: Defelo Date: Thu, 22 May 2025 22:00:23 +0200 Subject: [PATCH 41/50] tailwindcss-language-server: remove unnecessary `let ... in` --- pkgs/by-name/ta/tailwindcss-language-server/package.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/pkgs/by-name/ta/tailwindcss-language-server/package.nix b/pkgs/by-name/ta/tailwindcss-language-server/package.nix index 2a3d43c70141..93891d2194c6 100644 --- a/pkgs/by-name/ta/tailwindcss-language-server/package.nix +++ b/pkgs/by-name/ta/tailwindcss-language-server/package.nix @@ -7,12 +7,9 @@ cacert, }: -let - version = "0.14.4"; -in stdenv.mkDerivation (finalAttrs: { pname = "tailwindcss-language-server"; - inherit version; + version = "0.14.4"; src = fetchFromGitHub { owner = "tailwindlabs"; @@ -37,9 +34,7 @@ stdenv.mkDerivation (finalAttrs: { pnpm_9.configHook ]; - buildInputs = [ - nodejs_latest - ]; + buildInputs = [ nodejs_latest ]; pnpmWorkspaces = [ "@tailwindcss/language-server..." ]; prePnpmInstall = '' From 78757becf51bb2ed1bf4eae02a97a958a996ced8 Mon Sep 17 00:00:00 2001 From: Defelo Date: Thu, 22 May 2025 22:00:23 +0200 Subject: [PATCH 42/50] tailwindcss-language-server: use `tag` in `fetchFromGitHub` --- pkgs/by-name/ta/tailwindcss-language-server/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/ta/tailwindcss-language-server/package.nix b/pkgs/by-name/ta/tailwindcss-language-server/package.nix index 93891d2194c6..8b383fed284c 100644 --- a/pkgs/by-name/ta/tailwindcss-language-server/package.nix +++ b/pkgs/by-name/ta/tailwindcss-language-server/package.nix @@ -14,7 +14,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchFromGitHub { owner = "tailwindlabs"; repo = "tailwindcss-intellisense"; - rev = "v${finalAttrs.version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-ZSKvD0OnI+/i5MHHlrgYbcaa8g95fVwjb2oryaEParQ="; }; From daf39086b7170b7fd1d24c6e81bdf5484e30de36 Mon Sep 17 00:00:00 2001 From: Defelo Date: Thu, 22 May 2025 22:00:23 +0200 Subject: [PATCH 43/50] tailwindcss-language-server: remove `with lib;` --- pkgs/by-name/ta/tailwindcss-language-server/package.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/ta/tailwindcss-language-server/package.nix b/pkgs/by-name/ta/tailwindcss-language-server/package.nix index 8b383fed284c..a7c273320809 100644 --- a/pkgs/by-name/ta/tailwindcss-language-server/package.nix +++ b/pkgs/by-name/ta/tailwindcss-language-server/package.nix @@ -65,12 +65,12 @@ stdenv.mkDerivation (finalAttrs: { runHook postInstall ''; - meta = with lib; { + meta = { description = "Tailwind CSS Language Server"; homepage = "https://github.com/tailwindlabs/tailwindcss-intellisense"; - license = licenses.mit; - maintainers = with maintainers; [ happysalada ]; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ happysalada ]; mainProgram = "tailwindcss-language-server"; - platforms = platforms.all; + platforms = lib.platforms.all; }; }) From 3a93bd941f0b281e848e7ff977657466a66c1b46 Mon Sep 17 00:00:00 2001 From: Defelo Date: Thu, 22 May 2025 22:00:23 +0200 Subject: [PATCH 44/50] tailwindcss-language-server: add `meta.changelog` --- pkgs/by-name/ta/tailwindcss-language-server/package.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/by-name/ta/tailwindcss-language-server/package.nix b/pkgs/by-name/ta/tailwindcss-language-server/package.nix index a7c273320809..b2e005de45e6 100644 --- a/pkgs/by-name/ta/tailwindcss-language-server/package.nix +++ b/pkgs/by-name/ta/tailwindcss-language-server/package.nix @@ -68,6 +68,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { description = "Tailwind CSS Language Server"; homepage = "https://github.com/tailwindlabs/tailwindcss-intellisense"; + changelog = "https://github.com/tailwindlabs/tailwindcss-intellisense/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ happysalada ]; mainProgram = "tailwindcss-language-server"; From caee17bb68568782bef951a46a8d704bffdaf9ed Mon Sep 17 00:00:00 2001 From: Defelo Date: Thu, 22 May 2025 21:54:00 +0200 Subject: [PATCH 45/50] tailwindcss-language-server: add `passthru.updateScript` --- pkgs/by-name/ta/tailwindcss-language-server/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/ta/tailwindcss-language-server/package.nix b/pkgs/by-name/ta/tailwindcss-language-server/package.nix index b2e005de45e6..d3724f541148 100644 --- a/pkgs/by-name/ta/tailwindcss-language-server/package.nix +++ b/pkgs/by-name/ta/tailwindcss-language-server/package.nix @@ -5,6 +5,7 @@ nodejs_latest, pnpm_9, cacert, + nix-update-script, }: stdenv.mkDerivation (finalAttrs: { @@ -65,6 +66,8 @@ stdenv.mkDerivation (finalAttrs: { runHook postInstall ''; + passthru.updateScript = nix-update-script { }; + meta = { description = "Tailwind CSS Language Server"; homepage = "https://github.com/tailwindlabs/tailwindcss-intellisense"; From 3b49b30d3e0658955e86aac3ead0fd8cbf03d0bc Mon Sep 17 00:00:00 2001 From: Defelo Date: Thu, 22 May 2025 20:13:10 +0000 Subject: [PATCH 46/50] tailwindcss-language-server: 0.14.4 -> 0.14.18 --- pkgs/by-name/ta/tailwindcss-language-server/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ta/tailwindcss-language-server/package.nix b/pkgs/by-name/ta/tailwindcss-language-server/package.nix index d3724f541148..75deeb6f8a53 100644 --- a/pkgs/by-name/ta/tailwindcss-language-server/package.nix +++ b/pkgs/by-name/ta/tailwindcss-language-server/package.nix @@ -10,13 +10,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "tailwindcss-language-server"; - version = "0.14.4"; + version = "0.14.18"; src = fetchFromGitHub { owner = "tailwindlabs"; repo = "tailwindcss-intellisense"; tag = "v${finalAttrs.version}"; - hash = "sha256-ZSKvD0OnI+/i5MHHlrgYbcaa8g95fVwjb2oryaEParQ="; + hash = "sha256-CdjlioWLDvEG1G76zZ9lPmOPV1Y88VdwTXxrdIr28fE="; }; pnpmDeps = pnpm_9.fetchDeps { @@ -27,7 +27,7 @@ stdenv.mkDerivation (finalAttrs: { pnpmWorkspaces prePnpmInstall ; - hash = "sha256-f7eNBQl6/qLE7heoCFnYpjq57cjZ9pwT9Td4WmY1oag="; + hash = "sha256-TxWaapm/nkyMi3JCj6TE56DhJYPBWBDGXOnzgB9uPjs="; }; nativeBuildInputs = [ From 8330ad418812369964d72a4283b7c16b78b39e7a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 22 May 2025 21:55:01 +0000 Subject: [PATCH 47/50] video-downloader: 0.12.25 -> 0.12.26 --- pkgs/by-name/vi/video-downloader/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/vi/video-downloader/package.nix b/pkgs/by-name/vi/video-downloader/package.nix index 2673c702526d..08d6b94fba6b 100644 --- a/pkgs/by-name/vi/video-downloader/package.nix +++ b/pkgs/by-name/vi/video-downloader/package.nix @@ -18,14 +18,14 @@ python3Packages.buildPythonApplication rec { pname = "video-downloader"; - version = "0.12.25"; + version = "0.12.26"; pyproject = false; # Built with meson src = fetchFromGitHub { owner = "Unrud"; repo = "video-downloader"; tag = "v${version}"; - hash = "sha256-1riIOYXtiC06n2M/eFjsydqrkCvBtrGkHKEJWiTJ8/8="; + hash = "sha256-DwnWKqg4ggtE1GSLtjIYFAIupmY0uQ3wCqgvsYerw0g="; }; propagatedBuildInputs = with python3Packages; [ From cce58bb9599b08a9175a4da44056187fc12cc6f1 Mon Sep 17 00:00:00 2001 From: Leona Maroni Date: Fri, 23 May 2025 00:14:38 +0200 Subject: [PATCH 48/50] nixos/doc/release-notes-2505: fix table formatting for `system.build` --- nixos/doc/manual/release-notes/rl-2505.section.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/doc/manual/release-notes/rl-2505.section.md b/nixos/doc/manual/release-notes/rl-2505.section.md index b70490d0de93..774c5f9c9c33 100644 --- a/nixos/doc/manual/release-notes/rl-2505.section.md +++ b/nixos/doc/manual/release-notes/rl-2505.section.md @@ -452,7 +452,7 @@ Alongside many enhancements to NixOS modules and general system improvements, th Names are now known at evaluation time and customizable via the new options `image.baseName`, `image.extension`, `image.fileName` and `image.filePath` with the latter returning a path relative to the derivations out path (e.g. `iso/${image.fileName` for iso images). | `system.build` Option | Old Filename | New Filename | - |--------------------------+------------------------------------------------------------+-----------------------------------------------------------------| + | ------------------------ | ---------------------------------------------------------- | ----------------------------------------------------------------| | amazonImage | nixos-amazon-image-25.05pre-git-x86_64-linux.vhd | nixos-image-amazon-25.05pre-git-x86_64-linux.vhd | | azureImage | disk.vhd | nixos-image-azure-25.05pre-git-x86_64-linux.vhd | | digitalOceanImage | nixos.qcow2.gz | nixos-image-digital-ocean-25.05pre-git-x86_64-linux.qcow2.gz | From cc6a8582f6c8693c3c43aeac1d414216b3f19a69 Mon Sep 17 00:00:00 2001 From: Leona Maroni Date: Fri, 23 May 2025 00:21:35 +0200 Subject: [PATCH 49/50] nixos/manual/upgrading: update release number 24.11 -> 25.05 --- .../doc/manual/installation/upgrading.chapter.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/nixos/doc/manual/installation/upgrading.chapter.md b/nixos/doc/manual/installation/upgrading.chapter.md index 86567c7a3d26..91fd5f90cc46 100644 --- a/nixos/doc/manual/installation/upgrading.chapter.md +++ b/nixos/doc/manual/installation/upgrading.chapter.md @@ -6,7 +6,7 @@ expressions and associated binaries. The NixOS channels are updated automatically from NixOS's Git repository after certain tests have passed and all packages have been built. These channels are: -- *Stable channels*, such as [`nixos-24.11`](https://channels.nixos.org/nixos-24.11). +- *Stable channels*, such as [`nixos-25.05`](https://channels.nixos.org/nixos-25.05). These only get conservative bug fixes and package upgrades. For instance, a channel update may cause the Linux kernel on your system to be upgraded from 4.19.34 to 4.19.38 (a minor bug fix), but not @@ -19,7 +19,7 @@ passed and all packages have been built. These channels are: radical changes between channel updates. It's not recommended for production systems. -- *Small channels*, such as [`nixos-24.11-small`](https://channels.nixos.org/nixos-24.11-small) +- *Small channels*, such as [`nixos-25.05-small`](https://channels.nixos.org/nixos-25.05-small) or [`nixos-unstable-small`](https://channels.nixos.org/nixos-unstable-small). These are identical to the stable and unstable channels described above, except that they contain fewer binary packages. This means they get updated @@ -38,8 +38,8 @@ supported stable release. When you first install NixOS, you're automatically subscribed to the NixOS channel that corresponds to your installation source. For -instance, if you installed from a 24.11 ISO, you will be subscribed to -the `nixos-24.11` channel. To see which NixOS channel you're subscribed +instance, if you installed from a 25.05 ISO, you will be subscribed to +the `nixos-25.05` channel. To see which NixOS channel you're subscribed to, run the following as root: ```ShellSession @@ -54,16 +54,16 @@ To switch to a different NixOS channel, do ``` (Be sure to include the `nixos` parameter at the end.) For instance, to -use the NixOS 24.11 stable channel: +use the NixOS 25.05 stable channel: ```ShellSession -# nix-channel --add https://channels.nixos.org/nixos-24.11 nixos +# nix-channel --add https://channels.nixos.org/nixos-25.05 nixos ``` If you have a server, you may want to use the "small" channel instead: ```ShellSession -# nix-channel --add https://channels.nixos.org/nixos-24.11-small nixos +# nix-channel --add https://channels.nixos.org/nixos-25.05-small nixos ``` And if you want to live on the bleeding edge: @@ -117,6 +117,6 @@ modules. You can also specify a channel explicitly, e.g. ```nix { - system.autoUpgrade.channel = "https://channels.nixos.org/nixos-24.11"; + system.autoUpgrade.channel = "https://channels.nixos.org/nixos-25.05"; } ``` From ca4a7eb0cd17b0d353d782359c3691a7a89c8c7e Mon Sep 17 00:00:00 2001 From: Philip Taron Date: Thu, 22 May 2025 16:14:35 -0700 Subject: [PATCH 50/50] writeReferencesToFile: remove entirely It's been long enough. --- pkgs/build-support/trivial-builders/default.nix | 3 --- .../src/flatten_references_graph/popularity_contest.py | 3 +-- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/pkgs/build-support/trivial-builders/default.nix b/pkgs/build-support/trivial-builders/default.nix index 4be06b5c4913..3cc902958ce3 100644 --- a/pkgs/build-support/trivial-builders/default.nix +++ b/pkgs/build-support/trivial-builders/default.nix @@ -778,9 +778,6 @@ rec { '' ); - # Remove after 25.05 branch-off - writeReferencesToFile = throw "writeReferencesToFile has been removed. Use writeClosure instead."; - # Docs in doc/build-helpers/trivial-build-helpers.chapter.md # See https://nixos.org/manual/nixpkgs/unstable/#trivial-builder-writeClosure writeClosure = diff --git a/pkgs/by-name/fl/flattenReferencesGraph/src/flatten_references_graph/popularity_contest.py b/pkgs/by-name/fl/flattenReferencesGraph/src/flatten_references_graph/popularity_contest.py index 7ab7b3acb6b0..c8447d655479 100644 --- a/pkgs/by-name/fl/flattenReferencesGraph/src/flatten_references_graph/popularity_contest.py +++ b/pkgs/by-name/fl/flattenReferencesGraph/src/flatten_references_graph/popularity_contest.py @@ -3,8 +3,7 @@ # and how deep in the tree they live. Equally-"popular" paths are then # sorted by name. # -# The existing writeReferencesToFile prints the paths in a simple -# ascii-based sorting of the paths. +# The existing writeClosure prints the paths in a simple ascii-based sorting of the paths. # # Sorting the paths by graph improves the chances that the difference # between two builds appear near the end of the list, instead of near