From 9a6f247002c4ad1261de0df5a640ce86761b2221 Mon Sep 17 00:00:00 2001 From: Johan Herland Date: Wed, 2 Jul 2025 12:47:02 +0000 Subject: [PATCH 01/50] python3Packages.holistic-trace-analysis: init at 0.5.0 --- .../holistic-trace-analysis/default.nix | 49 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 51 insertions(+) create mode 100644 pkgs/development/python-modules/holistic-trace-analysis/default.nix diff --git a/pkgs/development/python-modules/holistic-trace-analysis/default.nix b/pkgs/development/python-modules/holistic-trace-analysis/default.nix new file mode 100644 index 000000000000..1e977ccf99c7 --- /dev/null +++ b/pkgs/development/python-modules/holistic-trace-analysis/default.nix @@ -0,0 +1,49 @@ +{ + buildPythonPackage, + fetchFromGitHub, + jupyterlab, + lib, + numpy, + pandas, + plotly, + pydot, + pytestCheckHook, + setuptools, + torch, +}: + +buildPythonPackage rec { + pname = "HolisticTraceAnalysis"; + version = "0.5.0"; + pyproject = true; + + src = fetchFromGitHub { + owner = "facebookresearch"; + repo = "HolisticTraceAnalysis"; + tag = "v${version}"; + hash = "sha256-3DuoP9gQ0vLlAAJ2uWw/oOEH/DTbn2xulzvqk4W3BiY="; + }; + + build-system = [ setuptools ]; + + dependencies = [ + jupyterlab + numpy + pandas + plotly + pydot + torch + ]; + + nativeCheckInputs = [ pytestCheckHook ]; + + pythonImportsCheck = [ "hta" ]; + + meta = { + description = "Performance analysis tool to identify bottlenecks in distributed training workloads"; + homepage = "https://github.com/facebookresearch/HolisticTraceAnalysis"; + changelog = "https://github.com/facebookresearch/HolisticTraceAnalysis/releases/tag/v${version}"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ jherland ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 5d3262b216a4..cfe38fe9f657 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6505,6 +6505,8 @@ self: super: with self; { holidays = callPackage ../development/python-modules/holidays { }; + holistic-trace-analysis = callPackage ../development/python-modules/holistic-trace-analysis { }; + hologram = callPackage ../development/python-modules/hologram { }; holoviews = callPackage ../development/python-modules/holoviews { }; From 9634b738df06f8227f5094c5892d2e40f27558f9 Mon Sep 17 00:00:00 2001 From: Johan Herland Date: Wed, 2 Jul 2025 15:03:20 +0000 Subject: [PATCH 02/50] python3Packages.pytorchviz: init at 0.0.2-unstable-2024-12-30 --- .../python-modules/pytorchviz/default.nix | 46 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 48 insertions(+) create mode 100644 pkgs/development/python-modules/pytorchviz/default.nix diff --git a/pkgs/development/python-modules/pytorchviz/default.nix b/pkgs/development/python-modules/pytorchviz/default.nix new file mode 100644 index 000000000000..445e2b9b425d --- /dev/null +++ b/pkgs/development/python-modules/pytorchviz/default.nix @@ -0,0 +1,46 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + distutils, + fsspec, + graphviz, + torch, + unittestCheckHook, +}: + +buildPythonPackage rec { + pname = "pytorchviz"; + version = "0.0.2-unstable-2024-12-30"; + pyproject = true; + + src = fetchFromGitHub { + owner = "szagoruyko"; + repo = "pytorchviz"; + # No tags in the upstream GitHub repo + rev = "5cf04c13e601366f6b9cf5939b5af5144d55b887"; + hash = "sha256-La1X8Y64n/vNGDUEsw1iZ5Mb6/w3WayeWxa62QxLyHA="; + }; + + dependencies = [ + graphviz + torch + ]; + + nativeCheckInputs = [ + unittestCheckHook + distutils + fsspec + ]; + + unittestFlagsArray = [ "test/" ]; + + pythonImportsCheck = [ "torchviz" ]; + + meta = { + description = "Small package to create visualizations of PyTorch execution graphs"; + homepage = "https://github.com/szagoruyko/pytorchviz"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ jherland ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 5d3262b216a4..5fe6aada8e28 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -14783,6 +14783,8 @@ self: super: with self; { pytorch3d = callPackage ../development/python-modules/pytorch3d { }; + pytorchviz = callPackage ../development/python-modules/pytorchviz { }; + pytouchline-extended = callPackage ../development/python-modules/pytouchline-extended { }; pytouchlinesl = callPackage ../development/python-modules/pytouchlinesl { }; From d6afa5b5bd7030ba7c0b7b5e19837b2dc851fe85 Mon Sep 17 00:00:00 2001 From: Yuriy Taraday Date: Wed, 18 Jun 2025 16:40:26 +0200 Subject: [PATCH 03/50] python3Packages.types-six: init at 1.17.0.20250515 --- .../python-modules/types-six/default.nix | 34 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 36 insertions(+) create mode 100644 pkgs/development/python-modules/types-six/default.nix diff --git a/pkgs/development/python-modules/types-six/default.nix b/pkgs/development/python-modules/types-six/default.nix new file mode 100644 index 000000000000..73d44b31cfb5 --- /dev/null +++ b/pkgs/development/python-modules/types-six/default.nix @@ -0,0 +1,34 @@ +{ + lib, + buildPythonPackage, + fetchPypi, + setuptools, +}: + +buildPythonPackage rec { + pname = "types-six"; + version = "1.17.0.20250515"; + pyproject = true; + + src = fetchPypi { + pname = "types_six"; + inherit version; + hash = "sha256-9PfwOYy3kwTog5czbmQrFelvvqz1uW12Jdo2awadLRg="; + }; + + build-system = [ setuptools ]; + + # Module doesn't have tests + doCheck = false; + + pythonImportsCheck = [ + "six-stubs" + ]; + + meta = { + description = "Typing stubs for six"; + homepage = "https://github.com/python/typeshed"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ YorikSar ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 95f3fe42791a..e7f46d8deddd 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -18605,6 +18605,8 @@ self: super: with self; { types-setuptools = callPackage ../development/python-modules/types-setuptools { }; + types-six = callPackage ../development/python-modules/types-six { }; + types-tabulate = callPackage ../development/python-modules/types-tabulate { }; types-toml = callPackage ../development/python-modules/types-toml { }; From 164994da8300855e0006f28a826c6e441ef32acb Mon Sep 17 00:00:00 2001 From: Ruud van Asseldonk Date: Mon, 9 Jun 2025 14:38:58 +0200 Subject: [PATCH 04/50] squashfsTools: 4.6.1 -> 4.7 The 4k alignment patch has severe conflicts, and at this time I don't want to spend the time rebasing it. If anybody who depends on it wants to have a shot at it, I'm happy to restore it. --- pkgs/by-name/sq/squashfsTools/4k-align.patch | 100 ------------------- pkgs/by-name/sq/squashfsTools/package.nix | 10 +- 2 files changed, 2 insertions(+), 108 deletions(-) delete mode 100644 pkgs/by-name/sq/squashfsTools/4k-align.patch diff --git a/pkgs/by-name/sq/squashfsTools/4k-align.patch b/pkgs/by-name/sq/squashfsTools/4k-align.patch deleted file mode 100644 index bbb4d99329a7..000000000000 --- a/pkgs/by-name/sq/squashfsTools/4k-align.patch +++ /dev/null @@ -1,100 +0,0 @@ -This patch is an old patch; see below for the original message body. The patch -has been updated several times to be compatible with new releases. - - * To apply to squashfs 4.4, commit 52eb4c279cd283ed9802dd1ceb686560b22ffb67. - * To apply to squashfs 4.5, commit 0496d7c3de3e09da37ba492081c86159806ebb07. - * To apply to squashfs 4.6, commit f7623b3d9953a1190fec181708c9489ef3522b9f. - -From af8a6dca694ddd38d8a775a2b5f9a24fe2d10153 Mon Sep 17 00:00:00 2001 -From: Amin Hassani -Date: Thu, 15 Dec 2016 10:43:15 -0800 -Subject: [PATCH] mksquashfs 4K aligns the files inside the squashfs image - -Files inside a squashfs image are not necessarily 4k (4096) -aligned. This patch starts each file in a 4k aligned address and pads -zero to the end of the file until it reaches the next 4k aligned -address. This will not change the size of the compressed -blocks (especially the last one) and hence it will not change how the -files are being loaded in kernel or unsquashfs. However on average this -increases the size of the squashfs image which can be calculated by the -following formula: - -increased_size = (number_of_unfragmented_files_in_image + number of fragments) * 2048 - -The 4k alignment can be enabled by flag '-4k-align' ---- - squashfs-tools/mksquashfs.c | 16 ++++++++++++++++ - 1 file changed, 16 insertions(+) - -diff --git a/squashfs-tools/mksquashfs.c b/squashfs-tools/mksquashfs.c -index 3429aac..db164c2 100644 ---- a/squashfs-tools/mksquashfs.c -+++ b/squashfs-tools/mksquashfs.c -@@ -82,6 +82,8 @@ int noI = FALSE; - int noId = FALSE; - int noD = FALSE; - int noX = FALSE; -+int do_4k_align = FALSE; -+#define ALIGN_UP(bytes, size) (bytes = (bytes + size - 1) & ~(size - 1)) - - /* block size used to build filesystem */ - int block_size = SQUASHFS_FILE_SIZE; -@@ -1624,6 +1626,9 @@ static void unlock_fragments() - * queue at this time. - */ - while(!queue_empty(locked_fragment)) { -+ // 4k align the start of remaining queued fragments. -+ if(do_4k_align) -+ ALIGN_UP(bytes, 4096); - write_buffer = queue_get(locked_fragment); - frg = write_buffer->block; - size = SQUASHFS_COMPRESSED_SIZE_BLOCK(fragment_table[frg].size); -@@ -2627,6 +2632,9 @@ static void *frag_deflator(void *arg) - write_buffer->size = compressed_size; - pthread_mutex_lock(&fragment_mutex); - if(fragments_locked == FALSE) { -+ // 4k align the start of each fragment. -+ if(do_4k_align) -+ ALIGN_UP(bytes, 4096); - fragment_table[file_buffer->block].size = c_byte; - fragment_table[file_buffer->block].start_block = bytes; - write_buffer->block = bytes; -@@ -3021,6 +3029,10 @@ static struct file_info *write_file_blocks(int *status, struct dir_ent *dir_ent, - struct file_info *file; - int bl_hash = 0; - -+ // 4k align the start of each file. -+ if(do_4k_align) -+ ALIGN_UP(bytes, 4096); -+ - if(pre_duplicate(read_size, dir_ent->inode, read_buffer, &bl_hash)) - return write_file_blocks_dup(status, dir_ent, read_buffer, dup, bl_hash); - -@@ -6169,6 +6181,7 @@ static void print_options(FILE *stream, char *name, int total_mem) - fprintf(stream, "or metadata. This is\n\t\t\tequivalent to "); - fprintf(stream, "specifying -noI -noD -noF and -noX\n"); - fprintf(stream, "\nFilesystem build options:\n"); -+ fprintf(stream, "-4k-align\t\tenables 4k alignment of all files\n"); - fprintf(stream, "-tar\t\t\tread uncompressed tar file from standard in (stdin)\n"); - fprintf(stream, "-no-strip\t\tact like tar, and do not strip leading "); - fprintf(stream, "directories\n\t\t\tfrom source files\n"); -@@ -6690,6 +6703,7 @@ static void print_summary() - "compressed", no_fragments ? "no" : noF ? "uncompressed" : - "compressed", no_xattrs ? "no" : noX ? "uncompressed" : - "compressed", noI || noId ? "uncompressed" : "compressed"); -+ printf("\t4k %saligned\n", do_4k_align ? "" : "un"); - printf("\tduplicates are %sremoved\n", duplicate_checking ? "" : - "not "); - printf("Filesystem size %.2f Kbytes (%.2f Mbytes)\n", bytes / 1024.0, -@@ -8417,6 +8431,8 @@ print_compressor_options: - } else if(strcmp(argv[i], "-comp") == 0) { - /* parsed previously */ - i++; -+ } else if(strcmp(argv[i], "-4k-align") == 0) { -+ do_4k_align = TRUE; - } else { - ERROR("%s: invalid option\n\n", argv[0]); - print_options(stderr, argv[0], total_mem); --- -2.39.2 - diff --git a/pkgs/by-name/sq/squashfsTools/package.nix b/pkgs/by-name/sq/squashfsTools/package.nix index b2ec5f2ceeba..c58c923c6cd3 100644 --- a/pkgs/by-name/sq/squashfsTools/package.nix +++ b/pkgs/by-name/sq/squashfsTools/package.nix @@ -14,21 +14,15 @@ stdenv.mkDerivation rec { pname = "squashfs"; - version = "4.6.1"; + version = "4.7"; src = fetchFromGitHub { owner = "plougher"; repo = "squashfs-tools"; rev = version; - hash = "sha256-fJ+Ijg0cj92abGe80+1swVeZamarVpnPYM7+izcPJ+k="; + hash = "sha256-hiXpnhMHbDYDy3GT1QGIq4CuH//V5Hp0zhq8JZ6+IdQ="; }; - patches = [ - # This patch adds an option to pad filesystems (increasing size) in - # exchange for better chunking / binary diff calculation. - ./4k-align.patch - ]; - strictDeps = true; nativeBuildInputs = [ which From 6f2d0ea94a8ac3895e3bf80d5c6ca9e18ead8af8 Mon Sep 17 00:00:00 2001 From: Ruud van Asseldonk Date: Wed, 20 Aug 2025 18:27:25 +0200 Subject: [PATCH 05/50] squashfsTools: 4.7 -> 4.7.2 --- pkgs/by-name/sq/squashfsTools/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/sq/squashfsTools/package.nix b/pkgs/by-name/sq/squashfsTools/package.nix index c58c923c6cd3..9f475c41f446 100644 --- a/pkgs/by-name/sq/squashfsTools/package.nix +++ b/pkgs/by-name/sq/squashfsTools/package.nix @@ -14,13 +14,13 @@ stdenv.mkDerivation rec { pname = "squashfs"; - version = "4.7"; + version = "4.7.2"; src = fetchFromGitHub { owner = "plougher"; repo = "squashfs-tools"; rev = version; - hash = "sha256-hiXpnhMHbDYDy3GT1QGIq4CuH//V5Hp0zhq8JZ6+IdQ="; + hash = "sha256-iQ+pBt+jvqI6zgZRV2MZM3CeFqiXe8Z+SS+rLOB4DLw="; }; strictDeps = true; From e7c40a97478a4475b7d916256f0c9687d47500de Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Thu, 21 Aug 2025 20:54:32 +0200 Subject: [PATCH 06/50] tmux: disable utf8proc on 32bit platforms Currently the build fails with incompatible pointer types. We could patch around this, but it doesn't seem worth it. Technically, some 32bit platforms (other than i686-linux) could define their wchar_t in a way that is compatible with utf8proc, but we don't have great test coverage, so I'm being generous here with the check. --- pkgs/by-name/tm/tmux/package.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/tm/tmux/package.nix b/pkgs/by-name/tm/tmux/package.nix index 347ee235c203..830bb3aad435 100644 --- a/pkgs/by-name/tm/tmux/package.nix +++ b/pkgs/by-name/tm/tmux/package.nix @@ -10,7 +10,8 @@ runCommand, withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd, systemd, - withUtf8proc ? true, + # broken on i686-linux https://github.com/tmux/tmux/issues/4597 + withUtf8proc ? !(stdenv.hostPlatform.is32bit), utf8proc, # gets Unicode updates faster than glibc withUtempter ? stdenv.hostPlatform.isLinux && !stdenv.hostPlatform.isMusl, libutempter, From 6cd64be42d89df20d51d9a3245bbc7d85e56b832 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Thu, 21 Aug 2025 22:43:46 +0200 Subject: [PATCH 07/50] isa-l: (temporarily?) exclude i686-linux from platforms It looks like s390 and i386 _should_ be supported, but are broken in practice. The patch Alpine Linux is using looks a little bit strange. Since isa-l is often optional, I've decided not to investigate this further. Dropping i686-linux from platforms already takes care of the cases where it is optional. --- pkgs/by-name/is/isa-l/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/is/isa-l/package.nix b/pkgs/by-name/is/isa-l/package.nix index aef29746c6da..122d62c7e5d8 100644 --- a/pkgs/by-name/is/isa-l/package.nix +++ b/pkgs/by-name/is/isa-l/package.nix @@ -98,6 +98,8 @@ stdenv.mkDerivation (finalAttrs: { # :4:26: error: unexpected token in argument list # movk x7, p4_low_b1, lsl 16 "aarch64-darwin" + # https://github.com/intel/isa-l/issues/188 + "i686-linux" ]; }; }) From a593032e939f2a83838f4e61a0a5c850674f164e Mon Sep 17 00:00:00 2001 From: Johannes Kirschbauer Date: Fri, 5 Sep 2025 18:04:13 +0200 Subject: [PATCH 08/50] nixos/modules: fw-fanctrl use correct type in freeformType --- nixos/modules/hardware/fw-fanctrl.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/hardware/fw-fanctrl.nix b/nixos/modules/hardware/fw-fanctrl.nix index feb434853ead..01df7ae3fb5f 100644 --- a/nixos/modules/hardware/fw-fanctrl.nix +++ b/nixos/modules/hardware/fw-fanctrl.nix @@ -30,7 +30,7 @@ in Additional config entries for the fw-fanctrl service (documentation: ) ''; type = lib.types.submodule { - freeformType = configFormat.type; + freeformType = lib.types.attrsOf configFormat.type; options = { defaultStrategy = lib.mkOption { type = lib.types.str; From 3e38f2bd530412ac3c71943b4d74f83620869e0e Mon Sep 17 00:00:00 2001 From: Johannes Kirschbauer Date: Fri, 5 Sep 2025 18:04:32 +0200 Subject: [PATCH 09/50] nixos/modules: agnos use correct type in freeformType --- nixos/modules/security/agnos.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/modules/security/agnos.nix b/nixos/modules/security/agnos.nix index dbd93afdb263..7697fa5e523f 100644 --- a/nixos/modules/security/agnos.nix +++ b/nixos/modules/security/agnos.nix @@ -15,7 +15,7 @@ let inherit (lib) types mkOption; in types.submodule { - freeformType = format.type; + freeformType = types.attrsOf format.type; options = { email = mkOption { @@ -53,7 +53,7 @@ let inherit (lib) types literalExpression mkOption; in types.submodule { - freeformType = format.type; + freeformType = types.attrsOf format.type; options = { domains = mkOption { @@ -91,7 +91,7 @@ in settings = mkOption { description = "Settings"; type = types.submodule { - freeformType = format.type; + freeformType = types.attrsOf format.type; options = { dns_listen_addr = mkOption { From caf74ed0de99ad41cc43912864f69cb1270dce3e Mon Sep 17 00:00:00 2001 From: codgician <15964984+codgician@users.noreply.github.com> Date: Mon, 8 Sep 2025 10:36:09 +0800 Subject: [PATCH 10/50] linuxPackages_latest.prl-tools: 26.0.0-57238 -> 26.0.1-57243 --- pkgs/os-specific/linux/prl-tools/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/prl-tools/default.nix b/pkgs/os-specific/linux/prl-tools/default.nix index aa100b3d222b..1f9cf0e7651c 100644 --- a/pkgs/os-specific/linux/prl-tools/default.nix +++ b/pkgs/os-specific/linux/prl-tools/default.nix @@ -43,13 +43,13 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "prl-tools"; - version = "26.0.0-57238"; + version = "26.0.1-57243"; # We download the full distribution to extract prl-tools-lin.iso from # => ${dmg}/Parallels\ Desktop.app/Contents/Resources/Tools/prl-tools-lin.iso src = fetchurl { url = "https://download.parallels.com/desktop/v${lib.versions.major finalAttrs.version}/${finalAttrs.version}/ParallelsDesktop-${finalAttrs.version}.dmg"; - hash = "sha256-UuQGW1qYLGVLqAzApPKBqfOZdS23mCPsID4D0HATHNw="; + hash = "sha256-jAOP9g3JCKxOFyiDdYJvvM9ecGDbMuCARCEu4sE7Cfs="; }; hardeningDisable = [ From 76ff9428c55cdf96b3b524259050f50903b44d98 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 10 Sep 2025 13:35:13 +0000 Subject: [PATCH 11/50] vcpkg-tool: 2025-08-29 -> 2025-09-03 --- pkgs/by-name/vc/vcpkg-tool/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/vc/vcpkg-tool/package.nix b/pkgs/by-name/vc/vcpkg-tool/package.nix index d61ded030fa7..b0f750244d9a 100644 --- a/pkgs/by-name/vc/vcpkg-tool/package.nix +++ b/pkgs/by-name/vc/vcpkg-tool/package.nix @@ -24,13 +24,13 @@ }: stdenv.mkDerivation (finalAttrs: { pname = "vcpkg-tool"; - version = "2025-08-29"; + version = "2025-09-03"; src = fetchFromGitHub { owner = "microsoft"; repo = "vcpkg-tool"; rev = finalAttrs.version; - hash = "sha256-j+yFC3V+zMJ0UzevVI5L2xNX5+zh/3IyU4NFZRQIf10="; + hash = "sha256-mQY5K0dBRWkZooeqRm5X0JXTuD4Xfzs9Vi5j+tbd1aw="; }; nativeBuildInputs = [ From 82a076931830d1e04a93e310a90b7d2892362c93 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Mon, 8 Sep 2025 07:10:20 +0200 Subject: [PATCH 12/50] ocamlPackages.conan: init at 0.0.6 --- .../ocaml-modules/conan/default.nix | 47 +++++++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 + 2 files changed, 49 insertions(+) create mode 100644 pkgs/development/ocaml-modules/conan/default.nix diff --git a/pkgs/development/ocaml-modules/conan/default.nix b/pkgs/development/ocaml-modules/conan/default.nix new file mode 100644 index 000000000000..17f6b11b875a --- /dev/null +++ b/pkgs/development/ocaml-modules/conan/default.nix @@ -0,0 +1,47 @@ +{ + lib, + fetchurl, + buildDunePackage, + version ? "0.0.6", + ptime, + re, + uutf, + alcotest, + crowbar, + fmt, + rresult, +}: + +buildDunePackage { + pname = "conan"; + inherit version; + + src = fetchurl { + url = "https://github.com/mirage/conan/releases/download/v${version}/conan-${version}.tbz"; + hash = "sha256-shAle4gXFf+53L+IZ4yFWewq7yZ5WlMEr9WotLvxHhY="; + }; + + propagatedBuildInputs = [ + ptime + re + uutf + ]; + + doCheck = true; + + checkInputs = [ + alcotest + crowbar + fmt + rresult + ]; + + minimalOCamlVersion = "4.12"; + + meta = { + description = "Identify type of your file (such as the MIME type)"; + homepage = "https://github.com/mirage/conan"; + license = lib.licenses.bsd2; + maintainers = [ lib.maintainers.vbgl ]; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 8b4a5428123e..fa10316c7067 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -270,6 +270,8 @@ let colors = callPackage ../development/ocaml-modules/colors { }; + conan = callPackage ../development/ocaml-modules/conan { }; + conduit = callPackage ../development/ocaml-modules/conduit { }; conduit-async = callPackage ../development/ocaml-modules/conduit/async.nix { }; From 3e288f75e83d6ebc03f1e7dab4599270b2c90ddd Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Mon, 8 Sep 2025 07:10:25 +0200 Subject: [PATCH 13/50] ocamlPackages.conan-database: init at 0.0.6 --- .../ocaml-modules/conan/database.nix | 28 +++++++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/development/ocaml-modules/conan/database.nix diff --git a/pkgs/development/ocaml-modules/conan/database.nix b/pkgs/development/ocaml-modules/conan/database.nix new file mode 100644 index 000000000000..d268f302b115 --- /dev/null +++ b/pkgs/development/ocaml-modules/conan/database.nix @@ -0,0 +1,28 @@ +{ + buildDunePackage, + conan, + alcotest, + crowbar, + fmt, + rresult, +}: + +buildDunePackage { + pname = "conan-database"; + inherit (conan) version src; + + propagatedBuildInputs = [ conan ]; + + doCheck = true; + + checkInputs = [ + alcotest + crowbar + fmt + rresult + ]; + + meta = conan.meta // { + description = "Database of decision trees to recognize MIME type"; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index fa10316c7067..b5d34d236ece 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -272,6 +272,8 @@ let conan = callPackage ../development/ocaml-modules/conan { }; + conan-database = callPackage ../development/ocaml-modules/conan/database.nix { }; + conduit = callPackage ../development/ocaml-modules/conduit { }; conduit-async = callPackage ../development/ocaml-modules/conduit/async.nix { }; From 849a539d6ed4a557e6f8cb8128d427cba9173322 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Mon, 8 Sep 2025 07:10:29 +0200 Subject: [PATCH 14/50] ocamlPackages.conan-lwt: init at 0.0.6 --- pkgs/development/ocaml-modules/conan/lwt.nix | 30 ++++++++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/development/ocaml-modules/conan/lwt.nix diff --git a/pkgs/development/ocaml-modules/conan/lwt.nix b/pkgs/development/ocaml-modules/conan/lwt.nix new file mode 100644 index 000000000000..d93c9393d367 --- /dev/null +++ b/pkgs/development/ocaml-modules/conan/lwt.nix @@ -0,0 +1,30 @@ +{ + buildDunePackage, + conan, + lwt, + bigstringaf, + alcotest, + crowbar, + fmt, + rresult, +}: + +buildDunePackage { + pname = "conan-lwt"; + inherit (conan) version src meta; + + propagatedBuildInputs = [ + conan + lwt + bigstringaf + ]; + + doCheck = true; + + checkInputs = [ + alcotest + crowbar + fmt + rresult + ]; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index b5d34d236ece..b90d62c5938c 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -274,6 +274,8 @@ let conan-database = callPackage ../development/ocaml-modules/conan/database.nix { }; + conan-lwt = callPackage ../development/ocaml-modules/conan/lwt.nix { }; + conduit = callPackage ../development/ocaml-modules/conduit { }; conduit-async = callPackage ../development/ocaml-modules/conduit/async.nix { }; From 97f26a137557ea9c509cb4a77c0f7d389473a5e4 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Mon, 8 Sep 2025 07:10:35 +0200 Subject: [PATCH 15/50] ocamlPackages.conan-unix: init at 0.0.6 --- pkgs/development/ocaml-modules/conan/unix.nix | 32 +++++++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/development/ocaml-modules/conan/unix.nix diff --git a/pkgs/development/ocaml-modules/conan/unix.nix b/pkgs/development/ocaml-modules/conan/unix.nix new file mode 100644 index 000000000000..5a5825bc69bf --- /dev/null +++ b/pkgs/development/ocaml-modules/conan/unix.nix @@ -0,0 +1,32 @@ +{ + buildDunePackage, + fetchpatch, + conan, + alcotest, + crowbar, + fmt, + rresult, +}: + +buildDunePackage { + pname = "conan-unix"; + inherit (conan) version src meta; + + patches = fetchpatch { + url = "https://github.com/mirage/conan/commit/16872a71be3ef2870d32df849e7abcbaec4fe95d.patch"; + hash = "sha256-/j9nNGOklzNrdIPW7SMNhKln9EMXiXmvPmNRpXc/l/Y="; + }; + + propagatedBuildInputs = [ + conan + ]; + + doCheck = true; + + checkInputs = [ + alcotest + crowbar + fmt + rresult + ]; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index b90d62c5938c..a3fc90bb739e 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -276,6 +276,8 @@ let conan-lwt = callPackage ../development/ocaml-modules/conan/lwt.nix { }; + conan-unix = callPackage ../development/ocaml-modules/conan/unix.nix { }; + conduit = callPackage ../development/ocaml-modules/conduit { }; conduit-async = callPackage ../development/ocaml-modules/conduit/async.nix { }; From 4a5351c425cf3fbc1c0ba5376446f641dd35926f Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Thu, 11 Sep 2025 20:19:38 +0200 Subject: [PATCH 16/50] ocamlPackages.conan-cli: init at 0.0.6 --- pkgs/development/ocaml-modules/conan/cli.nix | 36 ++++++++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 ++ 2 files changed, 38 insertions(+) create mode 100644 pkgs/development/ocaml-modules/conan/cli.nix diff --git a/pkgs/development/ocaml-modules/conan/cli.nix b/pkgs/development/ocaml-modules/conan/cli.nix new file mode 100644 index 000000000000..16fca5832331 --- /dev/null +++ b/pkgs/development/ocaml-modules/conan/cli.nix @@ -0,0 +1,36 @@ +{ + buildDunePackage, + conan-unix, + dune-site, + alcotest, + conan-database, + crowbar, + fmt, + rresult, +}: + +buildDunePackage { + pname = "conan-cli"; + inherit (conan-unix) version src meta; + + buildInputs = [ + conan-unix + dune-site + ]; + + doCheck = true; + + preCheck = '' + export DUNE_CACHE=disabled + ''; + + nativeCheckInputs = [ conan-database ]; + + checkInputs = [ + alcotest + conan-database + crowbar + fmt + rresult + ]; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index a3fc90bb739e..8f73953f7644 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -272,6 +272,8 @@ let conan = callPackage ../development/ocaml-modules/conan { }; + conan-cli = callPackage ../development/ocaml-modules/conan/cli.nix { }; + conan-database = callPackage ../development/ocaml-modules/conan/database.nix { }; conan-lwt = callPackage ../development/ocaml-modules/conan/lwt.nix { }; From 0a35b0539cc677a0378a28a5cf2be666b5eee726 Mon Sep 17 00:00:00 2001 From: fsagbuya Date: Fri, 12 Sep 2025 17:19:17 +0800 Subject: [PATCH 17/50] nixos/bind: add extraArgs option for command-line arguments --- nixos/modules/services/networking/bind.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/bind.nix b/nixos/modules/services/networking/bind.nix index c53e13713f5f..e8c61ab3f846 100644 --- a/nixos/modules/services/networking/bind.nix +++ b/nixos/modules/services/networking/bind.nix @@ -266,6 +266,18 @@ in ''; }; + extraArgs = lib.mkOption { + type = lib.types.listOf lib.types.str; + default = [ ]; + description = '' + Additional command-line arguments to pass to named. + ''; + example = [ + "-n" + "4" + ]; + }; + configFile = lib.mkOption { type = lib.types.path; default = confFile; @@ -315,7 +327,7 @@ in serviceConfig = { Type = "forking"; # Set type to forking, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=900788 - ExecStart = "${bindPkg.out}/sbin/named ${lib.optionalString cfg.ipv4Only "-4"} -c ${cfg.configFile}"; + ExecStart = "${bindPkg.out}/sbin/named ${lib.optionalString cfg.ipv4Only "-4"} -c ${cfg.configFile} ${lib.concatStringsSep " " cfg.extraArgs}"; ExecReload = "${bindPkg.out}/sbin/rndc -k '/etc/bind/rndc.key' reload"; ExecStop = "${bindPkg.out}/sbin/rndc -k '/etc/bind/rndc.key' stop"; User = bindUser; From 75eebec38b6405503e6b3335e8225a6fca3f67d3 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 13 Sep 2025 04:52:27 +0000 Subject: [PATCH 18/50] source-meta-json-schema: 11.1.1 -> 11.8.1 --- pkgs/by-name/so/source-meta-json-schema/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/so/source-meta-json-schema/package.nix b/pkgs/by-name/so/source-meta-json-schema/package.nix index c8fb16197637..7ff47c3275f4 100644 --- a/pkgs/by-name/so/source-meta-json-schema/package.nix +++ b/pkgs/by-name/so/source-meta-json-schema/package.nix @@ -5,7 +5,7 @@ cmake, }: let - version = "11.1.1"; + version = "11.8.1"; in stdenv.mkDerivation (finalAttrs: { pname = "source-meta-json-schema"; @@ -15,7 +15,7 @@ stdenv.mkDerivation (finalAttrs: { owner = "sourcemeta"; repo = "jsonschema"; rev = "v${version}"; - hash = "sha256-eXUiRpZko5ZHf2NVQu9HD+FgR3BxcTB9feNeI0kml+4="; + hash = "sha256-JfQpjqjZSrOQM0ufccuhKNgxtzkJ+t+QDC8yFd1sTeQ="; }; nativeBuildInputs = [ From 1ca9028ba2f68f7a3392d0428260a5d312ccb714 Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Sat, 13 Sep 2025 14:30:58 +0200 Subject: [PATCH 19/50] systemd: Drop POWER ELF ABI auto-detect patch Was backported and included in 257.8, fails to apply now. --- pkgs/os-specific/linux/systemd/default.nix | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix index 32a963e12cd0..ad8d3b688232 100644 --- a/pkgs/os-specific/linux/systemd/default.nix +++ b/pkgs/os-specific/linux/systemd/default.nix @@ -255,16 +255,6 @@ stdenv.mkDerivation (finalAttrs: { ++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isGnu) [ ./0020-timesyncd-disable-NSCD-when-DNSSEC-validation-is-dis.patch ] - ++ lib.optionals (stdenv.hostPlatform.isPower64) [ - # Auto-detect ELF ABI instead of hardcoding ELFv2 for BPF build - # Fixes targeting ELFv1 - # https://github.com/systemd/systemd/pull/38307#issuecomment-3120543119 - (fetchpatch { - name = "0101-systemd-meson.build-Detect-ELF-ABI-version-for-bpf-build-on-ppc64.patch"; - url = "https://github.com/systemd/systemd/commit/f9509192512a4c4b9e3915a096333d4b6b297956.patch"; - hash = "sha256-OGUw+hRCKZm+1EcR64M67QJ9c/PbS2Lk/A+1B3q4Jzs="; - }) - ] ++ lib.optionals stdenv.hostPlatform.isMusl ( let # NOTE: the master-next branch does not have stable URLs. From cd9a2e7a24fad478a3629e5f2cab0e3396f5a8ed Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 13 Sep 2025 18:19:35 +0000 Subject: [PATCH 20/50] nb: 7.20.1 -> 7.21.1 --- pkgs/by-name/nb/nb/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/nb/nb/package.nix b/pkgs/by-name/nb/nb/package.nix index 0a8cf83182df..579fadc8912a 100644 --- a/pkgs/by-name/nb/nb/package.nix +++ b/pkgs/by-name/nb/nb/package.nix @@ -11,13 +11,13 @@ stdenv.mkDerivation rec { pname = "nb"; - version = "7.20.1"; + version = "7.21.1"; src = fetchFromGitHub { owner = "xwmx"; repo = "nb"; rev = version; - hash = "sha256-926M5Tg1XWZR++neCou/uy1RtLeIbqHdA1vHaJv/e9o="; + hash = "sha256-d9QhJBRdfTMIDHFOX4/fMmZnqCMeGqQhJTr60Ea7ucw="; }; nativeBuildInputs = [ installShellFiles ]; From 093657d5d90b5d703a850c59013353af67b5acd6 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 13 Sep 2025 19:42:14 +0000 Subject: [PATCH 21/50] messer-slim: 5.0 -> 5.1 --- pkgs/by-name/me/messer-slim/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/me/messer-slim/package.nix b/pkgs/by-name/me/messer-slim/package.nix index cc2558340e78..97540747afcd 100644 --- a/pkgs/by-name/me/messer-slim/package.nix +++ b/pkgs/by-name/me/messer-slim/package.nix @@ -8,14 +8,14 @@ }: stdenv.mkDerivation rec { - version = "5.0"; + version = "5.1"; pname = "messer-slim"; src = fetchFromGitHub { owner = "MesserLab"; repo = "SLiM"; rev = "v${version}"; - hash = "sha256-fouZI5Uc8pY7eXD9Tm1C66j3reu7kijTEGA402bOJwc="; + hash = "sha256-E1GxHdzY/5bxy8+ur3+/dheDOrmWaOrNcYDNSaY9cMU="; }; nativeBuildInputs = [ From 3f741e0217c3e7eb0a76ec7cb9775d1483d1e66c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 13 Sep 2025 21:34:45 +0000 Subject: [PATCH 22/50] trealla: 2.82.9 -> 2.82.33 --- pkgs/by-name/tr/trealla/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/tr/trealla/package.nix b/pkgs/by-name/tr/trealla/package.nix index ac0a876710d0..c23d547a2789 100644 --- a/pkgs/by-name/tr/trealla/package.nix +++ b/pkgs/by-name/tr/trealla/package.nix @@ -23,13 +23,13 @@ assert lib.elem lineEditingLibrary [ ]; stdenv.mkDerivation (finalAttrs: { pname = "trealla"; - version = "2.82.9"; + version = "2.82.33"; src = fetchFromGitHub { owner = "trealla-prolog"; repo = "trealla"; rev = "v${finalAttrs.version}"; - hash = "sha256-2eexWmrVNjfOnK+upPJfUMxE+Xuo5dOyJrEFNGuCapc="; + hash = "sha256-NjWvcNE0/FTDTafBpHen06A2UrCA4TBiQWGnDaz/3Yk="; }; postPatch = '' From 4484cd3b80f89baaec9f16c762bcdc97dede4426 Mon Sep 17 00:00:00 2001 From: Liam Murphy Date: Sun, 14 Sep 2025 08:58:17 +1000 Subject: [PATCH 23/50] simplesat: fix outdated subsitution Fixed upstream in https://github.com/enthought/sat-solver/commit/78ec1d8faf2a1b35a26a65c2779b80d71f4c7806 --- pkgs/development/python-modules/simplesat/default.nix | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkgs/development/python-modules/simplesat/default.nix b/pkgs/development/python-modules/simplesat/default.nix index d325847f9ab0..80829fde3552 100644 --- a/pkgs/development/python-modules/simplesat/default.nix +++ b/pkgs/development/python-modules/simplesat/default.nix @@ -47,11 +47,6 @@ buildPythonPackage rec { pythonImportsCheck = [ "simplesat" ]; - preCheck = '' - substituteInPlace simplesat/tests/test_pool.py \ - --replace-fail "assertRaisesRegexp" "assertRaisesRegex" - ''; - enabledTestPaths = [ "simplesat/tests" ]; meta = with lib; { From 0d1c72c738c90bf0627f86f6f7f3b5ae783d38c0 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 14 Sep 2025 02:05:07 +0000 Subject: [PATCH 24/50] peergos: 1.10.0 -> 1.11.0 --- pkgs/by-name/pe/peergos/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/pe/peergos/package.nix b/pkgs/by-name/pe/peergos/package.nix index 3f8937944991..9e86fb9349c8 100644 --- a/pkgs/by-name/pe/peergos/package.nix +++ b/pkgs/by-name/pe/peergos/package.nix @@ -41,12 +41,12 @@ let in stdenv.mkDerivation rec { pname = "peergos"; - version = "1.10.0"; + version = "1.11.0"; src = fetchFromGitHub { owner = "Peergos"; repo = "web-ui"; rev = "v${version}"; - hash = "sha256-L6r0Ut/8HnJO7MYOZsDX7AzntVBTZb5iRKwaFvFKdUs="; + hash = "sha256-JUeNNBWzIZlC1+sc1YV+3iPg4PMt+BevG5dDi4JybPk="; fetchSubmodules = true; }; From 4ad4042601f43868e4af1622672cda4e3b6fea75 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 14 Sep 2025 05:05:19 +0000 Subject: [PATCH 25/50] ranger: 1.9.3-unstable-2025-08-03 -> 1.9.3-unstable-2025-09-10 --- pkgs/by-name/ra/ranger/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ra/ranger/package.nix b/pkgs/by-name/ra/ranger/package.nix index 98906ddbe0ca..27753b1419b7 100644 --- a/pkgs/by-name/ra/ranger/package.nix +++ b/pkgs/by-name/ra/ranger/package.nix @@ -17,14 +17,14 @@ python3Packages.buildPythonApplication { pname = "ranger"; - version = "1.9.3-unstable-2025-08-03"; + version = "1.9.3-unstable-2025-09-10"; format = "setuptools"; src = fetchFromGitHub { owner = "ranger"; repo = "ranger"; - rev = "760fb03dccdfaeb2e08f3a7f4f867f913af2d74f"; - hash = "sha256-lnnJz4/xtJZhxOPfJqZq/o7ke9DpaLCcr5dh2M2AbGg="; + rev = "3f7a3546e59d52e5de5bbb13b9d9968bfaf6b659"; + hash = "sha256-a+bfOE0/TfYvyxKjPXo5Q2WKSmfPaM+YJdggjcWFv5I="; }; LC_ALL = "en_US.UTF-8"; From e1cb01d0b45c3472dc83cb544ea68a641db23889 Mon Sep 17 00:00:00 2001 From: Evgeny Kurnevsky Date: Sun, 14 Sep 2025 09:05:39 +0200 Subject: [PATCH 26/50] oauth2-proxy: fix nginx variables They are properly set only inside location block. --- nixos/modules/services/security/oauth2-proxy-nginx.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/nixos/modules/services/security/oauth2-proxy-nginx.nix b/nixos/modules/services/security/oauth2-proxy-nginx.nix index 307d73adea3d..97e50f1c6fbb 100644 --- a/nixos/modules/services/security/oauth2-proxy-nginx.nix +++ b/nixos/modules/services/security/oauth2-proxy-nginx.nix @@ -97,6 +97,10 @@ in virtualHosts.${vhost} = { locations = { "/".extraConfig = '' + auth_request_set $user $upstream_http_x_auth_request_user; + auth_request_set $email $upstream_http_x_auth_request_email; + auth_request_set $auth_cookie $upstream_http_set_cookie; + # pass information via X-User and X-Email headers to backend, requires running with --set-xauthrequest flag proxy_set_header X-User $user; proxy_set_header X-Email $email; @@ -141,11 +145,6 @@ in extraConfig = '' auth_request /oauth2/auth; error_page 401 = @redirectToAuth2ProxyLogin; - - # set variables being used in locations."/".extraConfig - auth_request_set $user $upstream_http_x_auth_request_user; - auth_request_set $email $upstream_http_x_auth_request_email; - auth_request_set $auth_cookie $upstream_http_set_cookie; ''; }; }) cfg.virtualHosts) From 69aa67338f7eeba47c1dd1ff6d880dbf9e12a6b5 Mon Sep 17 00:00:00 2001 From: Johannes Kirschbauer Date: Fri, 5 Sep 2025 18:04:48 +0200 Subject: [PATCH 27/50] nixos/modules: openvpn3 use correct type in freeformType --- nixos/modules/programs/openvpn3.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/nixos/modules/programs/openvpn3.nix b/nixos/modules/programs/openvpn3.nix index 2ab5fbfc9083..88c2660055c1 100644 --- a/nixos/modules/programs/openvpn3.nix +++ b/nixos/modules/programs/openvpn3.nix @@ -18,7 +18,12 @@ let options lists ; - inherit (lib.types) bool submodule ints; + inherit (lib.types) + bool + submodule + ints + attrsOf + ; in { options.programs.openvpn3 = { @@ -33,7 +38,7 @@ in description = "Options stored in {file}`/etc/openvpn3/netcfg.json` configuration file"; default = { }; type = submodule { - freeformType = json.type; + freeformType = attrsOf json.type; options = { systemd_resolved = mkOption { type = bool; @@ -57,7 +62,7 @@ in description = "Options stored in {file}`/etc/openvpn3/log-service.json` configuration file"; default = { }; type = submodule { - freeformType = json.type; + freeformType = attrsOf json.type; options = { journald = mkOption { description = "Use systemd-journald"; From 30b647732cc37e71ae9657b7b0e8baafe74653e1 Mon Sep 17 00:00:00 2001 From: Johannes Kirschbauer Date: Fri, 5 Sep 2025 18:05:08 +0200 Subject: [PATCH 28/50] nixos/modules: meshcentral use correct type in freeformType --- nixos/modules/services/admin/meshcentral.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/admin/meshcentral.nix b/nixos/modules/services/admin/meshcentral.nix index 6d8be447645d..f736429fd234 100644 --- a/nixos/modules/services/admin/meshcentral.nix +++ b/nixos/modules/services/admin/meshcentral.nix @@ -24,7 +24,7 @@ with lib; - [Old homepage with documentation link](https://www.meshcommander.com/meshcentral2) ''; type = types.submodule { - freeformType = configFormat.type; + freeformType = attrsOf configFormat.type; }; example = { settings = { From d263af79ec613ace62cbee610426736212891d84 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 14 Sep 2025 19:42:12 +0000 Subject: [PATCH 29/50] kardolus-chatgpt-cli: 1.8.8 -> 1.8.9 --- pkgs/by-name/ka/kardolus-chatgpt-cli/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ka/kardolus-chatgpt-cli/package.nix b/pkgs/by-name/ka/kardolus-chatgpt-cli/package.nix index 0444f9c523e4..ea06e465e278 100644 --- a/pkgs/by-name/ka/kardolus-chatgpt-cli/package.nix +++ b/pkgs/by-name/ka/kardolus-chatgpt-cli/package.nix @@ -9,18 +9,18 @@ buildGoModule (finalAttrs: { # "chatgpt-cli" is taken by another package with the same upsteam name. # To keep "pname" and "package attribute name" identical, the owners name (kardolus) gets prefixed as identifier. pname = "kardolus-chatgpt-cli"; - version = "1.8.8"; + version = "1.8.9"; src = fetchFromGitHub { owner = "kardolus"; repo = "chatgpt-cli"; rev = "v${finalAttrs.version}"; - hash = "sha256-KdE4TzCkqIzs8xPYflHFpWqpUKqMMxy1YwfNRvyLc08="; + hash = "sha256-XC8Uzrm8OjyEvdYArFt6rJJYrXKJeG3QgaOqgUyFNmw="; }; vendorHash = null; # The tests of kardolus/chatgpt-cli require an OpenAI API Key to be present in the environment, - # (e.g. https://github.com/kardolus/chatgpt-cli/blob/v1.8.8/test/contract/contract_test.go#L35) + # (e.g. https://github.com/kardolus/chatgpt-cli/blob/v1.8.9/test/contract/contract_test.go#L35) # which will not be the case in the pipeline. # Therefore, tests must be skipped. doCheck = false; From 96c041100901a7760d2c2d037adea101aa09c68e Mon Sep 17 00:00:00 2001 From: Defelo Date: Fri, 29 Aug 2025 21:56:24 +0200 Subject: [PATCH 30/50] radicle-job: init at 0.3.0 --- pkgs/by-name/ra/radicle-job/package.nix | 55 +++++++++++++++++++++++++ pkgs/by-name/ra/radicle-job/update.sh | 5 +++ 2 files changed, 60 insertions(+) create mode 100644 pkgs/by-name/ra/radicle-job/package.nix create mode 100755 pkgs/by-name/ra/radicle-job/update.sh diff --git a/pkgs/by-name/ra/radicle-job/package.nix b/pkgs/by-name/ra/radicle-job/package.nix new file mode 100644 index 000000000000..7e0200a3bd87 --- /dev/null +++ b/pkgs/by-name/ra/radicle-job/package.nix @@ -0,0 +1,55 @@ +{ + lib, + rustPlatform, + fetchFromRadicle, + fetchRadiclePatch, + radicle-node, + gitMinimal, + versionCheckHook, +}: + +rustPlatform.buildRustPackage (finalAttrs: { + pname = "radicle-job"; + version = "0.3.0"; + + src = fetchFromRadicle { + seed = "iris.radicle.xyz"; + repo = "z2UcCU1LgMshWvXj6hXSDDrwB8q8M"; + tag = "releases/v${finalAttrs.version}"; + hash = "sha256-6UrkKyIdSM5lSYNF/A3xIf3FGiM2pB/5s7F49jtn0KE="; + }; + + patches = [ + # https://app.radicle.xyz/nodes/rosa.radicle.xyz/rad:z2UcCU1LgMshWvXj6hXSDDrwB8q8M/patches/dac4fef89d07fe609dd5d3d75ea57f76f1cca3dc + (fetchRadiclePatch { + inherit (finalAttrs.src) seed repo; + revision = "dac4fef89d07fe609dd5d3d75ea57f76f1cca3dc"; + hash = "sha256-oFUkiBIqAa/DWqlTZw0LzHbgK/uhWik8qbRcGcGpkDY="; + }) + ]; + + cargoHash = "sha256-5GjLqs4ol7lUE96KwtE7W3lxL9H/A/0yDpiMDiLQDeY="; + + nativeCheckInputs = [ + radicle-node + gitMinimal + ]; + + nativeInstallCheckInputs = [ versionCheckHook ]; + versionCheckProgramArg = "--version"; + doInstallCheck = true; + + passthru.updateScript = ./update.sh; + + meta = { + description = "Create, update, and query Radicle Job Collaborative Objects"; + homepage = "https://app.radicle.xyz/nodes/iris.radicle.xyz/rad:z2UcCU1LgMshWvXj6hXSDDrwB8q8M"; + changelog = "https://app.radicle.xyz/nodes/iris.radicle.xyz/rad:z2UcCU1LgMshWvXj6hXSDDrwB8q8M/tree/CHANGELOG.md"; + license = with lib.licenses; [ + mit + asl20 + ]; + maintainers = with lib.maintainers; [ defelo ]; + mainProgram = "rad-job"; + }; +}) diff --git a/pkgs/by-name/ra/radicle-job/update.sh b/pkgs/by-name/ra/radicle-job/update.sh new file mode 100755 index 000000000000..ee4d674ef0cc --- /dev/null +++ b/pkgs/by-name/ra/radicle-job/update.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env nix-shell +#!nix-shell -i bash -p coreutils gnugrep common-updater-scripts nix-update + +version=$(list-git-tags | grep -oP '^releases/v\K\d+\.\d+\.\d+$' | sort -rV | head -1) +nix-update --version="$version" radicle-job From 4a06bb472464ce71cdc02ae0fd80d09646639ece Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 14 Sep 2025 23:19:01 +0000 Subject: [PATCH 31/50] fosrl-gerbil: 1.1.0 -> 1.2.1 --- pkgs/by-name/fo/fosrl-gerbil/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/fo/fosrl-gerbil/package.nix b/pkgs/by-name/fo/fosrl-gerbil/package.nix index 96e67370df1c..61f7eb74a256 100644 --- a/pkgs/by-name/fo/fosrl-gerbil/package.nix +++ b/pkgs/by-name/fo/fosrl-gerbil/package.nix @@ -7,16 +7,16 @@ buildGoModule rec { pname = "gerbil"; - version = "1.1.0"; + version = "1.2.1"; src = fetchFromGitHub { owner = "fosrl"; repo = "gerbil"; tag = version; - hash = "sha256-vfeI3GNI910FQmHK53E6yPrWF3tQtjrpQ/oP2PcDzs4="; + hash = "sha256-Pnti0agkohRBWQ42cqNOA5TnnSLP9JbOK1eyGf88cao="; }; - vendorHash = "sha256-m6UfW+DVT0T/t7fiqZXc2ihg2O07C7LnR0uy4FDWPCA="; + vendorHash = "sha256-Sz+49ViQUwJCy7wXDrQf7c76rOZbSGBCgB+Du8T6ug0="; # patch out the /usr/sbin/iptables postPatch = '' From a28463bb8451c7736751b5f0b365147820d48720 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 14 Sep 2025 23:22:28 +0000 Subject: [PATCH 32/50] toml-sort: 0.24.2 -> 0.24.3 --- pkgs/by-name/to/toml-sort/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/to/toml-sort/package.nix b/pkgs/by-name/to/toml-sort/package.nix index 291a5c942e18..4c2dddd908cc 100644 --- a/pkgs/by-name/to/toml-sort/package.nix +++ b/pkgs/by-name/to/toml-sort/package.nix @@ -4,7 +4,7 @@ fetchFromGitHub, }: let - version = "0.24.2"; + version = "0.24.3"; in python3Packages.buildPythonApplication { pname = "toml-sort"; @@ -15,7 +15,7 @@ python3Packages.buildPythonApplication { owner = "pappasam"; repo = "toml-sort"; tag = "v${version}"; - hash = "sha256-PuTXG8RIN8Mui5J8DV0yxe94y6FNs4TgPyHjEhpcKqM="; + hash = "sha256-QlKksxwgdN37Z6nU1CloUT+G+mRNnkVnbI2++J3R+AY="; }; build-system = [ python3Packages.poetry-core ]; From ad8fd71549576a50e4f427d0dd8a26dfe3b79cd1 Mon Sep 17 00:00:00 2001 From: magicquark <198001825+magicquark@users.noreply.github.com> Date: Mon, 15 Sep 2025 00:24:58 +0100 Subject: [PATCH 33/50] seafile-client: migrate to pkgs/by-name --- .../se/seafile-client/package.nix} | 13 +++++-------- pkgs/top-level/all-packages.nix | 2 -- 2 files changed, 5 insertions(+), 10 deletions(-) rename pkgs/{applications/networking/seafile-client/default.nix => by-name/se/seafile-client/package.nix} (90%) diff --git a/pkgs/applications/networking/seafile-client/default.nix b/pkgs/by-name/se/seafile-client/package.nix similarity index 90% rename from pkgs/applications/networking/seafile-client/default.nix rename to pkgs/by-name/se/seafile-client/package.nix index 27d346250b17..6d01c6b5762c 100644 --- a/pkgs/applications/networking/seafile-client/default.nix +++ b/pkgs/by-name/se/seafile-client/package.nix @@ -5,15 +5,12 @@ fetchFromGitHub, pkg-config, cmake, - qttools, - qt5compat, + qt6, libuuid, seafile-shared, jansson, libsearpc, withShibboleth ? true, - qtwebengine, - wrapQtAppsHook, }: stdenv.mkDerivation rec { @@ -40,17 +37,17 @@ stdenv.mkDerivation rec { libuuid pkg-config cmake - wrapQtAppsHook - qttools + qt6.wrapQtAppsHook + qt6.qttools ]; buildInputs = [ - qt5compat + qt6.qt5compat seafile-shared jansson libsearpc ] - ++ lib.optional withShibboleth qtwebengine; + ++ lib.optional withShibboleth qt6.qtwebengine; cmakeFlags = lib.optional withShibboleth "-DBUILD_SHIBBOLETH_SUPPORT=ON"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1c124dbfd537..f2148de80af5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12848,8 +12848,6 @@ with pkgs; scantailor-universal = callPackage ../applications/graphics/scantailor/universal.nix { }; - seafile-client = qt6Packages.callPackage ../applications/networking/seafile-client { }; - seq66 = qt5.callPackage ../applications/audio/seq66 { }; sfxr-qt = libsForQt5.callPackage ../applications/audio/sfxr-qt { }; From 6682f292234a102c8f5e845f2ffd21af92a341aa Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 15 Sep 2025 02:00:29 +0000 Subject: [PATCH 34/50] qgv: 1.3.5 -> 1.3.6 --- pkgs/by-name/qg/qgv/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/qg/qgv/package.nix b/pkgs/by-name/qg/qgv/package.nix index d9ab3c7fc437..7c7a72403686 100644 --- a/pkgs/by-name/qg/qgv/package.nix +++ b/pkgs/by-name/qg/qgv/package.nix @@ -10,13 +10,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "qgv"; - version = "1.3.5"; + version = "1.3.6"; src = fetchFromGitHub { owner = "gepetto"; repo = "qgv"; rev = "v${finalAttrs.version}"; - hash = "sha256-NUMCVqXw7euwxm4vISU8qYFfvV5HbAJsj/IjyxEjCPw="; + hash = "sha256-602+CQAScZPNkuudwbRS1NJYYSoQCDwcRJcj8cS/10Q="; }; buildInputs = [ From 820fcf214116e8a4780176def93cef0f13680fc8 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 15 Sep 2025 02:34:42 +0000 Subject: [PATCH 35/50] libretro.fceumm: 0-unstable-2025-09-03 -> 0-unstable-2025-09-13 --- pkgs/applications/emulators/libretro/cores/fceumm.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/emulators/libretro/cores/fceumm.nix b/pkgs/applications/emulators/libretro/cores/fceumm.nix index 366aed4c2cdb..ad8a8f041292 100644 --- a/pkgs/applications/emulators/libretro/cores/fceumm.nix +++ b/pkgs/applications/emulators/libretro/cores/fceumm.nix @@ -5,13 +5,13 @@ }: mkLibretroCore { core = "fceumm"; - version = "0-unstable-2025-09-03"; + version = "0-unstable-2025-09-13"; src = fetchFromGitHub { owner = "libretro"; repo = "libretro-fceumm"; - rev = "a5dbb223fc27cc4c7763c977682cfe3b3450d482"; - hash = "sha256-K52Q9KDMgUUY5kmWNuMcZhib5nPdITMt5hXFyDPX+MU="; + rev = "5cd4a43e16a7f3cd35628d481c347a0a98cfdfa2"; + hash = "sha256-/FvXQlp20QMFg1uPmj2HSJFXhzBunygOmGEtGNGJyxk="; }; meta = { From 0d6cd0f1d83947ed1ba6bf11532601ee8f067105 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 15 Sep 2025 02:56:07 +0000 Subject: [PATCH 36/50] terraform-providers.mongodbatlas: 1.40.0 -> 1.41.0 --- .../networking/cluster/terraform-providers/providers.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/terraform-providers/providers.json b/pkgs/applications/networking/cluster/terraform-providers/providers.json index 95d46e185019..a56ed4f294eb 100644 --- a/pkgs/applications/networking/cluster/terraform-providers/providers.json +++ b/pkgs/applications/networking/cluster/terraform-providers/providers.json @@ -849,13 +849,13 @@ "vendorHash": "sha256-QWBzQXx/dzWZr9dn3LHy8RIvZL1EA9xYqi7Ppzvju7g=" }, "mongodbatlas": { - "hash": "sha256-IWawVQ+m1NeGqMTrtSE4bH/220tdP2Figqb6yviVEUo=", + "hash": "sha256-DaGJHlprTlOfbYmXL0rqbxjbs0azi3aUzdutNv62Kc0=", "homepage": "https://registry.terraform.io/providers/mongodb/mongodbatlas", "owner": "mongodb", "repo": "terraform-provider-mongodbatlas", - "rev": "v1.40.0", + "rev": "v1.41.0", "spdx": "MPL-2.0", - "vendorHash": "sha256-XhsoMZc/7zh5AoJtpETVHVvmxSkfMYtJGho+Cy06VMs=" + "vendorHash": "sha256-bSLbYA6phEi3jvsiSrcWfH1f2/ZdW+9JIA25pDRaDnQ=" }, "namecheap": { "hash": "sha256-fHH9sHI1mqQ9q9nX9DHJ0qfEfmDB4/2uzyVvUuIAF18=", From 8ecbd186f8b777ee780963ce5ec3a8c603bd9ce3 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 15 Sep 2025 03:17:29 +0000 Subject: [PATCH 37/50] terraform-providers.pagerduty: 3.28.2 -> 3.29.0 --- .../networking/cluster/terraform-providers/providers.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/cluster/terraform-providers/providers.json b/pkgs/applications/networking/cluster/terraform-providers/providers.json index 95d46e185019..8c5f0ac7367b 100644 --- a/pkgs/applications/networking/cluster/terraform-providers/providers.json +++ b/pkgs/applications/networking/cluster/terraform-providers/providers.json @@ -1030,11 +1030,11 @@ "vendorHash": null }, "pagerduty": { - "hash": "sha256-iRSd0olC82nr/Uzogg5DsiPAQIVLJRzM2wI9yubs/cw=", + "hash": "sha256-PkDugN/y3WmsNdl8+3/3l2tEWilJSEnJPdfkTzCm5mE=", "homepage": "https://registry.terraform.io/providers/PagerDuty/pagerduty", "owner": "PagerDuty", "repo": "terraform-provider-pagerduty", - "rev": "v3.28.2", + "rev": "v3.29.0", "spdx": "MPL-2.0", "vendorHash": null }, From 26c93b3138704c1539449d992a52a65e0e665265 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 15 Sep 2025 03:20:43 +0000 Subject: [PATCH 38/50] terraform-providers.yandex: 0.156.0 -> 0.158.0 --- .../networking/cluster/terraform-providers/providers.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/terraform-providers/providers.json b/pkgs/applications/networking/cluster/terraform-providers/providers.json index 95d46e185019..0cbff2c6fc56 100644 --- a/pkgs/applications/networking/cluster/terraform-providers/providers.json +++ b/pkgs/applications/networking/cluster/terraform-providers/providers.json @@ -1535,12 +1535,12 @@ "vendorHash": "sha256-GRnVhGpVgFI83Lg34Zv1xgV5Kp8ioKTFV5uaqS80ATg=" }, "yandex": { - "hash": "sha256-JTQnnJUr6qX1KilrwE1VQi74krq1ci4+iz/8jHaHmXY=", + "hash": "sha256-ANr3qJO3LMjqJa6RNjEaEOF7iV0DyqkihAir1FfJWzs=", "homepage": "https://registry.terraform.io/providers/yandex-cloud/yandex", "owner": "yandex-cloud", "repo": "terraform-provider-yandex", - "rev": "v0.156.0", + "rev": "v0.158.0", "spdx": "MPL-2.0", - "vendorHash": "sha256-LovDyADJeMQpIW3YqrdoNChmRf4XDBZK3DG/oOmtxOI=" + "vendorHash": "sha256-bmjr1pKK7rVWNa9VF5R/FRxvVJI2Riua9Vdh5pR2p1I=" } } From 4a0832f083fc23c9a06df481c902b414f2937a65 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 15 Sep 2025 04:22:13 +0000 Subject: [PATCH 39/50] python3Packages.translate-toolkit: 3.16.0 -> 3.16.1 --- pkgs/development/python-modules/translate-toolkit/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/translate-toolkit/default.nix b/pkgs/development/python-modules/translate-toolkit/default.nix index 6e67f8f2db17..75feebacc1b6 100644 --- a/pkgs/development/python-modules/translate-toolkit/default.nix +++ b/pkgs/development/python-modules/translate-toolkit/default.nix @@ -28,7 +28,7 @@ buildPythonPackage rec { pname = "translate-toolkit"; - version = "3.16.0"; + version = "3.16.1"; pyproject = true; @@ -36,7 +36,7 @@ buildPythonPackage rec { owner = "translate"; repo = "translate"; tag = version; - hash = "sha256-KKkYVih2iV/UpizqtYfgu5VPeqzKBJuIc2fzPmePndo="; + hash = "sha256-AEMqnTnnbqNsVQY0eE2ATn2NbV9jVPtfCo3Lve7MEmg="; }; build-system = [ setuptools-scm ]; From 13de3f855dff0e1cbd0c4810dd48a31ff0ee87fa Mon Sep 17 00:00:00 2001 From: magicquark <198001825+magicquark@users.noreply.github.com> Date: Mon, 15 Sep 2025 02:53:21 +0100 Subject: [PATCH 40/50] seafile-client: 9.0.14 -> 9.0.15 Release: https://github.com/haiwen/seafile-client/releases/tag/v9.0.15 Changes: https://github.com/haiwen/seafile-client/compare/v9.0.14...v9.0.15 --- pkgs/by-name/se/seafile-client/package.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/se/seafile-client/package.nix b/pkgs/by-name/se/seafile-client/package.nix index 6d01c6b5762c..5176360e215b 100644 --- a/pkgs/by-name/se/seafile-client/package.nix +++ b/pkgs/by-name/se/seafile-client/package.nix @@ -15,13 +15,13 @@ stdenv.mkDerivation rec { pname = "seafile-client"; - version = "9.0.14"; + version = "9.0.15"; src = fetchFromGitHub { owner = "haiwen"; repo = "seafile-client"; - rev = "v${version}"; - hash = "sha256-ZMhU0uXAC3tH1e3ktiHhC5YCDwFOnILretPgjYYa9DQ="; + tag = "v${version}"; + hash = "sha256-BV1+9/+ryZB1BQyRJ5JaIU6bbOi4h8vt+V+FQIfUJp8="; }; patches = [ @@ -57,6 +57,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/haiwen/seafile-client"; + changelog = "https://github.com/haiwen/seafile-client/releases/tag/${src.tag}"; description = "Desktop client for Seafile, the Next-generation Open Source Cloud Storage"; license = licenses.asl20; platforms = platforms.linux; From 245cd23967330065873022c74a19cc8654a9c4f2 Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Mon, 15 Sep 2025 04:47:10 +0000 Subject: [PATCH 41/50] bcachefs-tools: 1.25.3 -> 1.31.0 --- pkgs/by-name/bc/bcachefs-tools/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/bc/bcachefs-tools/package.nix b/pkgs/by-name/bc/bcachefs-tools/package.nix index 537a4c520508..ab7c589f2076 100644 --- a/pkgs/by-name/bc/bcachefs-tools/package.nix +++ b/pkgs/by-name/bc/bcachefs-tools/package.nix @@ -29,13 +29,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "bcachefs-tools"; - version = "1.25.3"; + version = "1.31.0"; src = fetchFromGitHub { owner = "koverstreet"; repo = "bcachefs-tools"; tag = "v${finalAttrs.version}"; - hash = "sha256-Nij4mOJPVA03u6mpyKsFR7vgQ9wihiNfnlSlh6MNXP0="; + hash = "sha256-wYlfU4PTcVSPSHbIIDbl8pBOJsBAAl44XBapwFZ528U="; }; nativeBuildInputs = [ @@ -66,7 +66,7 @@ stdenv.mkDerivation (finalAttrs: { cargoDeps = rustPlatform.fetchCargoVendor { src = finalAttrs.src; - hash = "sha256-QkpsAQSoCmAihrE5YGzp9DalEQr+2djiPhLTXRn0u6U="; + hash = "sha256-ZCzw3cDpQ8fb2jLYdIWrmlNTPStikIs09jx6jzzC2vM="; }; makeFlags = [ From f3deeab556339f47899163416be2e5a928116e5f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 15 Sep 2025 05:08:51 +0000 Subject: [PATCH 42/50] fosrl-newt: 1.4.2 -> 1.4.4 --- pkgs/by-name/fo/fosrl-newt/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/fo/fosrl-newt/package.nix b/pkgs/by-name/fo/fosrl-newt/package.nix index f698dee6a930..503b3a1b246d 100644 --- a/pkgs/by-name/fo/fosrl-newt/package.nix +++ b/pkgs/by-name/fo/fosrl-newt/package.nix @@ -7,16 +7,16 @@ buildGoModule rec { pname = "newt"; - version = "1.4.2"; + version = "1.4.4"; src = fetchFromGitHub { owner = "fosrl"; repo = "newt"; tag = version; - hash = "sha256-yfQ9w1PKLhdpakZQLnQEcOAxpA4LC4S2OFX4dYKgDKw="; + hash = "sha256-wY9zaBDDNqXAAHlFYADS16yp9TOLIIFkjevQL3K0ySE="; }; - vendorHash = "sha256-PENsCO2yFxLVZNPgx2OP+gWVNfjJAfXkwWS7tzlm490="; + vendorHash = "sha256-XYj2hMsK7Gfrk25bRz/ooDkrXmuUdBQSF/ojF7OTQ4I="; postPatch = '' substituteInPlace main.go \ From 3637cf4dade051530e3fe0e610700a66567bf8c5 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 15 Sep 2025 07:14:13 +0000 Subject: [PATCH 43/50] fzf-make: 0.60.0 -> 0.61.0 --- pkgs/by-name/fz/fzf-make/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/fz/fzf-make/package.nix b/pkgs/by-name/fz/fzf-make/package.nix index 410005991c8d..f72c8de6ed37 100644 --- a/pkgs/by-name/fz/fzf-make/package.nix +++ b/pkgs/by-name/fz/fzf-make/package.nix @@ -11,16 +11,16 @@ rustPlatform.buildRustPackage rec { pname = "fzf-make"; - version = "0.60.0"; + version = "0.61.0"; src = fetchFromGitHub { owner = "kyu08"; repo = "fzf-make"; rev = "v${version}"; - hash = "sha256-5/hGTU8jQQvGp0c4FpB29H9wBbae8lVjlohivcVFFwI="; + hash = "sha256-XDYJ+R/cQuzSfJyOYHKbbd+jrmAzumDs/wp5aoYEr80="; }; - cargoHash = "sha256-Cz0qR24zRXivF3pAo95GNnx8bjUKK96GFnntb68Lz1U="; + cargoHash = "sha256-700KyKqrtZ9HuMBZVUbazrGyqzLE4s0ZyrWqLc8Y5WY="; nativeBuildInputs = [ makeBinaryWrapper ]; From 4c6b9993e64224ffef6d2ed4629b4ba342db5a41 Mon Sep 17 00:00:00 2001 From: Ryan Omasta Date: Sun, 14 Sep 2025 16:42:19 -0600 Subject: [PATCH 44/50] ci/github-script/labels: don't add stale if issue was mentioned Co-authored-by: Wolfgang Walther --- ci/github-script/labels.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci/github-script/labels.js b/ci/github-script/labels.js index 467d3b1f0ba7..801380aad54f 100644 --- a/ci/github-script/labels.js +++ b/ci/github-script/labels.js @@ -263,6 +263,9 @@ module.exports = async ({ github, context, core, dry }) => { 'assigned', 'commented', // uses updated_at, because that could be > created_at 'committed', // uses committer.date + ...(item.labels.some(({ name }) => name === '5.scope: tracking') + ? ['cross-referenced'] + : []), 'head_ref_force_pushed', 'milestoned', 'pinned', From c4753ff331da6cd2a3a979290e2a53ec154a1961 Mon Sep 17 00:00:00 2001 From: r-vdp Date: Mon, 15 Sep 2025 10:19:15 +0200 Subject: [PATCH 45/50] nixos/systemd-boot-builder: make sure to print informational messages to stderr Otherwise this gets printed to stdout when running things like nixos-rebuild, while people rely on the toplevel store path being the only output of such commands. --- .../system/boot/loader/systemd-boot/systemd-boot-builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py b/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py index 9f36dff3cc67..e1f2b2a32a6c 100644 --- a/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py +++ b/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py @@ -362,7 +362,7 @@ def install_bootloader(args: argparse.Namespace) -> None: available_version = available_match.group(1) if installed_version < available_version: - print("updating systemd-boot from %s to %s" % (installed_version, available_version)) + print("updating systemd-boot from %s to %s" % (installed_version, available_version), file=sys.stderr) run( [f"{SYSTEMD}/bin/bootctl", f"--esp-path={EFI_SYS_MOUNT_POINT}"] + bootctl_flags From 7167d60f279d9498fea5b1bd41d1ac9c0ec59183 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 15 Sep 2025 08:19:34 +0000 Subject: [PATCH 46/50] prometheus-nginx-exporter: 1.4.2 -> 1.5.0 --- pkgs/servers/monitoring/prometheus/nginx-exporter.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/monitoring/prometheus/nginx-exporter.nix b/pkgs/servers/monitoring/prometheus/nginx-exporter.nix index 137cd38b5ae3..8d71dea7a688 100644 --- a/pkgs/servers/monitoring/prometheus/nginx-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/nginx-exporter.nix @@ -7,16 +7,16 @@ buildGoModule rec { pname = "nginx_exporter"; - version = "1.4.2"; + version = "1.5.0"; src = fetchFromGitHub { owner = "nginxinc"; repo = "nginx-prometheus-exporter"; rev = "v${version}"; - sha256 = "sha256-V/4h212N1U4wMRt1oL6c1fe/BJH7FVjvx1cSb48mUi0="; + sha256 = "sha256-N1+BfuhB0dZ8S88+onVwSiFABnFJjNlIVF/5puCuugs="; }; - vendorHash = "sha256-gsdmLg4wtSoY9tg4hDzf4wuCgYEEzopSLJ/7qkVvIzU="; + vendorHash = "sha256-sT/hwqKJpQet1NgLuKvJDtB+y6mHCfHABMZ4PJNj490="; ldflags = let From b67bf1607c967783d6ed88d2da07082fdaa974ed Mon Sep 17 00:00:00 2001 From: Scott Edlund Date: Sat, 21 Jun 2025 20:01:04 +0800 Subject: [PATCH 47/50] nixos/tailscale: tailscaled-autoconnect use Type=notify, wait for Running Previously the `Starting` state was missed, allowing the service to complete before the interface was ready, causing services that bind to Tailscale IPs to fail to start. Now waits for Tailscale to report `Running` and notifies systemd accordingly. Switch the unit to Type=notify to timeout if there is no connection. Remove `NeedsMachineAuth` gating since it requires client approval in the console. --- .../modules/services/networking/tailscale.nix | 46 +++++++++++++++---- 1 file changed, 36 insertions(+), 10 deletions(-) diff --git a/nixos/modules/services/networking/tailscale.nix b/nixos/modules/services/networking/tailscale.nix index 731b5c2138f7..0b6e110d2caa 100644 --- a/nixos/modules/services/networking/tailscale.nix +++ b/nixos/modules/services/networking/tailscale.nix @@ -84,6 +84,8 @@ in description = '' A file containing the auth key. Tailscale will be automatically started if provided. + + Services that bind to Tailscale IPs should order using {option}`systemd.services..after` `tailscaled-autoconnect.service`. ''; }; @@ -116,7 +118,7 @@ in extraUpFlags = mkOption { description = '' - Extra flags to pass to {command}`tailscale up`. Only applied if `authKeyFile` is specified."; + Extra flags to pass to {command}`tailscale up`. Only applied if {option}`services.tailscale.authKeyFile` is specified. ''; type = types.listOf types.str; default = [ ]; @@ -183,12 +185,15 @@ in wants = [ "tailscaled.service" ]; wantedBy = [ "multi-user.target" ]; serviceConfig = { - Type = "oneshot"; + Type = "notify"; }; - # https://github.com/tailscale/tailscale/blob/v1.72.1/ipn/backend.go#L24-L32 + path = [ + cfg.package + pkgs.jq + ]; + enableStrictShellChecks = true; script = let - statusCommand = "${lib.getExe cfg.package} status --json --peers=false | ${lib.getExe pkgs.jq} -r '.BackendState'"; paramToString = v: if (builtins.isBool v) then (lib.boolToString v) else (toString v); params = lib.pipe cfg.authKeyParameters [ (lib.filterAttrs (_: v: v != null)) @@ -197,14 +202,35 @@ in (params: if params != "" then "?${params}" else "") ]; in + # bash '' - while [[ "$(${statusCommand})" == "NoState" ]]; do - sleep 0.5 + getState() { + tailscale status --json --peers=false | jq -r '.BackendState' + } + + lastState="" + while state="$(getState)"; do + if [[ "$state" != "$lastState" ]]; then + # https://github.com/tailscale/tailscale/blob/v1.72.1/ipn/backend.go#L24-L32 + case "$state" in + NeedsLogin) + echo "Server needs authentication, sending auth key" + tailscale up --auth-key "$(cat ${cfg.authKeyFile})${params}" ${escapeShellArgs cfg.extraUpFlags} + ;; + Running) + echo "Tailscale is running" + systemd-notify --ready + exit 0 + ;; + *) + echo "Waiting for Tailscale State = Running or systemd timeout" + ;; + esac + fi + echo "State = $state" + lastState="$state" + sleep .5 done - status=$(${statusCommand}) - if [[ "$status" == "NeedsLogin" || "$status" == "NeedsMachineAuth" ]]; then - ${lib.getExe cfg.package} up --auth-key "$(cat ${cfg.authKeyFile})${params}" ${escapeShellArgs cfg.extraUpFlags} - fi ''; }; From c1901263f12469bf8537764eba9f1b4a6d5ad9be Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 15 Sep 2025 09:18:46 +0000 Subject: [PATCH 48/50] discord-canary: 0.0.752 -> 0.0.756 --- .../networking/instant-messengers/discord/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/discord/default.nix b/pkgs/applications/networking/instant-messengers/discord/default.nix index 116df4c1e1a0..d6436ac072dd 100644 --- a/pkgs/applications/networking/instant-messengers/discord/default.nix +++ b/pkgs/applications/networking/instant-messengers/discord/default.nix @@ -11,7 +11,7 @@ let { stable = "0.0.108"; ptb = "0.0.160"; - canary = "0.0.752"; + canary = "0.0.756"; development = "0.0.85"; } else @@ -34,7 +34,7 @@ let }; canary = fetchurl { url = "https://canary.dl2.discordapp.net/apps/linux/${version}/discord-canary-${version}.tar.gz"; - hash = "sha256-6hq0KIXR9j/AHGPyQIXjhf1uJiYizxB5Nu+0unn/frE="; + hash = "sha256-jn7s8T04us+9iTcHuM57F4sO10fs98ZjGQa0pF1SFjk="; }; development = fetchurl { url = "https://development.dl2.discordapp.net/apps/linux/${version}/discord-development-${version}.tar.gz"; From 65124e3086c1f9371af66d6c5bd6ab258e408911 Mon Sep 17 00:00:00 2001 From: eljamm Date: Mon, 15 Sep 2025 12:10:22 +0200 Subject: [PATCH 49/50] tlspool: fix build --- pkgs/by-name/tl/tlspool/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/tl/tlspool/package.nix b/pkgs/by-name/tl/tlspool/package.nix index b56f864c9ef1..7c5404e804c0 100644 --- a/pkgs/by-name/tl/tlspool/package.nix +++ b/pkgs/by-name/tl/tlspool/package.nix @@ -15,6 +15,7 @@ p11-kit, quickder, unbound, + openssl, gitUpdater, }: @@ -49,6 +50,7 @@ stdenv.mkDerivation (finalAttrs: { p11-kit quickder unbound + openssl ]; passthru.updateScript = gitUpdater { rev-prefix = "v"; }; From 81c9d2f4bef55f5f102ac6878c660fed184d9c97 Mon Sep 17 00:00:00 2001 From: Johan Herland Date: Fri, 25 Jul 2025 12:02:04 +0000 Subject: [PATCH 50/50] awscli2: Prevent pollution from other Python packages/envs Prevent awscli2 from being polluted by other packages/environments setting $PYTHONPATH or $NIX_PYTHONPATH. Solves https://github.com/NixOS/nixpkgs/issues/47900. --- pkgs/by-name/aw/awscli2/package.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/by-name/aw/awscli2/package.nix b/pkgs/by-name/aw/awscli2/package.nix index 451bb46c7de1..ebdc30b799a8 100644 --- a/pkgs/by-name/aw/awscli2/package.nix +++ b/pkgs/by-name/aw/awscli2/package.nix @@ -119,6 +119,14 @@ py.pkgs.buildPythonApplication rec { less ]; + # Prevent breakage when running in a Python environment: https://github.com/NixOS/nixpkgs/issues/47900 + makeWrapperArgs = [ + "--unset" + "NIX_PYTHONPATH" + "--unset" + "PYTHONPATH" + ]; + nativeCheckInputs = with py.pkgs; [ addBinToPathHook jsonschema