From 4fc541174f30d634b5bed5f20f4a941c82b5fc21 Mon Sep 17 00:00:00 2001 From: "vars.leha44581" Date: Thu, 11 Sep 2025 16:40:38 +0300 Subject: [PATCH 01/27] maintainers: added leha44581 --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 4c763e3d157c..fc86e8b3352f 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -14345,6 +14345,12 @@ githubId = 4701504; name = "James Robinson"; }; + leha44581 = { + email = "leha55481@gmail.com"; + github = "Leha44581"; + githubId = 70238465; + name = "Leha"; + }; leifhelm = { email = "jakob.leifhelm@gmail.com"; github = "leifhelm"; From 87363e629ba411a91df8eb9171de6865fd2773a1 Mon Sep 17 00:00:00 2001 From: leha44581 Date: Fri, 12 Sep 2025 14:27:37 +0300 Subject: [PATCH 02/27] audiomatch: init at 0.2.2 Co-authored-by: Eman Resu <78693624+quatquatt@users.noreply.github.com> Co-authored-by: Notarin Steele <424c414e4b@gmail.com> Co-authored-by: Ross Smyth <18294397+RossSmyth@users.noreply.github.com> --- pkgs/by-name/au/audiomatch/package.nix | 45 ++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 pkgs/by-name/au/audiomatch/package.nix diff --git a/pkgs/by-name/au/audiomatch/package.nix b/pkgs/by-name/au/audiomatch/package.nix new file mode 100644 index 000000000000..a813bc814fa5 --- /dev/null +++ b/pkgs/by-name/au/audiomatch/package.nix @@ -0,0 +1,45 @@ +{ + lib, + chromaprint, + fetchFromGitHub, + python3Packages, +}: +python3Packages.buildPythonPackage rec { + version = "0.2.2"; + pname = "audiomatch"; + pyproject = true; + src = fetchFromGitHub { + owner = "unmade"; + repo = "audiomatch"; + tag = version; + hash = "sha256-I7gTP2lwg4EDNmI+tVmI721/nEDShb7q21tD9tRbskY="; + }; + + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail 'poetry>=0.12,<1.0' "poetry-core" \ + --replace-fail 'poetry.masonry.api' 'poetry.core.masonry.api' + + substituteInPlace src/audiomatch/fingerprints.py \ + --replace-fail 'fpcalc' '${lib.getExe chromaprint}' + ''; + + build-system = [ + python3Packages.poetry-core + python3Packages.distutils + ]; + + nativeCheckInputs = [ + python3Packages.pytestCheckHook + ]; + + meta = { + homepage = "https://github.com/unmade/audiomatch"; + description = "A small command-line tool to find similar audio files"; + changelog = "https://github.com/unmade/audiomatch/releases/tag/${version}"; + license = lib.licenses.mit; + platforms = lib.platforms.all; + mainProgram = "audiomatch"; + maintainers = with lib.maintainers; [ leha44581 ]; + }; +} From e21604eee66305df3e3856ebe5c1cfde0659313d Mon Sep 17 00:00:00 2001 From: SchweGELBin Date: Mon, 6 Oct 2025 15:23:42 +0200 Subject: [PATCH 03/27] wine-staging: 10.15 -> 10.16 --- 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 c8ca0ec983ab..5759fee637a8 100644 --- a/pkgs/applications/emulators/wine/sources.nix +++ b/pkgs/applications/emulators/wine/sources.nix @@ -133,9 +133,9 @@ rec { unstable = fetchurl rec { # NOTE: Don't forget to change the hash for staging as well. - version = "10.15"; + version = "10.16"; url = "https://dl.winehq.org/wine/source/10.x/wine-${version}.tar.xz"; - hash = "sha256-MH4hI3xui96iZvlG0x8J7SexlX35oDUW2Ccf0T4cJh0="; + hash = "sha256-xe0nQr/yCMY7AFvPuRovxsxJr2xmlbyMDPD+b02mBEY="; patches = [ # Also look for root certificates at $NIX_SSL_CERT_FILE @@ -145,7 +145,7 @@ rec { # see https://gitlab.winehq.org/wine/wine-staging staging = fetchFromGitLab { inherit version; - hash = "sha256-VzHM4Qm0XDP7suCT5dmJgoDJmZ1DLg6qqOUVQzNc0g4="; + hash = "sha256-XknbKTQtIS0J6L/k3dEFQbxEIEYAdToVpigwISZX+ts="; domain = "gitlab.winehq.org"; owner = "wine"; repo = "wine-staging"; From b4725e01c5cc114c10566bf0ba1d9ed378e854b9 Mon Sep 17 00:00:00 2001 From: linsui <36977733+linsui@users.noreply.github.com> Date: Wed, 8 Oct 2025 15:24:03 +0800 Subject: [PATCH 04/27] python3Packages.biliass: 2.1.0 -> 2.3.1 --- pkgs/development/python-modules/biliass/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/biliass/default.nix b/pkgs/development/python-modules/biliass/default.nix index 03a8c74936f5..a3a34d2ca910 100644 --- a/pkgs/development/python-modules/biliass/default.nix +++ b/pkgs/development/python-modules/biliass/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "biliass"; - version = "2.2.2"; + version = "2.3.1"; pyproject = true; src = fetchFromGitHub { owner = "yutto-dev"; repo = "yutto"; tag = "biliass@${version}"; - hash = "sha256-IQokpJbUhR8FMCJcxPSDD1X1o+Lb2j1G7d/jFEsR/Eg="; + hash = "sha256-ZB18BQJRSwA/ERHjqmp+D39UqTvdYpbhwLjaizM5R2I="; }; sourceRoot = "${src.name}/packages/biliass"; @@ -31,7 +31,7 @@ buildPythonPackage rec { sourceRoot cargoRoot ; - hash = "sha256-tkHl6z0En+od//fCGJXK/p8Dz5KDOXltHrXhxHmHL6U="; + hash = "sha256-gOYgYi8RlWBe0astv6D6/J7Ge20TM/19zJHwoCevpIo="; }; nativeBuildInputs = with rustPlatform; [ From 7999535562884e02eae67a99809633f2089030d2 Mon Sep 17 00:00:00 2001 From: linsui <36977733+linsui@users.noreply.github.com> Date: Wed, 8 Oct 2025 15:24:13 +0800 Subject: [PATCH 05/27] yutto: 2.0.3 -> 2.1.0 --- pkgs/by-name/yu/yutto/package.nix | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/pkgs/by-name/yu/yutto/package.nix b/pkgs/by-name/yu/yutto/package.nix index 8d33084bc7cc..b91da1019880 100644 --- a/pkgs/by-name/yu/yutto/package.nix +++ b/pkgs/by-name/yu/yutto/package.nix @@ -3,12 +3,11 @@ python3Packages, fetchFromGitHub, ffmpeg, - nix-update-script, }: python3Packages.buildPythonApplication rec { pname = "yutto"; - version = "2.0.3"; + version = "2.1.0"; pyproject = true; pythonRelaxDeps = true; @@ -17,21 +16,21 @@ python3Packages.buildPythonApplication rec { owner = "yutto-dev"; repo = "yutto"; tag = "v${version}"; - hash = "sha256-giwCLA9M1XR0neLJVfO017Q1wK34yVQpOxUzgShDJL0="; + hash = "sha256-A9LM+hdev9/vH4HV2DUhpiA2XqvXYxtSUt2dyUnZwsU="; }; - build-system = with python3Packages; [ hatchling ]; + build-system = with python3Packages; [ uv-build ]; dependencies = with python3Packages; [ - httpx aiofiles biliass dict2xml - colorama + httpx typing-extensions pydantic + returns ] ++ (with httpx.optional-dependencies; http2 ++ socks); @@ -41,8 +40,6 @@ python3Packages.buildPythonApplication rec { pythonImportsCheck = [ "yutto" ]; - passthru.updateScript = nix-update-script { }; - meta = with lib; { description = "Bilibili downloader"; homepage = "https://github.com/yutto-dev/yutto"; From 12a4ba70a2532a2cf66498e78dd426699c4e039b Mon Sep 17 00:00:00 2001 From: zspher <66728045+zspher@users.noreply.github.com> Date: Mon, 13 Oct 2025 16:27:50 -0600 Subject: [PATCH 06/27] zathura: 0.5.12 -> 0.5.13 --- pkgs/applications/misc/zathura/core/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/zathura/core/default.nix b/pkgs/applications/misc/zathura/core/default.nix index c6ecf713938d..1c25d4e55610 100644 --- a/pkgs/applications/misc/zathura/core/default.nix +++ b/pkgs/applications/misc/zathura/core/default.nix @@ -32,11 +32,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "zathura"; - version = "0.5.12"; + version = "0.5.13"; src = fetchurl { url = "https://pwmt.org/projects/zathura/download/zathura-${finalAttrs.version}.tar.xz"; - hash = "sha256-6Ehw+/lrdmuCJKPzps58z6Nu+jtpGcyKL792XqTf5HY="; + hash = "sha256-YwIXO81G+JflIJyIOltRrR2rSUbC84YcujdKO4DY88E="; }; outputs = [ From 4acf339a5d00d020c058528b9f2b4911878a44ab Mon Sep 17 00:00:00 2001 From: kyehn Date: Sat, 18 Oct 2025 13:01:18 +0800 Subject: [PATCH 07/27] raffi: 0.8.2 -> 0.9.0 Diff: https://github.com/chmouel/raffi/compare/v0.8.2...v0.9.0 Changelog: https://github.com/chmouel/raffi/releases/tag/v0.9.0 --- pkgs/by-name/ra/raffi/package.nix | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/pkgs/by-name/ra/raffi/package.nix b/pkgs/by-name/ra/raffi/package.nix index 815440dd5145..edebe08a30fe 100644 --- a/pkgs/by-name/ra/raffi/package.nix +++ b/pkgs/by-name/ra/raffi/package.nix @@ -7,23 +7,25 @@ additionalPrograms ? [ ], }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "raffi"; - version = "0.8.2"; + version = "0.9.0"; src = fetchFromGitHub { owner = "chmouel"; repo = "raffi"; - rev = "v${version}"; - hash = "sha256-97gZZp2taX800Izhya4mYzS4PtCNCBbRnrn6cm1w8zY="; + tag = "v${finalAttrs.version}"; + hash = "sha256-k0NJEv76f33yd+mtCJ7bxzaT3UAn0TOaLC/HlzEXUyo="; }; - cargoHash = "sha256-1n0JQdeExszuGFbpkBRT44eMov/x3BrIeofObdPNNdU="; + cargoHash = "sha256-udXVIV6qDmpLR2QNF+/h69WNGbe7QRDD5YWQ3Sl5Ol0="; nativeBuildInputs = [ makeBinaryWrapper ]; + checkFlags = [ "--skip=tests::test_read_config_from_reader" ]; + postFixup = '' wrapProgram $out/bin/raffi \ --prefix PATH : ${lib.makeBinPath ([ fuzzel ] ++ additionalPrograms)} @@ -32,10 +34,10 @@ rustPlatform.buildRustPackage rec { meta = { description = "Fuzzel launcher based on yaml configuration"; homepage = "https://github.com/chmouel/raffi"; - changelog = "https://github.com/chmouel/raffi/releases/tag/v${version}"; + changelog = "https://github.com/chmouel/raffi/releases/tag/v${finalAttrs.version}"; license = with lib.licenses; [ asl20 ]; maintainers = with lib.maintainers; [ aos ]; mainProgram = "raffi"; platforms = lib.platforms.linux; }; -} +}) From 4ff8ad3a145bf64fc7e9c0869f825ba35a591a42 Mon Sep 17 00:00:00 2001 From: SchweGELBin Date: Sat, 18 Oct 2025 14:18:45 +0200 Subject: [PATCH 08/27] wine-staging: 10.16 -> 10.17 wine-mono: 10.2.0 -> 10.3.0 --- pkgs/applications/emulators/wine/sources.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/emulators/wine/sources.nix b/pkgs/applications/emulators/wine/sources.nix index 5759fee637a8..d253fc5e1235 100644 --- a/pkgs/applications/emulators/wine/sources.nix +++ b/pkgs/applications/emulators/wine/sources.nix @@ -133,9 +133,9 @@ rec { unstable = fetchurl rec { # NOTE: Don't forget to change the hash for staging as well. - version = "10.16"; + version = "10.17"; url = "https://dl.winehq.org/wine/source/10.x/wine-${version}.tar.xz"; - hash = "sha256-xe0nQr/yCMY7AFvPuRovxsxJr2xmlbyMDPD+b02mBEY="; + hash = "sha256-u/jn3jLOqf4wU2HUr4XjBJIlTEvwIDnuJtrHpmcBtOY="; patches = [ # Also look for root certificates at $NIX_SSL_CERT_FILE @@ -145,7 +145,7 @@ rec { # see https://gitlab.winehq.org/wine/wine-staging staging = fetchFromGitLab { inherit version; - hash = "sha256-XknbKTQtIS0J6L/k3dEFQbxEIEYAdToVpigwISZX+ts="; + hash = "sha256-fTEzj3o7A9H9jIh3yhw8SCfNsnVeJ6pyL3jERqhVbr8="; domain = "gitlab.winehq.org"; owner = "wine"; repo = "wine-staging"; @@ -168,9 +168,9 @@ rec { ## see http://wiki.winehq.org/Mono mono = fetchurl rec { - version = "10.2.0"; + version = "10.3.0"; url = "https://dl.winehq.org/wine/wine-mono/${version}/wine-mono-${version}-x86.msi"; - hash = "sha256-Th7T8C6S0FMTPQPd++/PbbSk3CMamu0zZ7FxF6iIR9g="; + hash = "sha256-zs5cYxgAlN/98B0PvjYqS2BuUoC5jN/RuFaM35tXL5g="; }; updateScript = writeShellScript "update-wine-unstable" '' From eae9d7a6b5d217f3d51f70ea1f6e0eb6e23554c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Zavala=20Villag=C3=B3mez?= Date: Sat, 18 Oct 2025 14:57:46 -0400 Subject: [PATCH 09/27] nixos/plasma6: check `$XDG_CACHE_HOME` before `$HOME/.cache` for ksycoca cache wipe The previous implementation breaks if `$XDG_CACHE_HOME` is set to anything other than what is expected, since KDE will now write the cache there instead. Some users set `$XDG_CACHE_HOME` to something like `$HOME/.local/cache` to de-clutter `$HOME`. In such case, the cache won't be found and removed, which will cause the KDE runner to not be able to launch anything. It will now work regardless. --- doc/release-notes/rl-2511.section.md | 2 ++ nixos/modules/services/desktop-managers/plasma6.nix | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/release-notes/rl-2511.section.md b/doc/release-notes/rl-2511.section.md index 4862081c6529..4c44f3df3821 100644 --- a/doc/release-notes/rl-2511.section.md +++ b/doc/release-notes/rl-2511.section.md @@ -298,6 +298,8 @@ - `buildPythonPackage` and `buildPythonApplication` now default to `nix-update-script` as their default `updateScript`. This should improve automated updates, since nix-update is better maintained than the in-tree update script and has more robust fetcher support. +- `plasma6`: Fixed the `ksycoca` cache not being re-built when `$XDG_CACHE_HOME` is set to something that isn't `$HOME/.cache`. + ## Nixpkgs Library {#sec-nixpkgs-release-25.11-lib} diff --git a/nixos/modules/services/desktop-managers/plasma6.nix b/nixos/modules/services/desktop-managers/plasma6.nix index 529734bd503f..fea0428f36d1 100644 --- a/nixos/modules/services/desktop-managers/plasma6.nix +++ b/nixos/modules/services/desktop-managers/plasma6.nix @@ -20,7 +20,7 @@ let activationScript = '' # will be rebuilt automatically - rm -fv "$HOME/.cache/ksycoca"* + rm -fv "''${XDG_CACHE_HOME:-$HOME/.cache}/ksycoca"* ''; in { From 6055cc71797991dd105a937d210e60c4cc9b9e07 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 19 Oct 2025 22:00:13 +0000 Subject: [PATCH 10/27] zwave-js-ui: 11.4.1 -> 11.5.2 --- pkgs/by-name/zw/zwave-js-ui/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/zw/zwave-js-ui/package.nix b/pkgs/by-name/zw/zwave-js-ui/package.nix index f7b03c41bcc0..2d9c065f454b 100644 --- a/pkgs/by-name/zw/zwave-js-ui/package.nix +++ b/pkgs/by-name/zw/zwave-js-ui/package.nix @@ -7,15 +7,15 @@ buildNpmPackage rec { pname = "zwave-js-ui"; - version = "11.4.1"; + version = "11.5.2"; src = fetchFromGitHub { owner = "zwave-js"; repo = "zwave-js-ui"; tag = "v${version}"; - hash = "sha256-28FaP8T5TllbibUPJIQBgmnR8Bc4dXWyIS2AGSY0YtE="; + hash = "sha256-G/ZHp5JmCpFCsjbgHyAS4+5eihyzqVtkcZT5vj6Pxos="; }; - npmDepsHash = "sha256-OEewVf9CL17Koq2bFE0rOjPaBIgotSo8iHWl3Lp/chk="; + npmDepsHash = "sha256-amw6eVKWCIuF/XcY1dHb9/qMADGkUANT4WmQNx3O+NY="; passthru.tests.zwave-js-ui = nixosTests.zwave-js-ui; From 253afe61e73af858367b53d60d7ecc0ffdf8f28f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 20 Oct 2025 03:17:03 +0000 Subject: [PATCH 11/27] cljfmt: 0.13.4 -> 0.14.0 --- pkgs/by-name/cl/cljfmt/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/cl/cljfmt/package.nix b/pkgs/by-name/cl/cljfmt/package.nix index a1cbf19d55bc..0cf64938e770 100644 --- a/pkgs/by-name/cl/cljfmt/package.nix +++ b/pkgs/by-name/cl/cljfmt/package.nix @@ -8,11 +8,11 @@ buildGraalvmNativeImage (finalAttrs: { pname = "cljfmt"; - version = "0.13.4"; + version = "0.14.0"; src = fetchurl { url = "https://github.com/weavejester/cljfmt/releases/download/${finalAttrs.version}/cljfmt-${finalAttrs.version}-standalone.jar"; - hash = "sha256-i6ZUhN7gwADw0tZFPOjiGpC/po8us5QSAJAW7n3LgIU="; + hash = "sha256-A12co+7Ux9rGCcBMRMqwTH7s4hllfs0Ku/+HFQJ4XGE="; }; extraNativeImageBuildArgs = [ From b2ae47cd19c814e24b6427fd7de128c9da1cdec4 Mon Sep 17 00:00:00 2001 From: kyehn Date: Mon, 20 Oct 2025 14:33:20 +0800 Subject: [PATCH 12/27] quiet: 6.0.0 -> 6.3.0 --- pkgs/by-name/qu/quiet/package.nix | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/qu/quiet/package.nix b/pkgs/by-name/qu/quiet/package.nix index 44e661d7c1c9..ecf3371104b7 100644 --- a/pkgs/by-name/qu/quiet/package.nix +++ b/pkgs/by-name/qu/quiet/package.nix @@ -5,11 +5,15 @@ appimageTools, makeWrapper, _7zz, + writeShellScript, + curl, + jq, + common-updater-scripts, }: let pname = "quiet"; - version = "6.0.0"; + version = "6.3.0"; meta = { description = "Private, p2p alternative to Slack and Discord built on Tor & IPFS"; @@ -19,25 +23,36 @@ let maintainers = with lib.maintainers; [ kashw2 ]; }; + passthru.updateScript = writeShellScript "update-quiet" '' + latestVersion=$(${lib.getExe curl} --fail --location --silent https://api.github.com/repos/TryQuiet/quiet/releases/latest | ${lib.getExe jq} '.tag_name | ltrimstr("@quiet/desktop@")' --raw-output) + currentVersion=$(nix eval --raw --file . quiet.version) + if [[ "$latestVersion" == "$currentVersion" ]]; then + exit 0 + fi + ${lib.getExe' common-updater-scripts "update-source-version"} quiet $latestVersion --system=x86_64-linux --ignore-same-hash + hash=$(nix hash convert --to sri --hash-algo sha256 $(nix-prefetch-url $(nix eval --raw --file . quiet.src.url --system aarch64-darwin))) + ${lib.getExe' common-updater-scripts "update-source-version"} quiet $latestVersion $hash --system=aarch64-darwin --ignore-same-version --ignore-same-hash + ''; + linux = appimageTools.wrapType2 { - inherit pname version; + inherit pname version passthru; src = fetchurl { url = "https://github.com/TryQuiet/quiet/releases/download/@quiet/desktop@${version}/Quiet-${version}.AppImage"; - hash = "sha256-YIkbS3L6DIof9gsgHKaguHIwGggVLjQXPM8o7810Wgs="; + hash = "sha256-LRUm2QMYg2oD6USOUYRyNUDf1VHu2txsaCUhbi1Ar5o="; }; meta = meta // { - platforms = lib.platforms.linux; + platforms = [ "x86_64-linux" ]; }; }; darwin = stdenv.mkDerivation { - inherit pname version; + inherit pname version passthru; src = fetchurl { url = "https://github.com/TryQuiet/quiet/releases/download/@quiet/desktop@${version}/Quiet-${version}.dmg"; - hash = "sha256-B1rT+6U0gjScr1FPuh3xGxkpfumT/8feTJbEbCgXPpo="; + hash = "sha256-T3EDgQ2DhYttbRjAklhw/C4paUzkdEx6i6Gi+Jx1N+w="; }; nativeBuildInputs = [ From d0125c4ba1deaa10e78e64b39a937f8267fd94fb Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 20 Oct 2025 09:47:57 +0000 Subject: [PATCH 13/27] immich-public-proxy: 1.13.2 -> 1.13.7 --- pkgs/by-name/im/immich-public-proxy/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/im/immich-public-proxy/package.nix b/pkgs/by-name/im/immich-public-proxy/package.nix index b8efe38c1b14..66bdb472f9e3 100644 --- a/pkgs/by-name/im/immich-public-proxy/package.nix +++ b/pkgs/by-name/im/immich-public-proxy/package.nix @@ -8,17 +8,17 @@ }: buildNpmPackage rec { pname = "immich-public-proxy"; - version = "1.13.2"; + version = "1.13.7"; src = fetchFromGitHub { owner = "alangrainger"; repo = "immich-public-proxy"; tag = "v${version}"; - hash = "sha256-AoRqlTEwcS+RhN59/opqlYAftihmN20mW6Vn6RbLzSw="; + hash = "sha256-XENy/zmH4UzUaqE4doiSNmTrbrsTMrd/hlhbanEhg6k="; }; sourceRoot = "${src.name}/app"; - npmDepsHash = "sha256-ZH1D0Q5SCoOwr8CLe2HLMy4xJoO3VLha4MfE9fBmhec="; + npmDepsHash = "sha256-T3YPIvK5h3XmCTLybzY1fhjlB2u2fLdeOHiGbT3Xgd4="; # patch in absolute nix store paths so the process doesn't need to cwd in $out postPatch = '' From d30922c2f19452944308d823c37a08784f176ba4 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 20 Oct 2025 11:36:59 +0000 Subject: [PATCH 14/27] linyaps-box: 2.1.1 -> 2.1.2 --- pkgs/by-name/li/linyaps-box/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/li/linyaps-box/package.nix b/pkgs/by-name/li/linyaps-box/package.nix index b57881eec8bb..00bb109c0759 100644 --- a/pkgs/by-name/li/linyaps-box/package.nix +++ b/pkgs/by-name/li/linyaps-box/package.nix @@ -13,13 +13,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "linyaps-box"; - version = "2.1.1"; + version = "2.1.2"; src = fetchFromGitHub { owner = "OpenAtom-Linyaps"; repo = "linyaps-box"; rev = finalAttrs.version; - hash = "sha256-h7tbjIcVgwTw3SLGzJzG17WpDdsCqHD4AXvAFEiwesw="; + hash = "sha256-i4wSddstCosDpBEcunoVsV464PTHmuvDDEFrsPQKnxU="; }; nativeBuildInputs = [ From 247b6e5a462de5f4df5848fc13f7eab692cf1076 Mon Sep 17 00:00:00 2001 From: "Adam C. Stephens" Date: Mon, 20 Oct 2025 12:57:30 -0400 Subject: [PATCH 15/27] edk2: 202508 -> 202508.01 Changelog: https://github.com/tianocore/edk2/releases/tag/edk2-stable202508.01 --- pkgs/by-name/ed/edk2/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ed/edk2/package.nix b/pkgs/by-name/ed/edk2/package.nix index 781d71ef3078..9adad1a48c13 100644 --- a/pkgs/by-name/ed/edk2/package.nix +++ b/pkgs/by-name/ed/edk2/package.nix @@ -33,14 +33,14 @@ in stdenv.mkDerivation (finalAttrs: { pname = "edk2"; - version = "202508"; + version = "202508.01"; srcWithVendoring = fetchFromGitHub { owner = "tianocore"; repo = "edk2"; tag = "edk2-stable${finalAttrs.version}"; fetchSubmodules = true; - hash = "sha256-YZcjPGPkUQ9CeJS9JxdHBmpdHsAj7T0ifSZWZKyNPMk="; + hash = "sha256-BgNNKA+YFeaZDm1mLzBN3VA7RAwNT9MXV3JX5ZLrFOo="; }; src = applyPatches { @@ -133,7 +133,7 @@ stdenv.mkDerivation (finalAttrs: { #!nix-shell -i bash -p common-updater-scripts coreutils gnused set -eu -o pipefail version="$(list-git-tags --url="${finalAttrs.srcWithVendoring.url}" | - sed -E --quiet 's/^edk2-stable([0-9]{6})$/\1/p' | + sed -E --quiet 's/^edk2-stable([0-9\\.]+)$/\1/p' | sort --reverse --numeric-sort | head -n 1)" if [[ "x$UPDATE_NIX_OLD_VERSION" != "x$version" ]]; then From ea9a19a1d9103296687334671abc619f85f0e6b0 Mon Sep 17 00:00:00 2001 From: Rafael Ieda Date: Mon, 20 Oct 2025 15:44:26 -0300 Subject: [PATCH 16/27] tbe: fix build with cmake4 --- pkgs/games/the-butterfly-effect/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/games/the-butterfly-effect/default.nix b/pkgs/games/the-butterfly-effect/default.nix index e67c67e8b8da..2c242faa2194 100644 --- a/pkgs/games/the-butterfly-effect/default.nix +++ b/pkgs/games/the-butterfly-effect/default.nix @@ -25,6 +25,11 @@ mkDerivation rec { # fix translations not building: https://gitlab.kitware.com/cmake/cmake/-/issues/21931 substituteInPlace i18n/CMakeLists.txt --replace qt5_create_translation qt_add_translation + + substituteInPlace CMakeLists.txt \ + --replace-fail "cmake_minimum_required (VERSION 2.8.12)" "cmake_minimum_required(VERSION 3.10)" + substituteInPlace src/Box2D/CMakeLists.txt \ + --replace-fail "cmake_minimum_required(VERSION 2.8.5)" "cmake_minimum_required(VERSION 3.10)" ''; nativeBuildInputs = [ From af531ccbb8923c85aa348bbb21153817ec0e01c3 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Mon, 20 Oct 2025 16:29:21 +0000 Subject: [PATCH 17/27] python3Packages.docling-parse: mark as broken See https://github.com/docling-project/docling-parse/issues/172 --- pkgs/development/python-modules/docling-parse/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/docling-parse/default.nix b/pkgs/development/python-modules/docling-parse/default.nix index 6f4ec7aeeaa1..ab1a5f14f32a 100644 --- a/pkgs/development/python-modules/docling-parse/default.nix +++ b/pkgs/development/python-modules/docling-parse/default.nix @@ -102,5 +102,8 @@ buildPythonPackage rec { homepage = "https://github.com/DS4SD/docling-parse"; license = lib.licenses.mit; maintainers = [ ]; + # error: no matching conversion for functional-style cast from 'bool' to 'nlohmann::basic_json<>' + # See https://github.com/docling-project/docling-parse/issues/172 for context + broken = true; }; } From cc1b18a19990c1d3989e7782e11403789f75466a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Schr=C3=B6ter?= Date: Mon, 20 Oct 2025 21:29:46 +0200 Subject: [PATCH 18/27] mullvad-browser: 14.5.7 -> 14.5.8 https://github.com/mullvad/mullvad-browser/releases/tag/14.5.8 --- pkgs/by-name/mu/mullvad-browser/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/mu/mullvad-browser/package.nix b/pkgs/by-name/mu/mullvad-browser/package.nix index f6646986ea2d..9df5af7ed192 100644 --- a/pkgs/by-name/mu/mullvad-browser/package.nix +++ b/pkgs/by-name/mu/mullvad-browser/package.nix @@ -97,7 +97,7 @@ let ++ lib.optionals mediaSupport [ ffmpeg ] ); - version = "14.5.7"; + version = "14.5.8"; sources = { x86_64-linux = fetchurl { @@ -109,7 +109,7 @@ let "https://tor.eff.org/dist/mullvadbrowser/${version}/mullvad-browser-linux-x86_64-${version}.tar.xz" "https://tor.calyxinstitute.org/dist/mullvadbrowser/${version}/mullvad-browser-linux-x86_64-${version}.tar.xz" ]; - hash = "sha256-/PR0CDQByiUWlU5lP8QlJ7IQUWiXGTwrZbn9Cbe5xEg="; + hash = "sha256-82Y1QpnvXFKEXQtgUHCGh+2KYytbA+B1YwF0OtfvtSA="; }; }; From 3cd0ff85e5cc65c276bcf722270763c6196f9960 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Schr=C3=B6ter?= Date: Mon, 20 Oct 2025 21:42:29 +0200 Subject: [PATCH 19/27] mullvad-browser: remove with lib --- pkgs/by-name/mu/mullvad-browser/package.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/mu/mullvad-browser/package.nix b/pkgs/by-name/mu/mullvad-browser/package.nix index 9df5af7ed192..dae3483f249a 100644 --- a/pkgs/by-name/mu/mullvad-browser/package.nix +++ b/pkgs/by-name/mu/mullvad-browser/package.nix @@ -296,12 +296,12 @@ stdenv.mkDerivation rec { }; }; - meta = with lib; { + meta = { description = "Privacy-focused browser made in a collaboration between The Tor Project and Mullvad"; mainProgram = "mullvad-browser"; homepage = "https://mullvad.net/en/browser"; - platforms = attrNames sources; - maintainers = with maintainers; [ + platforms = lib.attrNames sources; + maintainers = with lib.maintainers; [ felschr panicgh sigmasquadron @@ -309,12 +309,12 @@ stdenv.mkDerivation rec { # MPL2.0+, GPL+, &c. While it's not entirely clear whether # the compound is "libre" in a strict sense (some components place certain # restrictions on redistribution), it's free enough for our purposes. - license = with licenses; [ + license = with lib.licenses; [ mpl20 lgpl21Plus lgpl3Plus free ]; - sourceProvenance = with sourceTypes; [ binaryNativeCode ]; + sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; }; } From 70ee66918100f7939bce289ab72ad4ebd763003c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 20 Oct 2025 20:55:07 +0000 Subject: [PATCH 20/27] dbeaver-bin: 25.2.2 -> 25.2.3 --- pkgs/by-name/db/dbeaver-bin/package.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/db/dbeaver-bin/package.nix b/pkgs/by-name/db/dbeaver-bin/package.nix index 112917d6a74f..6747d9a99b6a 100644 --- a/pkgs/by-name/db/dbeaver-bin/package.nix +++ b/pkgs/by-name/db/dbeaver-bin/package.nix @@ -18,7 +18,7 @@ stdenvNoCC.mkDerivation (finalAttrs: { pname = "dbeaver-bin"; - version = "25.2.2"; + version = "25.2.3"; src = let @@ -31,10 +31,10 @@ stdenvNoCC.mkDerivation (finalAttrs: { aarch64-darwin = "macos-aarch64.dmg"; }; hash = selectSystem { - x86_64-linux = "sha256-e0xIFoDmhX1+VetCEJoDZqu6+wrFwTwgIzU8hQ/mXnI="; - aarch64-linux = "sha256-80HW2GGBAuCYo+fxz+XZG3sZm0/QW5krHLS4jSGgGvU="; - x86_64-darwin = "sha256-w1b22Uce2PmX3f6UMrrkVxSxT/E5rFhiSgb3PjYaYvY="; - aarch64-darwin = "sha256-oQ10VB4puNBxFcFRdOtFFF+FcN9I7CUbWMc56V1Z90E="; + x86_64-linux = "sha256-tOUOZP+A3vB73xvAj+OEvCR+APbwlKLwZN9iJYi/W7c="; + aarch64-linux = "sha256-yQ6+kZP22CtdaKQiRgWoYvUDMLz1mdlV3AWC+nKQVBI="; + x86_64-darwin = "sha256-tIkAkBcnF37sZV2ZHSgqe3PnAqSoU7iYRu8tNZ8fhfE="; + aarch64-darwin = "sha256-imkW4Dz8qWjIKLT6CvdjhIjWpEmfKk1MWVh5+NGujb4="; }; in fetchurl { From fbe7517d6ef6e6d94fff63aa221932d9ac810a0f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 20 Oct 2025 23:09:52 +0000 Subject: [PATCH 21/27] python3Packages.google-cloud-network-connectivity: 2.10.0 -> 2.11.0 --- .../google-cloud-network-connectivity/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-cloud-network-connectivity/default.nix b/pkgs/development/python-modules/google-cloud-network-connectivity/default.nix index ee8d07c264bb..f56cc87aea13 100644 --- a/pkgs/development/python-modules/google-cloud-network-connectivity/default.nix +++ b/pkgs/development/python-modules/google-cloud-network-connectivity/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "google-cloud-network-connectivity"; - version = "2.10.0"; + version = "2.11.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -23,7 +23,7 @@ buildPythonPackage rec { src = fetchPypi { inherit version; pname = "google_cloud_network_connectivity"; - hash = "sha256-wbznAUjwh57xuvuLWOrk1eXvxuDE+wWh6Cx3oQI8dqE="; + hash = "sha256-PBqFMVGTn7si4UgAc4zk/97M9mWSnVJMX9gZk0eXpSY="; }; build-system = [ setuptools ]; From ef69a993d6eb393b3c9ff6540803d93fee0a8d36 Mon Sep 17 00:00:00 2001 From: Andrew Zah Date: Mon, 20 Oct 2025 17:25:12 +0900 Subject: [PATCH 22/27] zulip-term: 0.7.0 -> 0.7.0-unstable-2025-05-19 This fixes the build and brings in updates, since 0.7.0 released in 2022. --- pkgs/by-name/zu/zulip-term/package.nix | 27 +++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/zu/zulip-term/package.nix b/pkgs/by-name/zu/zulip-term/package.nix index ee4103805ed4..91dd61297ad7 100644 --- a/pkgs/by-name/zu/zulip-term/package.nix +++ b/pkgs/by-name/zu/zulip-term/package.nix @@ -29,25 +29,35 @@ with py.pkgs; buildPythonApplication rec { pname = "zulip-term"; - version = "0.7.0"; + version = "0.7.0-unstable-2025-05-19"; pyproject = true; src = fetchFromGitHub { owner = "zulip"; repo = "zulip-terminal"; - rev = "refs/tags/${version}"; - hash = "sha256-ZouUU4p1FSGMxPuzDo5P971R+rDXpBdJn2MqvkJO+Fw="; + rev = "8e5c0357c8746df64ac427d5db3d2cb0f002f975"; + hash = "sha256-DW3GZ1hY/wZ6P/djPUlAvNIFcBV994FLJ3aiPfDVUBM="; }; patches = [ ./pytest-executable-name.patch ]; - nativeBuildInputs = with py.pkgs; [ + build-system = with py.pkgs; [ setuptools ]; - propagatedBuildInputs = with py.pkgs; [ + pythonRelaxDeps = [ + # zulip-term sets these versions for compat with python 3.6/3.7 + "lxml" + "pygments" + "typing_extensions" + "tzlocal" + "urwid_readline" + "zulip" + ]; + + dependencies = with py.pkgs; [ beautifulsoup4 lxml pygments @@ -70,6 +80,13 @@ buildPythonApplication rec { pytest-mock ]); + disabledTests = [ + # these break the build but don't seem to affect + # the application at all + "test_soup2markup" + "test_main_help" + ]; + makeWrapperArgs = [ "--prefix" "PATH" From 23d610edfeb7eb69e36af8a799e159d2430f5a83 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 21 Oct 2025 00:30:30 +0000 Subject: [PATCH 23/27] mpd: 0.24.5 -> 0.24.6 --- pkgs/by-name/mp/mpd/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/mp/mpd/package.nix b/pkgs/by-name/mp/mpd/package.nix index 7a152517ff9b..3bcc8851ae0a 100644 --- a/pkgs/by-name/mp/mpd/package.nix +++ b/pkgs/by-name/mp/mpd/package.nix @@ -197,13 +197,13 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "mpd"; - version = "0.24.5"; + version = "0.24.6"; src = fetchFromGitHub { owner = "MusicPlayerDaemon"; repo = "MPD"; rev = "v${finalAttrs.version}"; - sha256 = "sha256-MgepOQeOl+n65+7b8zXe2u0fCHFAviSqL1aNu2iSXiM="; + sha256 = "sha256-KAyTDfe3bEFWwImNaTOgq0jAs49kH8H+8ZJPQipN4QA="; }; buildInputs = [ From b044ad6e5e92e70d7a7723864b0ab7a6c25bafda Mon Sep 17 00:00:00 2001 From: "Adam C. Stephens" Date: Sun, 19 Oct 2025 17:47:01 -0400 Subject: [PATCH 24/27] elixir: simplifiy generic builder and overriding --- pkgs/development/beam-modules/default.nix | 10 ++-- pkgs/development/beam-modules/lib.nix | 44 --------------- pkgs/development/interpreters/elixir/1.15.nix | 6 +- pkgs/development/interpreters/elixir/1.16.nix | 6 +- pkgs/development/interpreters/elixir/1.17.nix | 6 +- pkgs/development/interpreters/elixir/1.18.nix | 6 +- pkgs/development/interpreters/elixir/1.19.nix | 6 +- .../interpreters/elixir/generic-builder.nix | 55 +++++++++---------- 8 files changed, 40 insertions(+), 99 deletions(-) diff --git a/pkgs/development/beam-modules/default.nix b/pkgs/development/beam-modules/default.nix index 34a18b07231e..f5185bc61786 100644 --- a/pkgs/development/beam-modules/default.nix +++ b/pkgs/development/beam-modules/default.nix @@ -51,27 +51,27 @@ let # BEAM-based languages. elixir = elixir_1_18; - elixir_1_19 = lib'.callElixir ../interpreters/elixir/1.19.nix { + elixir_1_19 = callPackage ../interpreters/elixir/1.19.nix { inherit erlang; debugInfo = true; }; - elixir_1_18 = lib'.callElixir ../interpreters/elixir/1.18.nix { + elixir_1_18 = callPackage ../interpreters/elixir/1.18.nix { inherit erlang; debugInfo = true; }; - elixir_1_17 = lib'.callElixir ../interpreters/elixir/1.17.nix { + elixir_1_17 = callPackage ../interpreters/elixir/1.17.nix { inherit erlang; debugInfo = true; }; - elixir_1_16 = lib'.callElixir ../interpreters/elixir/1.16.nix { + elixir_1_16 = callPackage ../interpreters/elixir/1.16.nix { inherit erlang; debugInfo = true; }; - elixir_1_15 = lib'.callElixir ../interpreters/elixir/1.15.nix { + elixir_1_15 = callPackage ../interpreters/elixir/1.15.nix { inherit erlang; debugInfo = true; }; diff --git a/pkgs/development/beam-modules/lib.nix b/pkgs/development/beam-modules/lib.nix index 368e6163daa9..be16654c2d1f 100644 --- a/pkgs/development/beam-modules/lib.nix +++ b/pkgs/development/beam-modules/lib.nix @@ -38,48 +38,4 @@ rec { versionArgs: import ../../development/interpreters/erlang/generic-builder.nix (versionArgs // args); in pkgs.callPackage (import drv genericBuilder) { }; - - /* - Uses generic-builder to evaluate provided drv containing Elixir version - specific data. - - drv: file containing version-specific args; - genericBuilder: generic builder for all Erlang versions; - args: arguments merged into version-specific args, used mostly to customize - high level options; - - Arguments passed to the generic-builder are overridable. - */ - callElixir = - drv: args: - let - builder = callPackage ../interpreters/elixir/generic-builder.nix args; - in - callPackage drv { - mkDerivation = pkgs.makeOverridable builder; - }; - - /* - Uses generic-builder to evaluate provided drv containing Elixir version - specific data. - - drv: package containing version-specific args; - builder: generic builder for all Erlang versions; - args: arguments merged into version-specific args, used mostly to customize - dependencies; - - Arguments passed to the generic-builder are overridable. - - Please note that "mkDerivation" defined here is the one called from 1.2.nix - and similar files. - */ - callLFE = - drv: args: - let - builder = callPackage ../interpreters/lfe/generic-builder.nix args; - in - callPackage drv { - mkDerivation = pkgs.makeOverridable builder; - }; - } diff --git a/pkgs/development/interpreters/elixir/1.15.nix b/pkgs/development/interpreters/elixir/1.15.nix index 4ed8e67bb8e4..ca38b3b9a2a4 100644 --- a/pkgs/development/interpreters/elixir/1.15.nix +++ b/pkgs/development/interpreters/elixir/1.15.nix @@ -1,9 +1,7 @@ -{ mkDerivation }: -mkDerivation { +import ./generic-builder.nix { version = "1.15.7"; - sha256 = "sha256-6GfZycylh+sHIuiQk/GQr1pRQRY1uBycSQdsVJ0J13k="; + hash = "sha256-6GfZycylh+sHIuiQk/GQr1pRQRY1uBycSQdsVJ0J13k="; # https://hexdocs.pm/elixir/1.15.0/compatibility-and-deprecations.html#compatibility-between-elixir-and-erlang-otp minimumOTPVersion = "24"; maximumOTPVersion = "26"; - escriptPath = "lib/elixir/scripts/generate_app.escript"; } diff --git a/pkgs/development/interpreters/elixir/1.16.nix b/pkgs/development/interpreters/elixir/1.16.nix index 1fdb4094494e..5845ff8bbb52 100644 --- a/pkgs/development/interpreters/elixir/1.16.nix +++ b/pkgs/development/interpreters/elixir/1.16.nix @@ -1,9 +1,7 @@ -{ mkDerivation }: -mkDerivation { +import ./generic-builder.nix { version = "1.16.3"; - sha256 = "sha256-WUBqoz3aQvBlSG3pTxGBpWySY7I0NUcDajQBgq5xYTU="; + hash = "sha256-WUBqoz3aQvBlSG3pTxGBpWySY7I0NUcDajQBgq5xYTU="; # https://hexdocs.pm/elixir/1.16.0/compatibility-and-deprecations.html#compatibility-between-elixir-and-erlang-otp minimumOTPVersion = "24"; maximumOTPVersion = "26"; - escriptPath = "lib/elixir/scripts/generate_app.escript"; } diff --git a/pkgs/development/interpreters/elixir/1.17.nix b/pkgs/development/interpreters/elixir/1.17.nix index 32d6654e11d5..1f0e05b6f016 100644 --- a/pkgs/development/interpreters/elixir/1.17.nix +++ b/pkgs/development/interpreters/elixir/1.17.nix @@ -1,9 +1,7 @@ -{ mkDerivation }: -mkDerivation { +import ./generic-builder.nix { version = "1.17.3"; - sha256 = "sha256-7Qo6y0KAQ9lwD4oH+7wQ4W5i6INHIBDN9IQAAsYzNJw="; + hash = "sha256-7Qo6y0KAQ9lwD4oH+7wQ4W5i6INHIBDN9IQAAsYzNJw="; # https://hexdocs.pm/elixir/1.17.3/compatibility-and-deprecations.html#compatibility-between-elixir-and-erlang-otp minimumOTPVersion = "25"; maximumOTPVersion = "27"; - escriptPath = "lib/elixir/scripts/generate_app.escript"; } diff --git a/pkgs/development/interpreters/elixir/1.18.nix b/pkgs/development/interpreters/elixir/1.18.nix index 8e4269c4d7a1..20779a12fcdd 100644 --- a/pkgs/development/interpreters/elixir/1.18.nix +++ b/pkgs/development/interpreters/elixir/1.18.nix @@ -1,8 +1,6 @@ -{ mkDerivation }: -mkDerivation { +import ./generic-builder.nix { version = "1.18.4"; - sha256 = "sha256-PwogI+HfRXy5M7Xn/KyDjm5vUquTBoGxliSV0A2AwSA="; + hash = "sha256-PwogI+HfRXy5M7Xn/KyDjm5vUquTBoGxliSV0A2AwSA="; # https://hexdocs.pm/elixir/1.18.0/compatibility-and-deprecations.html#between-elixir-and-erlang-otp minimumOTPVersion = "25"; - escriptPath = "lib/elixir/scripts/generate_app.escript"; } diff --git a/pkgs/development/interpreters/elixir/1.19.nix b/pkgs/development/interpreters/elixir/1.19.nix index 20676fe8be79..125028eef3a4 100644 --- a/pkgs/development/interpreters/elixir/1.19.nix +++ b/pkgs/development/interpreters/elixir/1.19.nix @@ -1,9 +1,7 @@ -{ mkDerivation }: -mkDerivation { +import ./generic-builder.nix { version = "1.19.1"; - sha256 = "sha256-0rJx1BoJGDS0FsXyngBfQL3LhhNZvwh+TLQZjqOPFQw="; + hash = "sha256-0rJx1BoJGDS0FsXyngBfQL3LhhNZvwh+TLQZjqOPFQw="; # https://hexdocs.pm/elixir/1.19.0-rc.1/compatibility-and-deprecations.html#between-elixir-and-erlang-otp minimumOTPVersion = "26"; maximumOTPVersion = "28"; - escriptPath = "lib/elixir/scripts/generate_app.escript"; } diff --git a/pkgs/development/interpreters/elixir/generic-builder.nix b/pkgs/development/interpreters/elixir/generic-builder.nix index 82a53c2509e8..5b7da9856fe1 100644 --- a/pkgs/development/interpreters/elixir/generic-builder.nix +++ b/pkgs/development/interpreters/elixir/generic-builder.nix @@ -1,32 +1,22 @@ { - config, - lib, - stdenv, - fetchFromGitHub, - erlang, - makeWrapper, - nix-update-script, - coreutils, - curl, - bash, - debugInfo ? false, -}@inputs: - -{ - baseName ? "elixir", version, - erlang ? inputs.erlang, + hash, minimumOTPVersion, maximumOTPVersion ? null, - sha256 ? null, - rev ? "v${version}", - src ? fetchFromGitHub { - inherit rev sha256; - owner = "elixir-lang"; - repo = "elixir"; - }, - escriptPath ? "lib/elixir/generate_app.escript", -}@args: +}: +{ + bash, + config, + coreutils, + curl, + debugInfo ? false, + erlang, + fetchFromGitHub, + lib, + makeWrapper, + nix-update-script, + stdenv, +}: let inherit (lib) @@ -79,9 +69,16 @@ if !config.allowAliases && !bothAssert then else assert assertMsg bothAssert compatibilityMsg; stdenv.mkDerivation { - pname = "${baseName}"; + pname = "elixir"; - inherit src version debugInfo; + src = fetchFromGitHub { + owner = "elixir-lang"; + repo = "elixir"; + rev = "v${version}"; + inherit hash; + }; + + inherit version debugInfo; nativeBuildInputs = [ makeWrapper ]; buildInputs = [ erlang ]; @@ -95,7 +92,7 @@ else }; preBuild = '' - patchShebangs ${escriptPath} || true + patchShebangs lib/elixir/scripts/generate_app.escript || true ''; # copy stdlib source files for LSP access @@ -136,8 +133,6 @@ else ]; }; - pos = builtins.unsafeGetAttrPos "sha256" args; - meta = { homepage = "https://elixir-lang.org/"; description = "Functional, meta-programming aware language built on top of the Erlang VM"; From a6139c3df927ae8c7c31892c1c0067f0aef7c804 Mon Sep 17 00:00:00 2001 From: "Adam C. Stephens" Date: Sun, 19 Oct 2025 18:29:26 -0400 Subject: [PATCH 25/27] erlang: drop extra lib --- pkgs/development/beam-modules/default.nix | 2 -- pkgs/development/beam-modules/lib.nix | 41 ----------------------- pkgs/top-level/beam-packages.nix | 17 +++++++--- 3 files changed, 12 insertions(+), 48 deletions(-) delete mode 100644 pkgs/development/beam-modules/lib.nix diff --git a/pkgs/development/beam-modules/default.nix b/pkgs/development/beam-modules/default.nix index f5185bc61786..15ddc31e9347 100644 --- a/pkgs/development/beam-modules/default.nix +++ b/pkgs/development/beam-modules/default.nix @@ -8,8 +8,6 @@ let pkgs = __splicedPackages; inherit (lib) makeExtensible; - lib' = pkgs.callPackage ./lib.nix { }; - # FIXME: add support for overrideScope callPackageWithScope = scope: drv: args: diff --git a/pkgs/development/beam-modules/lib.nix b/pkgs/development/beam-modules/lib.nix deleted file mode 100644 index be16654c2d1f..000000000000 --- a/pkgs/development/beam-modules/lib.nix +++ /dev/null @@ -1,41 +0,0 @@ -{ __splicedPackages, lib }: - -let - pkgs = __splicedPackages; -in -rec { - - # Similar to callPackageWith/callPackage, but without makeOverridable - callPackageWith = - autoArgs: fn: args: - let - f = if pkgs.lib.isFunction fn then fn else import fn; - auto = builtins.intersectAttrs (lib.functionArgs f) autoArgs; - in - f (auto // args); - - callPackage = callPackageWith pkgs; - - /* - Uses generic-builder to evaluate provided drv containing OTP-version - specific data. - - drv: package containing version-specific args; - builder: generic builder for all Erlang versions; - args: arguments merged into version-specific args, used mostly to customize - dependencies; - - Arguments passed to the generic-builder are overridable, used to - enable/disable high-level OTP features, like ODBC or WX support; - - Please note that "mkDerivation" defined here is the one called from R16.nix - and similar files. - */ - callErlang = - drv: args: - let - genericBuilder = - versionArgs: import ../../development/interpreters/erlang/generic-builder.nix (versionArgs // args); - in - pkgs.callPackage (import drv genericBuilder) { }; -} diff --git a/pkgs/top-level/beam-packages.nix b/pkgs/top-level/beam-packages.nix index c46d12eca8eb..fecf5d78208b 100644 --- a/pkgs/top-level/beam-packages.nix +++ b/pkgs/top-level/beam-packages.nix @@ -6,16 +6,23 @@ wxSupport ? true, systemd, systemdSupport ? lib.meta.availableOn stdenv.hostPlatform systemd, + __splicedPackages, }: let self = beam; + pkgs = __splicedPackages; + callErlang = + drv: args: + let + genericBuilder = + versionArgs: import ../development/interpreters/erlang/generic-builder.nix (versionArgs // args); + in + pkgs.callPackage (import drv genericBuilder) { }; in { - beamLib = callPackage ../development/beam-modules/lib.nix { }; - latestVersion = "erlang_28"; # Each @@ -27,15 +34,15 @@ in # # Three versions are supported according to https://github.com/erlang/otp/security - erlang_28 = self.beamLib.callErlang ../development/interpreters/erlang/28.nix { + erlang_28 = callErlang ../development/interpreters/erlang/28.nix { inherit wxSupport systemdSupport; }; - erlang_27 = self.beamLib.callErlang ../development/interpreters/erlang/27.nix { + erlang_27 = callErlang ../development/interpreters/erlang/27.nix { inherit wxSupport systemdSupport; }; - erlang_26 = self.beamLib.callErlang ../development/interpreters/erlang/26.nix { + erlang_26 = callErlang ../development/interpreters/erlang/26.nix { inherit wxSupport systemdSupport; }; From 97aaac0bb197d8dbb41aa0f7f9563ce68e24c456 Mon Sep 17 00:00:00 2001 From: Andrew Zah Date: Tue, 21 Oct 2025 10:56:10 +0900 Subject: [PATCH 26/27] libclipboard: fix build issue with cmake 4 --- pkgs/by-name/li/libclipboard/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/li/libclipboard/package.nix b/pkgs/by-name/li/libclipboard/package.nix index 122cbb651ab9..d2cad0072f8b 100644 --- a/pkgs/by-name/li/libclipboard/package.nix +++ b/pkgs/by-name/li/libclipboard/package.nix @@ -20,6 +20,11 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-553hNG8QUlt/Aff9EKYr6w279ELr+2MX7nh1SKIklhA="; }; + postPatch = '' + substituteInPlace CMakeLists.txt \ + --replace-fail "cmake_minimum_required(VERSION 2.8)" "cmake_minimum_required(VERSION 3.10)" + ''; + buildInputs = [ libxcb libXau From 7cb33540161f47f2a252f413cc058a62263ee353 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 21 Oct 2025 02:14:49 +0000 Subject: [PATCH 27/27] speedscope: 1.23.1 -> 1.24.0 --- pkgs/by-name/sp/speedscope/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/sp/speedscope/package.nix b/pkgs/by-name/sp/speedscope/package.nix index 4c75e2e21633..cfa8807566e7 100644 --- a/pkgs/by-name/sp/speedscope/package.nix +++ b/pkgs/by-name/sp/speedscope/package.nix @@ -7,13 +7,13 @@ buildNpmPackage rec { pname = "speedscope"; - version = "1.23.1"; + version = "1.24.0"; src = fetchFromGitHub { owner = "jlfwong"; repo = "speedscope"; tag = "v${version}"; - hash = "sha256-PIyx4ceihTSLRDP5MW3n6edtYNFOnx8Uo7qUWW7LTs8="; + hash = "sha256-QL+Hm3ujfZeKHMoNgQdxYStgWOIbxjDmXMHKnWddTfs="; # scripts/prepack.sh wants to extract the git commit from .git # We don't want to keep .git for reproducibility reasons, so save the commit @@ -25,7 +25,7 @@ buildNpmPackage rec { ''; }; - npmDepsHash = "sha256-xpFrkKAaFbVE1zJ/haibQte4HjUWmeBR8BVjZuSoyjI="; + npmDepsHash = "sha256-MgCIiVeq9w5XRPIsZ/9AbZpVwRQdzZgK7VC5Gl7cn78="; patches = [ ./fix-shebang.patch