From 2542b5e16ef66a1ff95e07767f5dbb0cb36f8bba Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 2 Jun 2025 17:34:46 +0000 Subject: [PATCH 01/37] dxx-rebirth: 0.60.0-beta2-unstable-2025-03-29 -> 0.60.0-beta2-unstable-2025-05-24 --- pkgs/games/dxx-rebirth/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/games/dxx-rebirth/default.nix b/pkgs/games/dxx-rebirth/default.nix index 378cc9bb60dd..a0186148e404 100644 --- a/pkgs/games/dxx-rebirth/default.nix +++ b/pkgs/games/dxx-rebirth/default.nix @@ -24,13 +24,13 @@ let in stdenv.mkDerivation { pname = "dxx-rebirth"; - version = "0.60.0-beta2-unstable-2025-03-29"; + version = "0.60.0-beta2-unstable-2025-05-24"; src = fetchFromGitHub { owner = "dxx-rebirth"; repo = "dxx-rebirth"; - rev = "ddc84fa623ed508073cf99244db731bd73f36b6b"; - hash = "sha256-VZ3PQ4YECM+z+V1zPSNdgIIBFjRIAunEmhENJAUj+P8="; + rev = "7a84b3f307ac6f72fd440e55b149d7c2c942dfaf"; + hash = "sha256-b3rMitf2kw8y0EXwxeKKB8bqzCUaIaMQmpV1gtdcLis="; }; nativeBuildInputs = [ From 825d82146cdbadaa3189013a79fd85b106ffa5b2 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 3 Jun 2025 12:40:24 +0000 Subject: [PATCH 02/37] uwsgi: 2.0.29 -> 2.0.30 --- pkgs/by-name/uw/uwsgi/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/uw/uwsgi/package.nix b/pkgs/by-name/uw/uwsgi/package.nix index 6c1aeda8e297..29649d754025 100644 --- a/pkgs/by-name/uw/uwsgi/package.nix +++ b/pkgs/by-name/uw/uwsgi/package.nix @@ -80,13 +80,13 @@ in stdenv.mkDerivation (finalAttrs: { pname = "uwsgi"; - version = "2.0.29"; + version = "2.0.30"; src = fetchFromGitHub { owner = "unbit"; repo = "uwsgi"; tag = finalAttrs.version; - hash = "sha256-WlbvvAu+A0anPItnG8RnWrXm450/xbOloPzUd2L9TuU="; + hash = "sha256-I03AshxZyxrRmtYUH1Q+B6ISykjYRMGG+ZQSHRS7vDs="; }; patches = [ From aa872efc3cc63e9bf90cabd1c808f817ea7ac4fa Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 3 Jun 2025 21:32:28 +0000 Subject: [PATCH 03/37] dolphin-emu-primehack: 1.0.7a -> 1.0.8 --- pkgs/by-name/do/dolphin-emu-primehack/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/do/dolphin-emu-primehack/package.nix b/pkgs/by-name/do/dolphin-emu-primehack/package.nix index cddbe407e301..5b054090e6a5 100644 --- a/pkgs/by-name/do/dolphin-emu-primehack/package.nix +++ b/pkgs/by-name/do/dolphin-emu-primehack/package.nix @@ -52,14 +52,14 @@ stdenv.mkDerivation (finalAttrs: { pname = "dolphin-emu-primehack"; - version = "1.0.7a"; + version = "1.0.8"; src = fetchFromGitHub { owner = "shiiion"; repo = "dolphin"; tag = finalAttrs.version; fetchSubmodules = true; - hash = "sha256-vuTSXQHnR4HxAGGiPg5tUzfiXROU3+E9kyjH+T6zVmc="; + hash = "sha256-/9AabEJ2ZOvHeSGXWRuOucmjleBMRcJfhX+VDeldbgo="; }; nativeBuildInputs = From 9ac95ab48a9b325f66275cb2ed6110b93b0bfbb1 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 4 Jun 2025 13:01:18 +0000 Subject: [PATCH 04/37] rosegarden: 24.12.1 -> 25.06 --- pkgs/by-name/ro/rosegarden/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ro/rosegarden/package.nix b/pkgs/by-name/ro/rosegarden/package.nix index 002b5e24bdc9..eea5928db436 100644 --- a/pkgs/by-name/ro/rosegarden/package.nix +++ b/pkgs/by-name/ro/rosegarden/package.nix @@ -31,11 +31,11 @@ stdenv.mkDerivation rec { pname = "rosegarden"; - version = "24.12.1"; + version = "25.06"; src = fetchurl { url = "mirror://sourceforge/rosegarden/${pname}-${version}.tar.xz"; - sha256 = "sha256-VmltXEu7Qn7lViT2ICn+6zJlzDSlFG6P69evRRX0iTI="; + sha256 = "sha256-df5SsAWJlHHMSw5JVL5dNe4c6PQWWauO9IomF4qlw20="; }; postPhase = '' From 350bd058bb85a0b79025b34be9cabd5f8f376433 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 4 Jun 2025 21:46:42 +0000 Subject: [PATCH 05/37] xeus: 5.2.2 -> 5.2.3 --- pkgs/by-name/xe/xeus/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/xe/xeus/package.nix b/pkgs/by-name/xe/xeus/package.nix index 9e9476ca8f25..d2bb4afed02a 100644 --- a/pkgs/by-name/xe/xeus/package.nix +++ b/pkgs/by-name/xe/xeus/package.nix @@ -12,13 +12,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "xeus"; - version = "5.2.2"; + version = "5.2.3"; src = fetchFromGitHub { owner = "jupyter-xeus"; repo = "xeus"; tag = finalAttrs.version; - hash = "sha256-nR247SGnc3TSj6PCrJmY6ccACvYKeSYFMgoawyYLBNs="; + hash = "sha256-7hT2Ellgut25R3R28nRKd6/kKmfQf9NCoJ2BV9ZGt8I="; }; nativeBuildInputs = [ From 0bb67bee142d3dead87e6ee4ef01e662ee43c994 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 8 Jun 2025 15:58:02 +0000 Subject: [PATCH 06/37] benthos: 4.51.0 -> 4.52.0 --- pkgs/by-name/be/benthos/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/be/benthos/package.nix b/pkgs/by-name/be/benthos/package.nix index d68e21988b29..3f7de08e3406 100644 --- a/pkgs/by-name/be/benthos/package.nix +++ b/pkgs/by-name/be/benthos/package.nix @@ -7,13 +7,13 @@ buildGoModule rec { pname = "benthos"; - version = "4.51.0"; + version = "4.52.0"; src = fetchFromGitHub { owner = "redpanda-data"; repo = "benthos"; tag = "v${version}"; - hash = "sha256-GOI878JBRXrJsy0MRFyW6pH4UGj6ZOOqBElLUesqZ24="; + hash = "sha256-TGGDZzjVgRADJq5u4b5RznVzIxk2EUKM3Y2rbhgv7yQ="; }; proxyVendor = true; @@ -22,7 +22,7 @@ buildGoModule rec { "cmd/benthos" ]; - vendorHash = "sha256-S3rxNRr1O8+90VTUEFBPdo3uUftqSj8lvCNAdQNs7SQ="; + vendorHash = "sha256-lNn/lqY1Q/8mRERrgPuE9GEun6tqrVQjtVUGRJk5W+0="; # doCheck = false; From 27f604903633c8cc2cefd40b7b9255c8612be3b9 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 9 Jun 2025 06:28:38 +0000 Subject: [PATCH 07/37] codeql: 2.21.3 -> 2.21.4 --- pkgs/by-name/co/codeql/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/co/codeql/package.nix b/pkgs/by-name/co/codeql/package.nix index 4c2176935ebc..bf636b299d32 100644 --- a/pkgs/by-name/co/codeql/package.nix +++ b/pkgs/by-name/co/codeql/package.nix @@ -11,7 +11,7 @@ stdenv.mkDerivation rec { pname = "codeql"; - version = "2.21.3"; + version = "2.21.4"; dontConfigure = true; dontBuild = true; @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { src = fetchzip { url = "https://github.com/github/codeql-cli-binaries/releases/download/v${version}/codeql.zip"; - hash = "sha256-faScyQ8Y9MOkWSYppAE09yEaL/+m3mPGkcfCtBsCdUk="; + hash = "sha256-iC6P/GhMw7Sf8Ic6oglB+GFLWBrZZ+YuOJbyNm99ypc="; }; nativeBuildInputs = [ From 7ffe11cedd3017596fe84d1a1fc1925d2917e5fc Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 9 Jun 2025 12:34:34 +0000 Subject: [PATCH 08/37] isolate: 2.0 -> 2.1 --- pkgs/by-name/is/isolate/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/is/isolate/package.nix b/pkgs/by-name/is/isolate/package.nix index 18eef4c57a74..3ac84d6a4fac 100644 --- a/pkgs/by-name/is/isolate/package.nix +++ b/pkgs/by-name/is/isolate/package.nix @@ -12,13 +12,13 @@ stdenv.mkDerivation rec { pname = "isolate"; - version = "2.0"; + version = "2.1"; src = fetchFromGitHub { owner = "ioi"; repo = "isolate"; rev = "v${version}"; - hash = "sha256-kKXkXPVB9ojyIERvEdkHkXC//Agin8FPcpTBmTxh/ZE="; + hash = "sha256-mTh2IAh4xtLWlRu7gp3aXsGJdUWXnocvDyi8JZwzz9s="; }; nativeBuildInputs = [ From 247e70e520f87ba0782e8efbf7c8878c1a5df9c0 Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Mon, 9 Jun 2025 14:49:46 +0200 Subject: [PATCH 09/37] ayatana-indicator-datetime: 24.5.1 -> 25.4.0 Turning off Lomiri features in this derivation, because it now results in a different indicator. --- pkgs/by-name/ay/ayatana-indicator-datetime/package.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ay/ayatana-indicator-datetime/package.nix b/pkgs/by-name/ay/ayatana-indicator-datetime/package.nix index c9e5f682879f..6014f98fe6e6 100644 --- a/pkgs/by-name/ay/ayatana-indicator-datetime/package.nix +++ b/pkgs/by-name/ay/ayatana-indicator-datetime/package.nix @@ -25,6 +25,8 @@ systemd, tzdata, wrapGAppsHook3, + # Generated a different indicator + enableLomiriFeatures ? false, }: let @@ -32,13 +34,13 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "ayatana-indicator-datetime"; - version = "24.5.1"; + version = "25.4.0"; src = fetchFromGitHub { owner = "AyatanaIndicators"; repo = "ayatana-indicator-datetime"; tag = finalAttrs.version; - hash = "sha256-rbKAixFjXOMYzduABmoIXissQXAoehfbkNntdtRyAqA="; + hash = "sha256-8E9ucy8I0w9DDzsLtzJgICz/e0TNqOHgls9LrgA5nk4="; }; postPatch = '' @@ -82,6 +84,8 @@ stdenv.mkDerivation (finalAttrs: { ]) ++ (with lomiri; [ cmake-extras + ]) + ++ lib.optionals enableLomiriFeatures (with lomiri; [ lomiri-schemas lomiri-sounds lomiri-url-dispatcher @@ -102,7 +106,7 @@ stdenv.mkDerivation (finalAttrs: { cmakeFlags = [ (lib.cmakeBool "GSETTINGS_LOCALINSTALL" true) (lib.cmakeBool "GSETTINGS_COMPILE" true) - (lib.cmakeBool "ENABLE_LOMIRI_FEATURES" true) + (lib.cmakeBool "ENABLE_LOMIRI_FEATURES" enableLomiriFeatures) (lib.cmakeBool "ENABLE_TESTS" finalAttrs.finalPackage.doCheck) ]; From 00414bf3043cf189af3fc09bfd6754d8484b5ac2 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 9 Jun 2025 13:46:01 +0000 Subject: [PATCH 10/37] go-swagger: 0.31.0 -> 0.32.3 --- pkgs/by-name/go/go-swagger/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/go/go-swagger/package.nix b/pkgs/by-name/go/go-swagger/package.nix index 66ec2adea344..f92e86b05839 100644 --- a/pkgs/by-name/go/go-swagger/package.nix +++ b/pkgs/by-name/go/go-swagger/package.nix @@ -6,16 +6,16 @@ buildGoModule rec { pname = "go-swagger"; - version = "0.31.0"; + version = "0.32.3"; src = fetchFromGitHub { owner = "go-swagger"; repo = "go-swagger"; tag = "v${version}"; - hash = "sha256-PeH9bkRObsw4+ttuWhaPfPQQTOAw8pwlgTEtPoUBiIQ="; + hash = "sha256-L6EfHNwykqGtA1CZd/Py6QqeCz10VGjX/lEVHs6VB6g="; }; - vendorHash = "sha256-PBzJMXPZ2gVdrW3ZeerhR1BeT9vWIIS1vCTjz3UFHes="; + vendorHash = "sha256-UQbPVrLehl2jwGXdJPrRo6JsAd/2A+NKEQwkRr3reOY="; doCheck = false; From 83d711f42556be40bfeb1c1738cb8924ad64be88 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 10 Jun 2025 03:52:10 +0000 Subject: [PATCH 11/37] openterface-qt: 0.3.14 -> 0.3.15 --- pkgs/by-name/op/openterface-qt/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/op/openterface-qt/package.nix b/pkgs/by-name/op/openterface-qt/package.nix index e80e78732f9e..b4501a6b64ab 100644 --- a/pkgs/by-name/op/openterface-qt/package.nix +++ b/pkgs/by-name/op/openterface-qt/package.nix @@ -22,12 +22,12 @@ let in stdenv.mkDerivation (final: { pname = "openterface-qt"; - version = "0.3.14"; + version = "0.3.15"; src = fetchFromGitHub { owner = "TechxArtisanStudio"; repo = "Openterface_QT"; rev = "${final.version}"; - hash = "sha256-HHHLQwycnMme3Ch538ram6tkG3OYUcd4NFCUcL4vIjk="; + hash = "sha256-wU30m8dQirrLcYNFs4lTKIrng7B4HapHeVsyLR619PY="; }; nativeBuildInputs = [ copyDesktopItems From c0a2dbe98e801f91dee2c60be8093f91ad194fbe Mon Sep 17 00:00:00 2001 From: ners Date: Fri, 13 Jun 2025 13:04:12 +0200 Subject: [PATCH 12/37] jetbrains-toolbox: correctly pass ICU dependency --- pkgs/by-name/je/jetbrains-toolbox/package.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/je/jetbrains-toolbox/package.nix b/pkgs/by-name/je/jetbrains-toolbox/package.nix index bcad3fc51150..c2ffbfd54493 100644 --- a/pkgs/by-name/je/jetbrains-toolbox/package.nix +++ b/pkgs/by-name/je/jetbrains-toolbox/package.nix @@ -55,9 +55,6 @@ let src = appimageTools.extractType2 { inherit pname version; src = source + "/jetbrains-toolbox"; - postExtract = '' - patchelf --add-rpath ${lib.makeLibraryPath [ icu ]} $out/jetbrains-toolbox - ''; }; nativeBuildInputs = [ makeWrapper ]; @@ -66,7 +63,12 @@ let install -Dm644 ${src}/jetbrains-toolbox.desktop $out/share/applications/jetbrains-toolbox.desktop install -Dm644 ${src}/.DirIcon $out/share/icons/hicolor/scalable/apps/jetbrains-toolbox.svg wrapProgram $out/bin/jetbrains-toolbox \ - --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libappindicator-gtk3 ]} \ + --prefix LD_LIBRARY_PATH : ${ + lib.makeLibraryPath [ + icu + libappindicator-gtk3 + ] + } \ --append-flags "--update-failed" ''; From 1a6b286b9cab5159b9d6f18ace3e103fcfc81dfc Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Fri, 13 Jun 2025 13:49:14 +0200 Subject: [PATCH 13/37] lomiri.lomiri-indicator-datetime: init at 25.4.0 ayatana-indicator-datetime, overridden to enable Lomiri features. --- .../services/desktop-managers/lomiri.nix | 4 +- nixos/tests/ayatana-indicators.nix | 1 + .../ay/ayatana-indicator-datetime/package.nix | 167 ++++++++++++------ .../lomiri-system-settings/default.nix | 4 +- .../lomiri/applications/lomiri/default.nix | 4 +- pkgs/desktops/lomiri/default.nix | 2 + 6 files changed, 125 insertions(+), 57 deletions(-) diff --git a/nixos/modules/services/desktop-managers/lomiri.nix b/nixos/modules/services/desktop-managers/lomiri.nix index 187b14b71b57..57b38f81f0f3 100644 --- a/nixos/modules/services/desktop-managers/lomiri.nix +++ b/nixos/modules/services/desktop-managers/lomiri.nix @@ -62,9 +62,11 @@ in packages = ( with pkgs; [ - ayatana-indicator-datetime # Clock ayatana-indicator-session # Controls for shutting down etc ] + ++ (with lomiri; [ + lomiri-indicator-datetime # Clock + ]) ); }; }) diff --git a/nixos/tests/ayatana-indicators.nix b/nixos/tests/ayatana-indicators.nix index 3c11740ae036..7efbc3d5f160 100644 --- a/nixos/tests/ayatana-indicators.nix +++ b/nixos/tests/ayatana-indicators.nix @@ -42,6 +42,7 @@ in ayatana-indicator-sound ] ++ (with pkgs.lomiri; [ + lomiri-indicator-datetime lomiri-indicator-network lomiri-telephony-service ]); diff --git a/pkgs/by-name/ay/ayatana-indicator-datetime/package.nix b/pkgs/by-name/ay/ayatana-indicator-datetime/package.nix index 6014f98fe6e6..64cafe4c63c2 100644 --- a/pkgs/by-name/ay/ayatana-indicator-datetime/package.nix +++ b/pkgs/by-name/ay/ayatana-indicator-datetime/package.nix @@ -9,6 +9,7 @@ dbus, dbus-test-runner, evolution-data-server, + extra-cmake-modules, glib, gst_all_1, gtest, @@ -16,7 +17,9 @@ libaccounts-glib, libayatana-common, libical, + mkcal, libnotify, + libsForQt5, libuuid, lomiri, pkg-config, @@ -25,7 +28,7 @@ systemd, tzdata, wrapGAppsHook3, - # Generated a different indicator + # Generates a different indicator enableLomiriFeatures ? false, }: @@ -33,7 +36,7 @@ let edsDataDir = "${evolution-data-server}/share"; in stdenv.mkDerivation (finalAttrs: { - pname = "ayatana-indicator-datetime"; + pname = "${if enableLomiriFeatures then "lomiri" else "ayatana"}-indicator-datetime"; version = "25.4.0"; src = fetchFromGitHub { @@ -43,35 +46,39 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-8E9ucy8I0w9DDzsLtzJgICz/e0TNqOHgls9LrgA5nk4="; }; - postPatch = '' - # Override systemd prefix - substituteInPlace data/CMakeLists.txt \ - --replace-fail 'pkg_get_variable(SYSTEMD_USER_DIR systemd systemduserunitdir)' 'pkg_get_variable(SYSTEMD_USER_DIR systemd systemduserunitdir DEFINE_VARIABLES prefix=''${CMAKE_INSTALL_PREFIX})' \ - --replace-fail 'XDG_AUTOSTART_DIR "/etc' 'XDG_AUTOSTART_DIR "''${CMAKE_INSTALL_FULL_SYSCONFDIR}' - - # Looking for Lomiri schemas for code generation - substituteInPlace src/CMakeLists.txt \ - --replace-fail '/usr/share/accountsservice' '${lomiri.lomiri-schemas}/share/accountsservice' - ''; + postPatch = + '' + # Override systemd prefix + substituteInPlace data/CMakeLists.txt \ + --replace-fail 'pkg_get_variable(SYSTEMD_USER_DIR systemd systemduserunitdir)' 'pkg_get_variable(SYSTEMD_USER_DIR systemd systemduserunitdir DEFINE_VARIABLES prefix=''${CMAKE_INSTALL_PREFIX})' \ + --replace-fail 'XDG_AUTOSTART_DIR "/etc' 'XDG_AUTOSTART_DIR "''${CMAKE_INSTALL_FULL_SYSCONFDIR}' + '' + + lib.optionalString enableLomiriFeatures '' + # Looking for Lomiri schemas for code generation + substituteInPlace src/CMakeLists.txt \ + --replace-fail '/usr/share/accountsservice' '${lomiri.lomiri-schemas}/share/accountsservice' + ''; strictDeps = true; - nativeBuildInputs = [ - cmake - glib # for schema hook - intltool - pkg-config - wrapGAppsHook3 - ]; + nativeBuildInputs = + [ + cmake + glib # for schema hook + intltool + pkg-config + wrapGAppsHook3 + ] + ++ lib.optionals enableLomiriFeatures [ + libsForQt5.wrapQtAppsHook + ]; buildInputs = [ ayatana-indicator-messages - evolution-data-server glib libaccounts-glib libayatana-common - libical libnotify libuuid properties-cpp @@ -85,11 +92,29 @@ stdenv.mkDerivation (finalAttrs: { ++ (with lomiri; [ cmake-extras ]) - ++ lib.optionals enableLomiriFeatures (with lomiri; [ - lomiri-schemas - lomiri-sounds - lomiri-url-dispatcher - ]); + ++ ( + if enableLomiriFeatures then + ( + [ + extra-cmake-modules + mkcal + ] + ++ (with libsForQt5; [ + kcalendarcore + qtbase + ]) + ++ (with lomiri; [ + lomiri-schemas + lomiri-sounds + lomiri-url-dispatcher + ]) + ) + else + [ + evolution-data-server + libical + ] + ); nativeCheckInputs = [ dbus @@ -103,12 +128,31 @@ stdenv.mkDerivation (finalAttrs: { gtest ]; - cmakeFlags = [ - (lib.cmakeBool "GSETTINGS_LOCALINSTALL" true) - (lib.cmakeBool "GSETTINGS_COMPILE" true) - (lib.cmakeBool "ENABLE_LOMIRI_FEATURES" enableLomiriFeatures) - (lib.cmakeBool "ENABLE_TESTS" finalAttrs.finalPackage.doCheck) - ]; + dontWrapQtApps = true; + + cmakeFlags = + [ + (lib.cmakeBool "GSETTINGS_LOCALINSTALL" true) + (lib.cmakeBool "GSETTINGS_COMPILE" true) + (lib.cmakeBool "ENABLE_LOMIRI_FEATURES" enableLomiriFeatures) + (lib.cmakeBool "ENABLE_TESTS" finalAttrs.finalPackage.doCheck) + ] + ++ lib.optionals enableLomiriFeatures [ + (lib.cmakeFeature "CMAKE_CTEST_ARGUMENTS" ( + lib.concatStringsSep ";" [ + # Exclude tests + "-E" + (lib.strings.escapeShellArg "(${ + lib.concatStringsSep "|" [ + # Don't know why these fail yet + "^test-eds-ics-repeating-events" + "^test-eds-ics-nonrepeating-events" + "^test-eds-ics-missing-trigger" + ] + })") + ] + )) + ]; doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform; @@ -116,34 +160,51 @@ stdenv.mkDerivation (finalAttrs: { preCheck = '' export XDG_DATA_DIRS=${ - lib.strings.concatStringsSep ":" [ - # org.ayatana.common schema - (glib.passthru.getSchemaDataDirPath libayatana-common) - - # loading EDS engines to handle ICS-loading - edsDataDir - ] + lib.strings.concatStringsSep ":" ( + [ + # org.ayatana.common schema + (glib.passthru.getSchemaDataDirPath libayatana-common) + ] + ++ lib.optionals (!enableLomiriFeatures) [ + # loading EDS engines to handle ICS-loading + edsDataDir + ] + ) } ''; - # schema is already added automatically by wrapper, EDS needs to be added explicitly - preFixup = '' - gappsWrapperArgs+=( - --prefix XDG_DATA_DIRS : "${edsDataDir}" + preFixup = + '' + gappsWrapperArgs+=( + '' + + ( + if enableLomiriFeatures then + '' + "''${qtWrapperArgs[@]}" + '' + else + # schema is already added automatically by wrapper, EDS needs to be added explicitly + '' + --prefix XDG_DATA_DIRS : "${edsDataDir}" + '' ) - ''; + + '' + ) + ''; passthru = { ayatana-indicators = { - ayatana-indicator-datetime = [ - "ayatana" - "lomiri" + "${if enableLomiriFeatures then "lomiri" else "ayatana"}-indicator-datetime" = [ + (if enableLomiriFeatures then "lomiri" else "ayatana") ]; }; - tests = { - startup = nixosTests.ayatana-indicators; - lomiri = nixosTests.lomiri.desktop-ayatana-indicator-datetime; - }; + tests = + { + startup = nixosTests.ayatana-indicators; + } + // lib.optionalAttrs enableLomiriFeatures { + lomiri = nixosTests.lomiri.desktop-ayatana-indicator-datetime; + }; updateScript = gitUpdater { }; }; @@ -156,7 +217,9 @@ stdenv.mkDerivation (finalAttrs: { homepage = "https://github.com/AyatanaIndicators/ayatana-indicator-datetime"; changelog = "https://github.com/AyatanaIndicators/ayatana-indicator-datetime/blob/${finalAttrs.version}/ChangeLog"; license = lib.licenses.gpl3Only; - maintainers = with lib.maintainers; [ OPNA2608 ]; + teams = [ + lib.teams.lomiri + ]; platforms = lib.platforms.linux; }; }) diff --git a/pkgs/desktops/lomiri/applications/lomiri-system-settings/default.nix b/pkgs/desktops/lomiri/applications/lomiri-system-settings/default.nix index 5c771772e58a..b1bcd75d3a48 100644 --- a/pkgs/desktops/lomiri/applications/lomiri-system-settings/default.nix +++ b/pkgs/desktops/lomiri/applications/lomiri-system-settings/default.nix @@ -5,7 +5,6 @@ gitUpdater, testers, accountsservice, - ayatana-indicator-datetime, biometryd, cmake, cmake-extras, @@ -24,6 +23,7 @@ libqtdbustest, libqtdbusmock, lomiri-content-hub, + lomiri-indicator-datetime, lomiri-indicator-network, lomiri-schemas, lomiri-settings-components, @@ -121,10 +121,10 @@ stdenv.mkDerivation (finalAttrs: { # QML components and schemas the wrapper needs propagatedBuildInputs = [ - ayatana-indicator-datetime biometryd libqofono lomiri-content-hub + lomiri-indicator-datetime lomiri-indicator-network lomiri-schemas lomiri-settings-components diff --git a/pkgs/desktops/lomiri/applications/lomiri/default.nix b/pkgs/desktops/lomiri/applications/lomiri/default.nix index 1ba3ed098dcc..3d14adf25ec0 100644 --- a/pkgs/desktops/lomiri/applications/lomiri/default.nix +++ b/pkgs/desktops/lomiri/applications/lomiri/default.nix @@ -7,7 +7,6 @@ linkFarm, replaceVars, nixosTests, - ayatana-indicator-datetime, bash, biometryd, boost, @@ -33,6 +32,7 @@ lomiri-api, lomiri-app-launch, lomiri-download-manager, + lomiri-indicator-datetime, lomiri-indicator-network, lomiri-notifications, lomiri-settings-components, @@ -143,7 +143,6 @@ stdenv.mkDerivation (finalAttrs: { ]; buildInputs = [ - ayatana-indicator-datetime bash boost cmake-extras @@ -163,6 +162,7 @@ stdenv.mkDerivation (finalAttrs: { lomiri-api lomiri-app-launch lomiri-download-manager + lomiri-indicator-datetime lomiri-indicator-network lomiri-schemas lomiri-system-settings-unwrapped diff --git a/pkgs/desktops/lomiri/default.nix b/pkgs/desktops/lomiri/default.nix index d5bb64b2893b..893165171bb5 100644 --- a/pkgs/desktops/lomiri/default.nix +++ b/pkgs/desktops/lomiri/default.nix @@ -2,6 +2,7 @@ config, lib, pkgs, + ayatana-indicator-datetime, libsForQt5, }: @@ -63,6 +64,7 @@ let hfd-service = callPackage ./services/hfd-service { }; lomiri-download-manager = callPackage ./services/lomiri-download-manager { }; lomiri-history-service = callPackage ./services/lomiri-history-service { }; + lomiri-indicator-datetime = ayatana-indicator-datetime.override { enableLomiriFeatures = true; }; lomiri-indicator-network = callPackage ./services/lomiri-indicator-network { }; lomiri-polkit-agent = callPackage ./services/lomiri-polkit-agent { }; lomiri-telephony-service = callPackage ./services/lomiri-telephony-service { }; From 35a93f00039d022c55719b1c7fe92836c4479a51 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 15 Jun 2025 02:17:28 +0000 Subject: [PATCH 14/37] space-station-14-launcher: 0.31.0 -> 0.32.1 --- pkgs/by-name/sp/space-station-14-launcher/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/sp/space-station-14-launcher/package.nix b/pkgs/by-name/sp/space-station-14-launcher/package.nix index 54bff729de14..f0c60006a00d 100644 --- a/pkgs/by-name/sp/space-station-14-launcher/package.nix +++ b/pkgs/by-name/sp/space-station-14-launcher/package.nix @@ -36,7 +36,7 @@ soundfont-path ? "${soundfont-fluid}/share/soundfonts/FluidR3_GM2-2.sf2", }: let - version = "0.31.0"; + version = "0.32.1"; pname = "space-station-14-launcher"; in buildDotnetModule rec { @@ -50,7 +50,7 @@ buildDotnetModule rec { owner = "space-wizards"; repo = "SS14.Launcher"; rev = "v${version}"; - hash = "sha256-lEgJ+GdmiSQMl/l+CTBIUevMcJi+yVvFuS3buTNCYW4="; + hash = "sha256-Es+DBwWh2QxCev+Aepi8ItTXSYIgNgb05zdScOBZNJs="; fetchSubmodules = true; }; From c7f60b9f7c1c3f09dcd04641a9b27756f30189bf Mon Sep 17 00:00:00 2001 From: Arsenii Zorin Date: Mon, 16 Jun 2025 13:37:55 +0300 Subject: [PATCH 15/37] cloudflared: 2025.5.0 -> 2025.6.0 --- pkgs/by-name/cl/cloudflared/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/cl/cloudflared/package.nix b/pkgs/by-name/cl/cloudflared/package.nix index be176f3ba897..486cc54baa92 100644 --- a/pkgs/by-name/cl/cloudflared/package.nix +++ b/pkgs/by-name/cl/cloudflared/package.nix @@ -9,13 +9,13 @@ buildGoModule rec { pname = "cloudflared"; - version = "2025.5.0"; + version = "2025.6.0"; src = fetchFromGitHub { owner = "cloudflare"; repo = "cloudflared"; tag = version; - hash = "sha256-ZnkE9x4A9HoiSXzvYuzyW/dH08r0aJUk/q6gFVgtTjk="; + hash = "sha256-yDYfOP1rsiTZqcVRRtTw82I2Vh0WdpUCB1VTWuX3GWs="; }; vendorHash = null; From 7c701efdc22197fdb1b35903e152b65151316376 Mon Sep 17 00:00:00 2001 From: Lukas Nagel Date: Sat, 14 Jun 2025 17:48:34 +0200 Subject: [PATCH 16/37] php.extensions.systemd: init at 0.1.2-unstable-2018-06-11 --- .../php-packages/systemd/default.nix | 54 +++++++++++++++++++ pkgs/top-level/php-packages.nix | 2 + 2 files changed, 56 insertions(+) create mode 100644 pkgs/development/php-packages/systemd/default.nix diff --git a/pkgs/development/php-packages/systemd/default.nix b/pkgs/development/php-packages/systemd/default.nix new file mode 100644 index 000000000000..3aed6066798e --- /dev/null +++ b/pkgs/development/php-packages/systemd/default.nix @@ -0,0 +1,54 @@ +{ + buildPecl, + fetchFromGitHub, + fetchpatch, + lib, + php, + runCommand, + systemd, +}: + +buildPecl { + pname = "systemd"; + version = "0.1.2-unstable-2018-06-11"; + + src = fetchFromGitHub { + owner = "systemd"; + repo = "php-systemd"; + rev = "22cf92a6b54ef4c5c13c301fc97d7a7b1615ee62"; + hash = "sha256-UhpE9QXChqKLBqutpQ2Y6neo/ULlJGNojf9DCYJfQMU="; + }; + + patches = [ + # Add missing arginfo to suppress the warning + # https://github.com/systemd/php-systemd/issues/9 + (fetchpatch { + url = "https://github.com/systemd/php-systemd/commit/0f25ec9aab7747e85445a48213020ea6adda3658.diff"; + hash = "sha256-SNRYDRxaeP9LlHxfZOak0OSqZ3AJA+I9Ln0k+yO0DvE="; + }) + # Define SD_JOURNAL_SUPPRESS_LOCATION so that the php source code location is used, instead of the C one + # https://github.com/systemd/php-systemd/issues/2 + (fetchpatch { + url = "https://github.com/systemd/php-systemd/commit/23575461b8cc55fa9c4132a58393b6438c2aff5c.diff"; + hash = "sha256-KBGWdNE7spXpqbeS4c2D5IU3Dz8zGxx4r22FDOA0KzM="; + }) + ]; + + buildInputs = [ systemd.dev ]; + + configureFlags = [ "--with-systemd=${systemd.dev}" ]; + + # php will exit with a non-zero exit code, if the extension is not loaded + passthru.tests.smokeTest = runCommand "php-systemd-smoke-test" { } '' + echo "" | + ${lib.getExe (php.withExtensions ({ all, ... }: [ all.systemd ]))} + echo ok > $out + ''; + + meta = { + description = "PHP extension allowing native interaction with systemd and its journal"; + homepage = "https://github.com/systemd/php-systemd"; + license = lib.licenses.mit; + teams = [ lib.teams.php ]; + }; +} diff --git a/pkgs/top-level/php-packages.nix b/pkgs/top-level/php-packages.nix index 5fa6bf77e42b..1847580e4306 100644 --- a/pkgs/top-level/php-packages.nix +++ b/pkgs/top-level/php-packages.nix @@ -389,6 +389,8 @@ lib.makeScope pkgs.newScope ( swoole = callPackage ../development/php-packages/swoole { }; + systemd = callPackage ../development/php-packages/systemd { }; + tideways = callPackage ../development/php-packages/tideways { }; uuid = callPackage ../development/php-packages/uuid { }; From 83536ab75d693155bd49d983fc6e18920a3b0497 Mon Sep 17 00:00:00 2001 From: superherointj <5861043+superherointj@users.noreply.github.com> Date: Thu, 29 May 2025 12:53:05 -0300 Subject: [PATCH 17/37] fluxcd: 2.5.1 -> 2.6.2 Release: https://github.com/fluxcd/flux2/releases/tag/v2.6.0 Release: https://github.com/fluxcd/flux2/releases/tag/v2.6.1 Release: https://github.com/fluxcd/flux2/releases/tag/v2.6.2 Announcement: https://fluxcd.io/blog/2025/05/flux-v2.6.0/ Upgrade guide: https://fluxcd.io/flux/installation/upgrade/ --- pkgs/by-name/fl/fluxcd/package.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/fl/fluxcd/package.nix b/pkgs/by-name/fl/fluxcd/package.nix index ee82e71dbcf9..d0473a3f8cf0 100644 --- a/pkgs/by-name/fl/fluxcd/package.nix +++ b/pkgs/by-name/fl/fluxcd/package.nix @@ -8,10 +8,10 @@ }: let - version = "2.5.1"; - srcHash = "sha256-BuFylOWR30aK7d1eN+9getR5amtAtkkhHNAPfdfASHs="; - vendorHash = "sha256-2fThvz/5A1/EyS6VTUQQa5Unx1BzYfsVRE18xOHtLHE="; - manifestsHash = "sha256-bIIK8igtx0gUcn3hlBohE0MG9PMhyThz4a71pkonBpE="; + version = "2.6.2"; + srcHash = "sha256-0Q8U7i1hK2CVWia3t/ayjIzjNjHurhkRGO0oLHLNMH4="; + vendorHash = "sha256-LS2qgukhLk6nrjkp5Y00B0N/LFLzOUR/TC3qD80WZAQ="; + manifestsHash = "sha256-KXvYURCJ1/BI61jes0Pvy6giKvVmosWOHuzGRHCcqZo="; manifests = fetchzip { url = "https://github.com/fluxcd/flux2/releases/download/v${version}/manifests.tar.gz"; From 04c5a539ff16bd3c674d2e514941ca0835919383 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 8 Jun 2025 03:30:55 +0000 Subject: [PATCH 18/37] scorecard: 5.1.1 -> 5.2.1 --- pkgs/by-name/sc/scorecard/package.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/sc/scorecard/package.nix b/pkgs/by-name/sc/scorecard/package.nix index e382f0aa6805..18bbdac33a2b 100644 --- a/pkgs/by-name/sc/scorecard/package.nix +++ b/pkgs/by-name/sc/scorecard/package.nix @@ -11,13 +11,13 @@ buildGoModule rec { pname = "scorecard"; - version = "5.1.1"; + version = "5.2.1"; src = fetchFromGitHub { owner = "ossf"; repo = "scorecard"; tag = "v${version}"; - hash = "sha256-6lJ+duP/gTC2xIIWbLL0hx2UYS/no4vd8pqTDR18G8Y="; + hash = "sha256-7py6qkal1tNQ2NAi/SiYIEe03NV7INAQRPZ9z5LsusI="; # populate values otherwise taken care of by goreleaser, # unfortunately these require us to use git. By doing # this in postFetch we can delete .git afterwards and @@ -33,9 +33,9 @@ buildGoModule rec { }; vendorHash = if stdenv.hostPlatform.isLinux then - "sha256-zWMmbC0lkjlIwrfq3ql0+ndn/4y/PW92TgTiUYfEn0M=" + "sha256-h78551OfEJTB3Fghc1nIHcfiHp7ygtZgHXpwp1OaFgY=" else - "sha256-/AtW36Pl5W+WNVCKhC0WMwYS848MUvAaKdm+i8t88D8="; + "sha256-MTB5ejc4/ivbkp9ytCF+wGvvt+njTkMb1ijVsh5uLps="; nativeBuildInputs = [ installShellFiles ]; From b57564ca268ff8d20c6b815b10b4378435dd4d30 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 12 Jun 2025 15:23:54 +0000 Subject: [PATCH 19/37] noson: 5.6.10 -> 5.6.13 --- pkgs/applications/audio/noson/default.nix | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/pkgs/applications/audio/noson/default.nix b/pkgs/applications/audio/noson/default.nix index 1270c10059c6..f99fa36c3b37 100644 --- a/pkgs/applications/audio/noson/default.nix +++ b/pkgs/applications/audio/noson/default.nix @@ -8,19 +8,20 @@ qtbase, qtgraphicaleffects, qtquickcontrols2, + qtwayland, wrapQtAppsHook, makeWrapper, }: stdenv.mkDerivation (finalAttrs: { pname = "noson"; - version = "5.6.10"; + version = "5.6.13"; src = fetchFromGitHub { owner = "janbar"; repo = "noson-app"; rev = finalAttrs.version; - hash = "sha256-ERlZtQTwPu5Y1i5cV9c5IMSJW30ootjmFix0EiF+/x0="; + hash = "sha256-XJBkPhyDPeyVrcY5Q5W9LtESuVxcbcQ8JoyOzKg+0NU="; }; nativeBuildInputs = [ @@ -29,13 +30,17 @@ stdenv.mkDerivation (finalAttrs: { makeWrapper ]; - buildInputs = [ - flac - libpulseaudio - qtbase - qtgraphicaleffects - qtquickcontrols2 - ]; + buildInputs = + [ + flac + libpulseaudio + qtbase + qtgraphicaleffects + qtquickcontrols2 + ] + ++ lib.optionals stdenv.hostPlatform.isLinux [ + qtwayland + ]; # wrapQtAppsHook doesn't automatically find noson-gui dontWrapQtApps = true; From bf0458a311b0aa492c3bc4d3c72b148f9fb1af6b Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Tue, 17 Jun 2025 01:35:03 +0200 Subject: [PATCH 20/37] lomiri.lomiri: Launch correct set of indicators in greeter wrapper --- pkgs/desktops/lomiri/applications/lomiri/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/desktops/lomiri/applications/lomiri/default.nix b/pkgs/desktops/lomiri/applications/lomiri/default.nix index 3d14adf25ec0..88242fef27cc 100644 --- a/pkgs/desktops/lomiri/applications/lomiri/default.nix +++ b/pkgs/desktops/lomiri/applications/lomiri/default.nix @@ -119,6 +119,10 @@ stdenv.mkDerivation (finalAttrs: { substituteInPlace tests/mocks/CMakeLists.txt \ --replace-fail 'add_subdirectory(QtMir/Application)' "" + # This needs to launch the *lomiri* indicators, now that datetime is split into lomiri and non-lomiri variants + substituteInPlace data/lomiri-greeter-wrapper \ + --replace-fail 'ayatana-indicators.target' 'lomiri-indicators.target' + # NixOS-ify # Use Nix flake instead of Canonical's Ubuntu logo From 32a9c6ed447718466aacb62533c1732a92750db9 Mon Sep 17 00:00:00 2001 From: Romanos Skiadas Date: Tue, 17 Jun 2025 13:38:03 +0300 Subject: [PATCH 21/37] gopls: 0.18.1 -> 0.19.0 changelog: https://github.com/golang/tools/releases/tag/gopls%2Fv0.19.0 Remove gofix, as it was moved to the top level tools module instead --- pkgs/by-name/go/gopls/package.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/go/gopls/package.nix b/pkgs/by-name/go/gopls/package.nix index 70e9133beb21..53b17f3a9157 100644 --- a/pkgs/by-name/go/gopls/package.nix +++ b/pkgs/by-name/go/gopls/package.nix @@ -11,27 +11,26 @@ buildGoLatestModule (finalAttrs: { pname = "gopls"; - version = "0.18.1"; + version = "0.19.0"; src = fetchFromGitHub { owner = "golang"; repo = "tools"; tag = "gopls/v${finalAttrs.version}"; - hash = "sha256-5w6R3kaYwrZyhIYjwLqfflboXT/z3HVpZiowxeUyaWg="; + hash = "sha256-2K93S7ApzHmsbeReKoSmIhgXuZR3oFODiTWDTO5wDOU="; }; modRoot = "gopls"; - vendorHash = "sha256-/tca93Df90/8K1dqhOfUsWSuFoNfg9wdWy3csOtFs6Y="; + vendorHash = "sha256-uWbcf/PadGXw2ryg6GjJrHzrZ88kKzfhr6gtYsLTvkg="; # https://github.com/golang/tools/blob/9ed98faa/gopls/main.go#L27-L30 ldflags = [ "-X main.version=v${finalAttrs.version}" ]; doCheck = false; - # Only build gopls, gofix, modernize, and not the integration tests or documentation generator. + # Only build gopls & modernize, not the integration tests or documentation generator. subPackages = [ "." - "internal/analysis/gofix/cmd/gofix" "internal/analysis/modernize/cmd/modernize" ]; From 47a3a8556ace18e9276ee904a4912502cb8946c6 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 17 Jun 2025 10:50:22 +0000 Subject: [PATCH 22/37] amp-cli: 0.0.1749297687-g3e4f54 -> 0.0.1750147289-g2a47fe --- pkgs/by-name/am/amp-cli/package-lock.json | 149 ++++++++++++++++++++-- pkgs/by-name/am/amp-cli/package.nix | 6 +- 2 files changed, 141 insertions(+), 14 deletions(-) diff --git a/pkgs/by-name/am/amp-cli/package-lock.json b/pkgs/by-name/am/amp-cli/package-lock.json index acd1a501669a..489687dcdc54 100644 --- a/pkgs/by-name/am/amp-cli/package-lock.json +++ b/pkgs/by-name/am/amp-cli/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "@sourcegraph/amp": "^0.0.1749297687-g3e4f54" + "@sourcegraph/amp": "^0.0.1750147289-g2a47fe" } }, "node_modules/@colors/colors": { @@ -29,14 +29,14 @@ } }, "node_modules/@sourcegraph/amp": { - "version": "0.0.1749297687-g3e4f54", - "resolved": "https://registry.npmjs.org/@sourcegraph/amp/-/amp-0.0.1749297687-g3e4f54.tgz", - "integrity": "sha512-KfAu6Ju4aeTKW3dQ17GmaVXJ+96IqUMCC8KJlb1uzOBcNudGVnwYogjkEAMu4N3hg1PJH6XcrimqmFRqPZb1+Q==", + "version": "0.0.1750147289-g2a47fe", + "resolved": "https://registry.npmjs.org/@sourcegraph/amp/-/amp-0.0.1750147289-g2a47fe.tgz", + "integrity": "sha512-uoWvE5jE9cjmJDLx1DiyeA9VQ7ONReVelcly84VNwmcwIyI04OWyt7azoWK9OfFZU0hTBOyp21E632QsvtaiHw==", "dependencies": { - "@types/runes": "^0.4.3", "@vscode/ripgrep": "1.15.11", "commander": "^11.1.0", "fuse.js": "^7.0.0", + "open": "^10.1.2", "runes": "^0.4.3", "string-width": "^6.1.0", "winston": "^3.17.0", @@ -49,12 +49,6 @@ "node": ">=18" } }, - "node_modules/@types/runes": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/@types/runes/-/runes-0.4.3.tgz", - "integrity": "sha512-kncnfKlRj4FM0+9IRBlZ/06b1BNVDya3d5hN5kFfuzCNAgZFZuApz/XBqe0+d6Y5cV/f86UD8q2ehnaSVdtBrw==", - "license": "MIT" - }, "node_modules/@types/triple-beam": { "version": "1.3.5", "resolved": "https://registry.npmjs.org/@types/triple-beam/-/triple-beam-1.3.5.tgz", @@ -109,6 +103,21 @@ "node": "*" } }, + "node_modules/bundle-name": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/bundle-name/-/bundle-name-4.1.0.tgz", + "integrity": "sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q==", + "license": "MIT", + "dependencies": { + "run-applescript": "^7.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/color": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz", @@ -180,6 +189,46 @@ } } }, + "node_modules/default-browser": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/default-browser/-/default-browser-5.2.1.tgz", + "integrity": "sha512-WY/3TUME0x3KPYdRRxEJJvXRHV4PyPoUsxtZa78lwItwRQRHhd2U9xOscaT/YTf8uCXIAjeJOFBVEh/7FtD8Xg==", + "license": "MIT", + "dependencies": { + "bundle-name": "^4.1.0", + "default-browser-id": "^5.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/default-browser-id": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/default-browser-id/-/default-browser-id-5.0.0.tgz", + "integrity": "sha512-A6p/pu/6fyBcA1TRz/GqWYPViplrftcW2gZC9q79ngNCKAeR/X3gcEdXQHl4KNXV+3wgIJ1CPkJQ3IHM6lcsyA==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/define-lazy-prop": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz", + "integrity": "sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/eastasianwidth": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", @@ -253,6 +302,39 @@ "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==", "license": "MIT" }, + "node_modules/is-docker": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-3.0.0.tgz", + "integrity": "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==", + "license": "MIT", + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-inside-container": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-inside-container/-/is-inside-container-1.0.0.tgz", + "integrity": "sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==", + "license": "MIT", + "dependencies": { + "is-docker": "^3.0.0" + }, + "bin": { + "is-inside-container": "cli.js" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/is-stream": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", @@ -265,6 +347,21 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/is-wsl": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-3.1.0.tgz", + "integrity": "sha512-UcVfVfaK4Sc4m7X3dUSoHoozQGBEFeDC+zVo06t98xe8CzHSZZBekNXH+tu0NalHolcJ/QAGqS46Hef7QXBIMw==", + "license": "MIT", + "dependencies": { + "is-inside-container": "^1.0.0" + }, + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/kuler": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz", @@ -303,6 +400,24 @@ "fn.name": "1.x.x" } }, + "node_modules/open": { + "version": "10.1.2", + "resolved": "https://registry.npmjs.org/open/-/open-10.1.2.tgz", + "integrity": "sha512-cxN6aIDPz6rm8hbebcP7vrQNhvRcveZoJU72Y7vskh4oIm+BZwBECnx5nTmrlres1Qapvx27Qo1Auukpf8PKXw==", + "license": "MIT", + "dependencies": { + "default-browser": "^5.2.1", + "define-lazy-prop": "^3.0.0", + "is-inside-container": "^1.0.0", + "is-wsl": "^3.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/pend": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", @@ -329,6 +444,18 @@ "node": ">= 6" } }, + "node_modules/run-applescript": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/run-applescript/-/run-applescript-7.0.0.tgz", + "integrity": "sha512-9by4Ij99JUr/MCFBUkDKLWK3G9HVXmabKz9U5MlIAIuvuzkiOicRYs8XJLxX+xahD+mLiiCYDqF9dKAgtzKP1A==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/runes": { "version": "0.4.3", "resolved": "https://registry.npmjs.org/runes/-/runes-0.4.3.tgz", diff --git a/pkgs/by-name/am/amp-cli/package.nix b/pkgs/by-name/am/amp-cli/package.nix index 5a598ee44e19..367f3e8dc621 100644 --- a/pkgs/by-name/am/amp-cli/package.nix +++ b/pkgs/by-name/am/amp-cli/package.nix @@ -9,11 +9,11 @@ buildNpmPackage (finalAttrs: { pname = "amp-cli"; - version = "0.0.1749297687-g3e4f54"; + version = "0.0.1750147289-g2a47fe"; src = fetchzip { url = "https://registry.npmjs.org/@sourcegraph/amp/-/amp-${finalAttrs.version}.tgz"; - hash = "sha256-WreJsyqyW/Z+TUPnQC7sKIpSgdpIzXQTgkXBthKCMZ4="; + hash = "sha256-mP4YOa2J4K3mr7PpRn+Nn+AMcmMSSTNcB59QEdAFZeE="; }; postPatch = '' @@ -45,7 +45,7 @@ buildNpmPackage (finalAttrs: { chmod +x bin/amp-wrapper.js ''; - npmDepsHash = "sha256-dAJePSRKnXrdW8hr72JNxunQAiUtxH53sDrtYYX6++0="; + npmDepsHash = "sha256-aF4oMWmq4+tuXAhwDgqTX3dfHNV1upyD0dqBEoJiru8="; propagatedBuildInputs = [ ripgrep From 9b9e866cbbfbcb120e51c7cb0df2fe69e5f66efc Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 17 Jun 2025 10:58:08 +0000 Subject: [PATCH 23/37] cubeb: 0-unstable-2025-06-03 -> 0-unstable-2025-06-16 --- pkgs/by-name/cu/cubeb/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/cu/cubeb/package.nix b/pkgs/by-name/cu/cubeb/package.nix index 29ea331d3885..aa63c0393cc5 100644 --- a/pkgs/by-name/cu/cubeb/package.nix +++ b/pkgs/by-name/cu/cubeb/package.nix @@ -24,13 +24,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "cubeb"; - version = "0-unstable-2025-06-03"; + version = "0-unstable-2025-06-16"; src = fetchFromGitHub { owner = "mozilla"; repo = "cubeb"; - rev = "24c170b2346bb675456449f51406dac6442a84a7"; - hash = "sha256-/XTDaG48IFPFPrEcDd3IqX4bN+VbrpaHpzd/7N8J3a8="; + rev = "566c73da47668ca85817108b749a13ac9c3f5a9d"; + hash = "sha256-qYDsRhVBHLOVpWwtRNUtnZRZZq9Rot1pOn+4let6v6I="; }; outputs = [ From acfc0b30a99812b4e48402d3cbebee7fc9586844 Mon Sep 17 00:00:00 2001 From: Ryan Omasta Date: Tue, 17 Jun 2025 05:59:31 -0600 Subject: [PATCH 24/37] nano: unbreak on darwin Fixes an issue with `format string is not a string literal` breaking nano on Darwin. https://hydra.nixos.org/build/300187289/nixlog/1 --- pkgs/by-name/na/nano/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/na/nano/package.nix b/pkgs/by-name/na/nano/package.nix index 0c4accbe548a..456a53f6129d 100644 --- a/pkgs/by-name/na/nano/package.nix +++ b/pkgs/by-name/na/nano/package.nix @@ -64,6 +64,10 @@ stdenv.mkDerivation rec { cp ${nixSyntaxHighlight}/nix.nanorc $out/share/nano/ ''; + # https://hydra.nixos.org/build/300187289/nixlog/1 + # openat-die.c:57:10: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security] + hardeningDisable = [ "format" ]; + enableParallelBuilding = true; strictDeps = true; From e0b9903b79fada95e675b1797d9843a068feff4c Mon Sep 17 00:00:00 2001 From: Abhishek Singh Date: Tue, 17 Jun 2025 06:56:56 +0530 Subject: [PATCH 25/37] precious: init at 0.9.0 --- pkgs/by-name/pr/precious/package.nix | 39 ++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 pkgs/by-name/pr/precious/package.nix diff --git a/pkgs/by-name/pr/precious/package.nix b/pkgs/by-name/pr/precious/package.nix new file mode 100644 index 000000000000..6f2bbb86252c --- /dev/null +++ b/pkgs/by-name/pr/precious/package.nix @@ -0,0 +1,39 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, + nix-update-script, + versionCheckHook, +}: + +rustPlatform.buildRustPackage (finalAttrs: { + pname = "precious"; + version = "0.9.0"; + + src = fetchFromGitHub { + owner = "houseabsolute"; + repo = "precious"; + tag = "v${finalAttrs.version}"; + hash = "sha256-moJk8bwMlYtfo+Iq/OcjJkQJQiirZ6oKSoATpW3KcQI="; + }; + + useFetchCargoVendor = true; + cargoHash = "sha256-nvHP5/njvkXcI3QtFU4CijXaX5l4DabMMVzvktvFNvA="; + + nativeInstallCheckInputs = [ versionCheckHook ]; + doInstallCheck = true; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "One code quality tool to rule them all"; + homepage = "https://github.com/houseabsolute/precious"; + changelog = "https://github.com/houseabsolute/precious/releases/tag/v${finalAttrs.version}"; + mainProgram = "precious"; + maintainers = with lib.maintainers; [ abhisheksingh0x558 ]; + license = with lib.licenses; [ + mit # or + asl20 + ]; + }; +}) From 0e88d8a24d01e9b4c835193fa53cc06e0418451d Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Tue, 17 Jun 2025 12:42:10 +0200 Subject: [PATCH 26/37] workflows/labels: log current API rate_limits This will give us a little bit better insight into how close we're running to the limits. --- .github/workflows/labels.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml index 9f8427124821..06f205f838e3 100644 --- a/.github/workflows/labels.yml +++ b/.github/workflows/labels.yml @@ -41,6 +41,11 @@ jobs: - name: Install dependencies run: npm install @actions/artifact + - name: Log current API rate limits + env: + GH_TOKEN: ${{ github.token }} + run: gh api /rate_limit | jq + - name: Labels from API data and Eval results uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 env: From 114b4fcf48b1df8acd21082c89ee84cac704bc76 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Tue, 17 Jun 2025 13:38:06 +0200 Subject: [PATCH 27/37] workflows/labels: add bottleneck for throttling This should prevent us from hitting API rate limits, even when we run huge manual jobs. It just takes a bit longer. --- .github/workflows/labels.yml | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml index 06f205f838e3..d1d846aa9fa1 100644 --- a/.github/workflows/labels.yml +++ b/.github/workflows/labels.yml @@ -39,7 +39,7 @@ jobs: if: github.event_name != 'schedule' || github.repository_owner == 'NixOS' steps: - name: Install dependencies - run: npm install @actions/artifact + run: npm install @actions/artifact bottleneck - name: Log current API rate limits env: @@ -52,12 +52,34 @@ jobs: UPDATED_WITHIN: ${{ inputs.updatedWithin }} with: script: | + const Bottleneck = require('bottleneck') const path = require('node:path') const { DefaultArtifactClient } = require('@actions/artifact') const { readFile } = require('node:fs/promises') const artifactClient = new DefaultArtifactClient() + // Rate-Limiting and Throttling, see for details: + // https://github.com/octokit/octokit.js/issues/1069#throttling + // https://docs.github.com/en/rest/using-the-rest-api/best-practices-for-using-the-rest-api + const allLimits = new Bottleneck({ + // Avoid concurrent requests + maxConcurrent: 1, + // Hourly limit is at 5000, but other jobs need some, too! + // https://docs.github.com/en/rest/using-the-rest-api/rate-limits-for-the-rest-api + reservoir: 1000, + reservoirRefreshAmount: 1000, + reservoirRefreshInterval: 60 * 60 * 1000 + }) + // Pause between mutative requests + const writeLimits = new Bottleneck({ minTime: 1000 }).chain(allLimits) + github.hook.wrap('request', async (request, options) => { + if (['POST', 'PUT', 'PATCH', 'DELETE'].includes(options.method)) + return writeLimits.schedule(request.bind(null, options)) + else + return allLimits.schedule(request.bind(null, options)) + }) + if (process.env.UPDATED_WITHIN && !/^\d+$/.test(process.env.UPDATED_WITHIN)) throw new Error('Please enter "updated within" as integer in hours.') From f3b67f4eb5a1f757a0e784f6197e14a9d9cbcd80 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Tue, 17 Jun 2025 14:01:45 +0200 Subject: [PATCH 28/37] workflows/labels: improve logging for skipped PRs Conditions that cause a PR to be skipped are now marked clearly in the log output. --- .github/workflows/labels.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml index d1d846aa9fa1..ce126788ea69 100644 --- a/.github/workflows/labels.yml +++ b/.github/workflows/labels.yml @@ -128,10 +128,13 @@ jobs: }, async (response, done) => (await Promise.allSettled(response.data.map(async (pull_request) => { try { - const log = (k,v) => core.info(`PR #${pull_request.number} - ${k}: ${v}`) + const log = (k,v,skip) => { + core.info(`PR #${pull_request.number} - ${k}: ${v}` + (skip ? ' (skipped)' : '')) + return skip + } - log('Last updated at', pull_request.updated_at) - if (new Date(pull_request.updated_at) < cutoff) return done() + if (log('Last updated at', pull_request.updated_at, new Date(pull_request.updated_at) < cutoff)) + return done() log('URL', pull_request.html_url) const run_id = (await github.rest.actions.listWorkflowRuns({ @@ -146,8 +149,8 @@ jobs: // Newer PRs might not have run Eval to completion, yet. We can skip them, because this // job will be run as part of that Eval run anyway. - log('Last eval run', run_id ?? '') - if (!run_id) return; + if (log('Last eval run', run_id ?? '', !run_id)) + return; const artifact = (await github.rest.actions.listWorkflowRunArtifacts({ ...context.repo, @@ -159,8 +162,9 @@ jobs: // actually download the artifact in the next step and avoid that race condition. // Older PRs, where the workflow run was already eval.yml, but the artifact was not // called "comparison", yet, will be skipped as well. - log('Artifact expires at', artifact?.expires_at ?? '') - if (new Date(artifact?.expires_at ?? 0) < new Date(new Date().getTime() + 60 * 1000)) return; + const expired = new Date(artifact?.expires_at ?? 0) < new Date(new Date().getTime() + 60 * 1000) + if (log('Artifact expires at', artifact?.expires_at ?? '', expired)) + return; await artifactClient.downloadArtifact(artifact.id, { findBy: { From 43733584175ddbceb0063b8526824fb4c1341e4d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 16 Jun 2025 09:05:33 +0000 Subject: [PATCH 29/37] okteta: 0.26.21 -> 0.26.22 --- pkgs/applications/editors/okteta/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/okteta/default.nix b/pkgs/applications/editors/okteta/default.nix index e371605d341f..2d3e52da3b63 100644 --- a/pkgs/applications/editors/okteta/default.nix +++ b/pkgs/applications/editors/okteta/default.nix @@ -19,11 +19,11 @@ mkDerivation rec { pname = "okteta"; - version = "0.26.21"; + version = "0.26.22"; src = fetchurl { url = "mirror://kde/stable/okteta/${version}/src/${pname}-${version}.tar.xz"; - sha256 = "sha256-tuYvcfcxdX1nzTR603rEYIgXLEjnZH3mDRJUD/BVRJs="; + sha256 = "sha256-vi7XhMj/PaMeK4V6FxU7Yi7XyWMaOBUenafZPpaP+n0="; }; nativeBuildInputs = [ From 4851967dab425fe2f71576a456285210414f929f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 17 Jun 2025 13:45:48 +0000 Subject: [PATCH 30/37] harbor-cli: 0.0.6 -> 0.0.7 --- pkgs/by-name/ha/harbor-cli/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ha/harbor-cli/package.nix b/pkgs/by-name/ha/harbor-cli/package.nix index 3497f561e4d1..2aa369b8ea19 100644 --- a/pkgs/by-name/ha/harbor-cli/package.nix +++ b/pkgs/by-name/ha/harbor-cli/package.nix @@ -10,13 +10,13 @@ buildGoModule (finalAttrs: { pname = "harbor-cli"; - version = "0.0.6"; + version = "0.0.7"; src = fetchFromGitHub { owner = "goharbor"; repo = "harbor-cli"; rev = "v${finalAttrs.version}"; - hash = "sha256-Q2EFtkRGi/CwDYc2nERNXzRQNGKHAgYty2uigbOEo6E="; + hash = "sha256-ju0/6fAcCYZAfuDklRIEWqnM39z1BQeEx1H1l/Uzyf4="; }; vendorHash = "sha256-3H/fdqmIRLOl0m4DHnF7pwRR7ud8YXI2fepXC0kcLNo="; From 4fe9129b789845c25246b77bc76e9a217919a488 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Tue, 17 Jun 2025 14:44:07 +0200 Subject: [PATCH 31/37] workflows/labels: add simple stats To ease debugging rate-limiting issues. --- .github/workflows/labels.yml | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml index ce126788ea69..2ae77cf01421 100644 --- a/.github/workflows/labels.yml +++ b/.github/workflows/labels.yml @@ -59,6 +59,12 @@ jobs: const artifactClient = new DefaultArtifactClient() + const stats = { + prs: 0, + requests: 0, + artifacts: 0 + } + // Rate-Limiting and Throttling, see for details: // https://github.com/octokit/octokit.js/issues/1069#throttling // https://docs.github.com/en/rest/using-the-rest-api/best-practices-for-using-the-rest-api @@ -74,6 +80,7 @@ jobs: // Pause between mutative requests const writeLimits = new Bottleneck({ minTime: 1000 }).chain(allLimits) github.hook.wrap('request', async (request, options) => { + stats.requests++ if (['POST', 'PUT', 'PATCH', 'DELETE'].includes(options.method)) return writeLimits.schedule(request.bind(null, options)) else @@ -117,7 +124,7 @@ jobs: base: context.payload.pull_request.base.ref } - await github.paginate( + const prs = await github.paginate( github.rest.pulls.list, { ...context.repo, @@ -126,7 +133,7 @@ jobs: direction: 'desc', ...prEventCondition }, - async (response, done) => (await Promise.allSettled(response.data.map(async (pull_request) => { + (response, done) => response.data.map(async (pull_request) => { try { const log = (k,v,skip) => { core.info(`PR #${pull_request.number} - ${k}: ${v}` + (skip ? ' (skipped)' : '')) @@ -135,6 +142,7 @@ jobs: if (log('Last updated at', pull_request.updated_at, new Date(pull_request.updated_at) < cutoff)) return done() + stats.prs++ log('URL', pull_request.html_url) const run_id = (await github.rest.actions.listWorkflowRuns({ @@ -165,6 +173,7 @@ jobs: const expired = new Date(artifact?.expires_at ?? 0) < new Date(new Date().getTime() + 60 * 1000) if (log('Artifact expires at', artifact?.expires_at ?? '', expired)) return; + stats.artifacts++ await artifactClient.downloadArtifact(artifact.id, { findBy: { @@ -226,10 +235,14 @@ jobs: } catch (cause) { throw new Error(`Labeling PR #${pull_request.number} failed.`, { cause }) } - }))) + }) + ); + + (await Promise.allSettled(prs.flat())) .filter(({ status }) => status == 'rejected') .map(({ reason }) => core.setFailed(`${reason.message}\n${reason.cause.stack}`)) - ) + + core.notice(`Processed ${stats.prs} PRs, made ${stats.requests + stats.artifacts} API requests and downloaded ${stats.artifacts} artifacts.`) - uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0 name: Labels from touched files From 1923fdbbde5c01892fe7fb3131962502766cecd8 Mon Sep 17 00:00:00 2001 From: Tristan Ross Date: Mon, 16 Jun 2025 07:45:27 -0700 Subject: [PATCH 32/37] llvmPackages_git: 21.0.0-unstable-2025-06-08 -> 21.0.0-unstable-2025-06-15 --- pkgs/development/compilers/llvm/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/compilers/llvm/default.nix b/pkgs/development/compilers/llvm/default.nix index 329917fb3dfc..0cdc55fbc4c7 100644 --- a/pkgs/development/compilers/llvm/default.nix +++ b/pkgs/development/compilers/llvm/default.nix @@ -33,9 +33,9 @@ let "19.1.7".officialRelease.sha256 = "sha256-cZAB5vZjeTsXt9QHbP5xluWNQnAHByHtHnAhVDV0E6I="; "20.1.5".officialRelease.sha256 = "sha256-WKfY+VvAsZEEc0xYgF6+MsXDXZz7haMU6bxqmUpaHuQ="; "21.0.0-git".gitRelease = { - rev = "90beda2aba3cac34052827c560449fcb184c7313"; - rev-version = "21.0.0-unstable-2025-06-08"; - sha256 = "sha256-+aTUb9Hg/upulKGLKNpqDYKES62mWkjuLZP07WGnBSc="; + rev = "9adde28df784f5c0cc960bdabd413ac131a5852e"; + rev-version = "21.0.0-unstable-2025-06-15"; + sha256 = "sha256-8HrUSKL3vOd/Jg9svso9ChCr4tvlGOliyGfi18oZLDY="; }; } // llvmVersions; From 903af7b00391f847193ff79bbce143b0fd4ccbd6 Mon Sep 17 00:00:00 2001 From: "Peter H. Hoeg" Date: Tue, 17 Jun 2025 12:07:39 +0200 Subject: [PATCH 33/37] ipset: add meta.mainProgram --- pkgs/by-name/ip/ipset/package.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/ip/ipset/package.nix b/pkgs/by-name/ip/ipset/package.nix index 72bdb9889138..b9dc3f112aaa 100644 --- a/pkgs/by-name/ip/ipset/package.nix +++ b/pkgs/by-name/ip/ipset/package.nix @@ -6,13 +6,13 @@ libmnl, }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "ipset"; version = "7.24"; src = fetchurl { - url = "https://ipset.netfilter.org/${pname}-${version}.tar.bz2"; - sha256 = "sha256-++NCTf8iLBy15cNNOLZFJLIhfOgCJsFP3LsTsp6jYRI="; + url = "https://ipset.netfilter.org/ipset-${finalAttrs.version}.tar.bz2"; + hash = "sha256-++NCTf8iLBy15cNNOLZFJLIhfOgCJsFP3LsTsp6jYRI="; }; nativeBuildInputs = [ pkg-config ]; @@ -25,5 +25,6 @@ stdenv.mkDerivation rec { description = "Administration tool for IP sets"; license = licenses.gpl2Plus; platforms = platforms.linux; + mainProgram = "ipset"; }; -} +}) From b51b5a42d1418e4804c9572f799275df0cf97000 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 16 Jun 2025 10:54:33 +0000 Subject: [PATCH 34/37] esp-generate: 0.3.1 -> 0.4.0 --- pkgs/by-name/es/esp-generate/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/es/esp-generate/package.nix b/pkgs/by-name/es/esp-generate/package.nix index b335ff256c18..b0cc10b7d621 100644 --- a/pkgs/by-name/es/esp-generate/package.nix +++ b/pkgs/by-name/es/esp-generate/package.nix @@ -6,17 +6,17 @@ rustPlatform.buildRustPackage rec { pname = "esp-generate"; - version = "0.3.1"; + version = "0.4.0"; src = fetchFromGitHub { owner = "esp-rs"; repo = "esp-generate"; rev = "v${version}"; - hash = "sha256-yk7iv5nq2b/1OY77818I7mXW96YxjwwJS3iiv1KXVHs="; + hash = "sha256-4RF0XcDpUcMQ0u2FTRBnZdQDM7DlaI7pl5HukMbbbBE="; }; useFetchCargoVendor = true; - cargoHash = "sha256-ncTX9cDSAf6ZGlz0utGYxkuXcx85vt3VHQzdmQhCNf0="; + cargoHash = "sha256-c/BYf6SXOdI/K4t3fT4ycuILkIYCiSbHafLprSMvK8E="; meta = { description = "Template generation tool to create no_std applications targeting Espressif's chips"; From 1fa7acce48cfe16545886830cc85f4f133922b70 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Tue, 17 Jun 2025 16:35:27 +0200 Subject: [PATCH 35/37] gnucap: fix overriding with overrideAttrs Any attribute concatenation onto the result of mkDerivation will break overrideability. Before this PR, the following would fail to evaluate: ``` (gnucap.overrideAttrs { pname = "my-gnucap"; }).withPlugins (p: [ p.verilog ])' ``` The error is: ``` error: attribute 'withPlugins' missing ``` With this PR, it works as expected. --- pkgs/by-name/gn/gnucap/package.nix | 116 ++++++++++++++--------------- 1 file changed, 57 insertions(+), 59 deletions(-) diff --git a/pkgs/by-name/gn/gnucap/package.nix b/pkgs/by-name/gn/gnucap/package.nix index 201e6e133796..402ddcf0dc79 100644 --- a/pkgs/by-name/gn/gnucap/package.nix +++ b/pkgs/by-name/gn/gnucap/package.nix @@ -1,8 +1,6 @@ { callPackage, fetchFromSavannah, - gnucap, - gnucap-full, installShellFiles, lib, readline, @@ -12,30 +10,13 @@ writeScript, }: -let - version = "20240220"; - meta = with lib; { - description = "Gnu Circuit Analysis Package"; - longDescription = '' - Gnucap is a modern general purpose circuit simulator with several advantages over Spice derivatives. - It performs nonlinear dc and transient analyses, fourier analysis, and ac analysis. - ''; - homepage = "http://www.gnucap.org/"; - changelog = "https://git.savannah.gnu.org/gitweb/?p=gnucap.git;a=blob;f=NEWS"; - license = licenses.gpl3Only; - platforms = platforms.all; - broken = stdenv.hostPlatform.isDarwin; # Relies on LD_LIBRARY_PATH - maintainers = [ maintainers.raboof ]; - mainProgram = "gnucap"; - }; -in -stdenv.mkDerivation { +stdenv.mkDerivation (finalAttrs: { pname = "gnucap"; - inherit version; + version = "20240220"; src = fetchFromSavannah { repo = "gnucap"; - rev = version; + rev = finalAttrs.version; hash = "sha256-aZMiNKwI6eQZAxlF/+GoJhKczohgGwZ0/Wgpv3+AhYY="; }; @@ -53,42 +34,59 @@ stdenv.mkDerivation { installManPage man/* ''; - passthru.tests = { - verilog = runCommand "gnucap-verilog-test" { } '' - echo "attach mgsim" | ${gnucap-full}/bin/gnucap -a msgsim > $out - cat $out | grep "verilog: already installed" - ''; + passthru = { + tests = { + verilog = runCommand "gnucap-verilog-test" { } '' + echo "attach mgsim" | ${ + finalAttrs.finalPackage.withPlugins (p: [ p.verilog ]) + }/bin/gnucap -a msgsim > $out + cat $out | grep "verilog: already installed" + ''; + }; + + plugins = callPackage ./plugins.nix { }; + withPlugins = + p: + let + gnucap = finalAttrs.finalPackage; + selectedPlugins = p gnucap.plugins; + wrapper = writeScript "gnucap" '' + export GNUCAP_PLUGPATH=${gnucap}/lib/gnucap + for plugin in ${builtins.concatStringsSep " " selectedPlugins}; do + export GNUCAP_PLUGPATH=$plugin/lib/gnucap:$GNUCAP_PLUGPATH + done + ${lib.getExe gnucap} + ''; + in + stdenv.mkDerivation { + pname = "${finalAttrs.pname}-with-plugins"; + inherit (finalAttrs) version; + + propagatedBuildInputs = selectedPlugins; + + dontUnpack = true; + + installPhase = '' + mkdir -p $out/bin + cp ${wrapper} $out/bin/gnucap + ''; + + inherit (finalAttrs) meta; + }; }; - inherit meta; -} -// { - plugins = callPackage ./plugins.nix { }; - withPlugins = - p: - let - selectedPlugins = p gnucap.plugins; - wrapper = writeScript "gnucap" '' - export GNUCAP_PLUGPATH=${gnucap}/lib/gnucap - for plugin in ${builtins.concatStringsSep " " selectedPlugins}; do - export GNUCAP_PLUGPATH=$plugin/lib/gnucap:$GNUCAP_PLUGPATH - done - ${lib.getExe gnucap} - ''; - in - stdenv.mkDerivation { - pname = "gnucap-with-plugins"; - inherit version; - - propagatedBuildInputs = selectedPlugins; - - dontUnpack = true; - - installPhase = '' - mkdir -p $out/bin - cp ${wrapper} $out/bin/gnucap - ''; - - inherit meta; - }; -} + meta = with lib; { + description = "Gnu Circuit Analysis Package"; + longDescription = '' + Gnucap is a modern general purpose circuit simulator with several advantages over Spice derivatives. + It performs nonlinear dc and transient analyses, fourier analysis, and ac analysis. + ''; + homepage = "http://www.gnucap.org/"; + changelog = "https://git.savannah.gnu.org/gitweb/?p=gnucap.git;a=blob;f=NEWS"; + license = licenses.gpl3Only; + platforms = platforms.all; + broken = stdenv.hostPlatform.isDarwin; # Relies on LD_LIBRARY_PATH + maintainers = [ maintainers.raboof ]; + mainProgram = "gnucap"; + }; +}) From b1a2ad327bbdf3fd1185560002fef23e36825e71 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Tue, 17 Jun 2025 16:37:17 +0200 Subject: [PATCH 36/37] gnucap: modernize --- pkgs/by-name/gn/gnucap/package.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/gn/gnucap/package.nix b/pkgs/by-name/gn/gnucap/package.nix index 402ddcf0dc79..61a307422cce 100644 --- a/pkgs/by-name/gn/gnucap/package.nix +++ b/pkgs/by-name/gn/gnucap/package.nix @@ -23,6 +23,7 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ installShellFiles ]; + buildInputs = [ readline termcap @@ -75,7 +76,7 @@ stdenv.mkDerivation (finalAttrs: { }; }; - meta = with lib; { + meta = { description = "Gnu Circuit Analysis Package"; longDescription = '' Gnucap is a modern general purpose circuit simulator with several advantages over Spice derivatives. @@ -83,10 +84,10 @@ stdenv.mkDerivation (finalAttrs: { ''; homepage = "http://www.gnucap.org/"; changelog = "https://git.savannah.gnu.org/gitweb/?p=gnucap.git;a=blob;f=NEWS"; - license = licenses.gpl3Only; - platforms = platforms.all; + license = lib.licenses.gpl3Only; + platforms = lib.platforms.all; broken = stdenv.hostPlatform.isDarwin; # Relies on LD_LIBRARY_PATH - maintainers = [ maintainers.raboof ]; + maintainers = [ lib.maintainers.raboof ]; mainProgram = "gnucap"; }; }) From 8242df11f0a96d11400af77d2c2e70beacbde82a Mon Sep 17 00:00:00 2001 From: K900 Date: Tue, 17 Jun 2025 17:58:09 +0300 Subject: [PATCH 37/37] xwayland: 24.1.6 -> 24.1.7 --- pkgs/servers/x11/xorg/xwayland.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/x11/xorg/xwayland.nix b/pkgs/servers/x11/xorg/xwayland.nix index 99c9aabbbbdd..d5b49da0b521 100644 --- a/pkgs/servers/x11/xorg/xwayland.nix +++ b/pkgs/servers/x11/xorg/xwayland.nix @@ -54,11 +54,11 @@ stdenv.mkDerivation rec { pname = "xwayland"; - version = "24.1.6"; + version = "24.1.7"; src = fetchurl { url = "mirror://xorg/individual/xserver/${pname}-${version}.tar.xz"; - hash = "sha256-c35hLKNrvfQVqRFkTrdZLPk4mEaEe0f6RtxwW9dU0tc="; + hash = "sha256-99l+JICSh4o/fTxosl2rZSv5cNnmoX0w+/RXquoTnMs="; }; postPatch = ''