From bb2c5a3684a5b7240c7104a095077947029319b7 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Sun, 1 May 2022 21:50:51 +0200 Subject: [PATCH 01/35] nixosOptionsDoc: Make appendix tag optional --- nixos/lib/make-options-doc/default.nix | 3 +++ .../make-options-doc/options-to-docbook.xsl | 18 +++++++++++++++--- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/nixos/lib/make-options-doc/default.nix b/nixos/lib/make-options-doc/default.nix index 57652dd5db1..353fdb87a9f 100644 --- a/nixos/lib/make-options-doc/default.nix +++ b/nixos/lib/make-options-doc/default.nix @@ -20,6 +20,8 @@ , lib , options , transformOptions ? lib.id # function for additional tranformations of the options +, documentType ? "appendix" # TODO deprecate "appendix" in favor of "none" + # and/or rename function to moduleOptionDoc for clean slate , revision ? "" # Specify revision for the options # a set of options the docs we are generating will be merged into, as if by recursiveUpdate. # used to split the options doc build into a static part (nixos/modules) and a dynamic part @@ -161,6 +163,7 @@ in rec { ${pkgs.python3Minimal}/bin/python ${./sortXML.py} $optionsXML sorted.xml ${pkgs.libxslt.bin}/bin/xsltproc \ + --stringparam documentType '${documentType}' \ --stringparam revision '${revision}' \ -o intermediate.xml ${./options-to-docbook.xsl} sorted.xml ${pkgs.libxslt.bin}/bin/xsltproc \ diff --git a/nixos/lib/make-options-doc/options-to-docbook.xsl b/nixos/lib/make-options-doc/options-to-docbook.xsl index b286f7b5e2c..b1a5e5315dd 100644 --- a/nixos/lib/make-options-doc/options-to-docbook.xsl +++ b/nixos/lib/make-options-doc/options-to-docbook.xsl @@ -12,12 +12,25 @@ + - - Configuration Options + + + + Configuration Options + + + + + + + + + + @@ -96,7 +109,6 @@ - From e40d2099d235f80aa3444b7a76028c0b7725a549 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Sun, 1 May 2022 21:43:10 +0200 Subject: [PATCH 02/35] doc: Add Nixpkgs config options reference --- doc/doc-support/default.nix | 9 +++++++++ doc/using/configuration.chapter.md | 8 ++++++++ pkgs/top-level/config.nix | 5 +++++ 3 files changed, 22 insertions(+) diff --git a/doc/doc-support/default.nix b/doc/doc-support/default.nix index 53990b67719..7c00195ab39 100644 --- a/doc/doc-support/default.nix +++ b/doc/doc-support/default.nix @@ -23,6 +23,14 @@ let ''; + + # NB: This file describes the Nixpkgs manual, which happens to use module + # docs infra originally developed for NixOS. + optionsDoc = pkgs.nixosOptionsDoc { + inherit (pkgs.lib.evalModules { modules = [ ../../pkgs/top-level/config.nix ]; }) options; + documentType = "none"; + }; + in pkgs.runCommand "doc-support" {} '' mkdir result @@ -30,6 +38,7 @@ in pkgs.runCommand "doc-support" {} cd result ln -s ${locationsXml} ./function-locations.xml ln -s ${functionDocs} ./function-docs + ln -s ${optionsDoc.optionsDocBook} ./config-options.docbook.xml ln -s ${pkgs.docbook5}/xml/rng/docbook/docbook.rng ./docbook.rng ln -s ${pkgs.docbook_xsl_ns}/xml/xsl ./xsl diff --git a/doc/using/configuration.chapter.md b/doc/using/configuration.chapter.md index 932b24237c0..842450ebf47 100644 --- a/doc/using/configuration.chapter.md +++ b/doc/using/configuration.chapter.md @@ -164,6 +164,14 @@ There are several ways to tweak how Nix handles a package which has been marked Note that `permittedInsecurePackages` is only checked if `allowInsecurePredicate` is not specified. +### `config` Options Reference + +The following attributes can be passed in [`config`](#chap-packageconfig). + +```{=docbook} + +``` + ## Modify packages via `packageOverrides` {#sec-modify-via-packageOverrides} You can define a function called `packageOverrides` in your local `~/.config/nixpkgs/config.nix` to override Nix packages. It must be a function that takes pkgs as an argument and returns a modified set of packages. diff --git a/pkgs/top-level/config.nix b/pkgs/top-level/config.nix index 1ee44a47af9..24f7aa6d0b0 100644 --- a/pkgs/top-level/config.nix +++ b/pkgs/top-level/config.nix @@ -20,6 +20,11 @@ let /* Internal stuff */ + # Hide built-in module system options from docs. + _module.args = mkOption { + internal = true; + }; + warnings = mkOption { type = types.listOf types.str; default = []; From 7e64123abd8fb23c5642e969f568b3794d8d9451 Mon Sep 17 00:00:00 2001 From: Malo Bourgon Date: Thu, 5 May 2022 17:31:41 -0700 Subject: [PATCH 03/35] docker-credential-helpers: add meta.mainProgram for darwin --- pkgs/tools/admin/docker-credential-helpers/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/admin/docker-credential-helpers/default.nix b/pkgs/tools/admin/docker-credential-helpers/default.nix index 0d46eff98b5..c32c8834f8d 100644 --- a/pkgs/tools/admin/docker-credential-helpers/default.nix +++ b/pkgs/tools/admin/docker-credential-helpers/default.nix @@ -45,5 +45,7 @@ buildGoPackage rec { license = licenses.mit; maintainers = [ maintainers.marsam ]; platforms = platforms.linux ++ platforms.darwin; + } // lib.optionalAttrs stdenv.isDarwin { + mainProgram = "docker-credential-osxkeychain"; }; } From 11a8c3e409f30099704d74fa349ccde948ec497a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 6 May 2022 18:22:07 +0200 Subject: [PATCH 04/35] batman-adv: 2022.0 -> 2022.1 --- pkgs/os-specific/linux/batman-adv/default.nix | 13 ------------- pkgs/os-specific/linux/batman-adv/version.nix | 8 ++++---- 2 files changed, 4 insertions(+), 17 deletions(-) diff --git a/pkgs/os-specific/linux/batman-adv/default.nix b/pkgs/os-specific/linux/batman-adv/default.nix index 79dc48a6ea9..3d22720b962 100644 --- a/pkgs/os-specific/linux/batman-adv/default.nix +++ b/pkgs/os-specific/linux/batman-adv/default.nix @@ -16,19 +16,6 @@ stdenv.mkDerivation rec { sha256 = cfg.sha256.${pname}; }; - patches = [ - # batman-adv: make mc_forwarding atomic - (fetchpatch { - url = "https://git.open-mesh.org/batman-adv.git/blobdiff_plain/c142c00f6b1a2ad5f5d74202fb1249e6a6575407..56db7c0540e733a1f063ccd6bab1b537a80857eb:/net/batman-adv/multicast.c"; - hash = "sha256-2zXg8mZ3/iK9E/kyn+wHSrlLq87HuK72xuXojQ9KjkI="; - }) - # batman-adv: compat: Add atomic mc_fowarding support for stable kernels - (fetchpatch { - url = "https://git.open-mesh.org/batman-adv.git/blobdiff_plain/f07a0c37ab278fb6a9e95cad89429b1282f1ab59..350adcaec82fbaa358a2406343b6130ac8dad126:/net/batman-adv/multicast.c"; - hash = "sha256-r/Xp5bmDo9GVfAF6bn2Xq+cOq5ddQe+D5s/h37uI6bM="; - }) - ]; - nativeBuildInputs = kernel.moduleBuildDependencies; makeFlags = kernel.makeFlags ++ [ "KERNELPATH=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" diff --git a/pkgs/os-specific/linux/batman-adv/version.nix b/pkgs/os-specific/linux/batman-adv/version.nix index 12a7f26a336..dd222787450 100644 --- a/pkgs/os-specific/linux/batman-adv/version.nix +++ b/pkgs/os-specific/linux/batman-adv/version.nix @@ -1,9 +1,9 @@ { - version = "2022.0"; + version = "2022.1"; sha256 = { - batman-adv = "sha256-STOHBbwgdwmshNdmaI5wJXEAnIJ8CjIHiOpR+4h3FKo="; - alfred = "sha256-q7odrGHsz81jKeczHQVV/syTd2D7NsbPVc5sHXUc/Zg="; - batctl = "sha256-iTlm+aLWpQch3hJM5i2l096cIOBVdspIK8VwTMWm9z0="; + batman-adv = "sha256-bQQdNTCr1LJJq/Wpb8Ki4kFDG/lEO1R/2yWi2P0ymkA="; + alfred = "sha256-OgrCuybgyz8nMtSHNmmgoi6YJej5qOerrJhjY/J1CX8="; + batctl = "sha256-h+iak4lxuGJCJoG7NBBOmytLZRLR0WXelTYw3zjWGmg="; }; } From eefafb54ef3fbc0f2bf146e5fdefe75bdc154a69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 15 May 2022 08:58:32 +0200 Subject: [PATCH 05/35] nixos/upterm: additional hardening Before: $ ps aux | grep upterm root 2575046 0.0 0.0 1085080 6968 ? Ssl 07:03 0:00 /nix/store/ci97r1lqx4128w75k7dcsw82j5bl0n3g-upterm-0.8.2/bin/uptermd --ssh-addr [::]:2323 --private-key ssh_host_ed25519_key After $ ps aux | grep upterm uptermd 2832993 0.4 0.0 1158812 6856 ? Ssl 07:08 0:00 /nix/store/ci97r1lqx4128w75k7dcsw82j5bl0n3g-upterm-0.8.2/bin/uptermd --ssh-addr [::]:2323 --private-key ssh_host_ed25519_key --- nixos/modules/services/networking/uptermd.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/uptermd.nix b/nixos/modules/services/networking/uptermd.nix index 072f561f5c3..b845a00649e 100644 --- a/nixos/modules/services/networking/uptermd.nix +++ b/nixos/modules/services/networking/uptermd.nix @@ -85,6 +85,7 @@ in AmbientCapabilities = mkIf (cfg.port < 1024) [ "CAP_NET_BIND_SERVICE" ]; CapabilityBoundingSet = mkIf (cfg.port < 1024) [ "CAP_NET_BIND_SERVICE" ]; PrivateUsers = cfg.port >= 1024; + DynamicUser = true; LockPersonality = true; MemoryDenyWriteExecute = true; PrivateDevices = true; @@ -95,7 +96,9 @@ in ProtectKernelLogs = true; ProtectKernelModules = true; ProtectKernelTunables = true; - RestrictAddressFamilies = [ "AF_INET" "AF_INET6" ]; + ProtectProc = "invisible"; + # AF_UNIX is for ssh-keygen, which relies on nscd to resolve the uid to a user + RestrictAddressFamilies = [ "AF_INET" "AF_INET6" "AF_UNIX" ]; RestrictNamespaces = true; RestrictRealtime = true; SystemCallArchitectures = "native"; From 14e2c1e4fb972145bb2d8ed5f60a435fc3319276 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 15 May 2022 09:52:39 +0200 Subject: [PATCH 06/35] nixos/upterm: fix race condition in test --- nixos/tests/uptermd.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/nixos/tests/uptermd.nix b/nixos/tests/uptermd.nix index b2ff9a1e0d9..d504ef06419 100644 --- a/nixos/tests/uptermd.nix +++ b/nixos/tests/uptermd.nix @@ -30,11 +30,14 @@ in server.wait_for_unit("uptermd.service") server.wait_for_unit("network-online.target") + # wait for upterm port to be reachable + client1.wait_until_succeeds("nc -z -v server 1337") + # Add SSH hostkeys from the server to both clients # uptermd needs an '@cert-authority entry so we need to modify the known_hosts file - client1.execute("sleep 3; mkdir -p ~/.ssh && ssh -o StrictHostKeyChecking=no -p 1337 server ls") + client1.execute("mkdir -p ~/.ssh && ssh -o StrictHostKeyChecking=no -p 1337 server ls") client1.execute("echo @cert-authority $(cat ~/.ssh/known_hosts) > ~/.ssh/known_hosts") - client2.execute("sleep 3; mkdir -p ~/.ssh && ssh -o StrictHostKeyChecking=no -p 1337 server ls") + client2.execute("mkdir -p ~/.ssh && ssh -o StrictHostKeyChecking=no -p 1337 server ls") client2.execute("echo @cert-authority $(cat ~/.ssh/known_hosts) > ~/.ssh/known_hosts") client1.wait_for_unit("multi-user.target") From d32f6e65a48b3844d3dabc834f3f973e5377773f Mon Sep 17 00:00:00 2001 From: "Travis A. Everett" Date: Mon, 16 May 2022 10:35:28 -0500 Subject: [PATCH 07/35] bats: 1.6.0 -> 1.7.0 --- pkgs/development/interpreters/bats/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/interpreters/bats/default.nix b/pkgs/development/interpreters/bats/default.nix index 184d23b92b9..ef1a110f8e7 100644 --- a/pkgs/development/interpreters/bats/default.nix +++ b/pkgs/development/interpreters/bats/default.nix @@ -18,13 +18,13 @@ resholve.mkDerivation rec { pname = "bats"; - version = "1.6.0"; + version = "1.7.0"; src = fetchFromGitHub { owner = "bats-core"; repo = "bats-core"; rev = "v${version}"; - sha256 = "sha256-s+SAqX70WeTz6s5ObXYFBVPVUEqvD1d7AX2sGHkjVQ4="; + sha256 = "sha256-joNne/dDVCNtzdTQ64rK8GimT+DOWUa7f410hml2s8Q="; }; patchPhase = '' @@ -77,6 +77,8 @@ resholve.mkDerivation rec { "${placeholder "out"}/lib/bats-core/common.bash" "${placeholder "out"}/lib/bats-core/semaphore.bash" "${placeholder "out"}/lib/bats-core/formatter.bash" + "${placeholder "out"}/lib/bats-core/warnings.bash" + "$setup_suite_file" # via cli arg ]; "$report_formatter" = true; "$formatter" = true; @@ -105,6 +107,7 @@ resholve.mkDerivation rec { passthru.tests.upstream = bats.unresholved.overrideAttrs (old: { name = "${bats.name}-tests"; + dontInstall = true; # just need the build directory installCheckInputs = [ ncurses parallel # skips some tests if it can't detect @@ -115,8 +118,6 @@ resholve.mkDerivation rec { installCheckPhase = '' # TODO: cut if https://github.com/bats-core/bats-core/issues/418 allows sed -i '/test works even if PATH is reset/a skip "disabled for nix build"' test/bats.bats - # TODO: cut when https://github.com/bats-core/bats-core/pull/554 allows - substituteInPlace test/parallel.bats --replace '&& type -p shlock' '|| type -p shlock' # skip tests that assume bats `install.sh` will be in BATS_ROOT rm test/root.bats @@ -126,7 +127,6 @@ resholve.mkDerivation rec { "/usr/bin/env bash" "${bash}/bin/bash" ${bats}/bin/bats test - rm -rf $out touch $out ''; }); From 060e417ef2929843a1135965a012303af6407591 Mon Sep 17 00:00:00 2001 From: "P. R. d. O" Date: Wed, 18 May 2022 14:50:43 -0600 Subject: [PATCH 08/35] python39Packages.pydy: fix build --- .../python-modules/pydy/default.nix | 23 ++++++++++++------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/pydy/default.nix b/pkgs/development/python-modules/pydy/default.nix index 9bfa5aa3d7c..b342a2a99e0 100644 --- a/pkgs/development/python-modules/pydy/default.nix +++ b/pkgs/development/python-modules/pydy/default.nix @@ -6,31 +6,38 @@ , numpy , scipy , sympy +, pytestCheckHook }: buildPythonPackage rec { pname = "pydy"; version = "0.6.0"; + format = "setuptools"; src = fetchPypi { inherit pname version; sha256 = "sha256-e/Ssfd5llioA7ccLULlRdHR113IbR4AJ4/HmzQuU7vI="; }; - checkInputs = [ - nose - cython - ]; - propagatedBuildInputs = [ numpy scipy sympy ]; - checkPhase = '' - nosetests - ''; + checkInputs = [ + nose + cython + pytestCheckHook + ]; + + disabledTests = [ + # Tests not fixed yet. Check https://github.com/pydy/pydy/issues/465 + "test_generate_cse" + "test_generate_code_blocks" + "test_doprint" + "test_OctaveMatrixGenerator" + ]; meta = with lib; { description = "Python tool kit for multi-body dynamics"; From b9fc9ac2f1cb3d1aa69a11f0b7a0d49e2b0b17e9 Mon Sep 17 00:00:00 2001 From: Ben Darwin Date: Mon, 16 May 2022 15:55:15 -0400 Subject: [PATCH 09/35] ants: unbreak build with gcc stdenv itk4: unbreak build with gcc stdenv --- pkgs/top-level/all-packages.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 03b807a0686..8615c331015 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -18025,6 +18025,7 @@ with pkgs; }; itk4 = callPackage ../development/libraries/itk/4.x.nix { + stdenv = if stdenv.cc.isGNU && stdenv.system == "x86_64-linux" then gcc10Stdenv else stdenv; inherit (darwin.apple_sdk.frameworks) Cocoa; }; @@ -32689,6 +32690,7 @@ with pkgs; angsd = callPackage ../applications/science/biology/angsd { }; ants = callPackage ../applications/science/biology/ants { + stdenv = if stdenv.cc.isGNU && stdenv.system == "x86_64-linux" then gcc10Stdenv else stdenv; inherit (darwin.apple_sdk.frameworks) Cocoa; }; From 3f9c0a658575464579b62b5c7bfa06c848b4b494 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 19 May 2022 08:51:27 +0000 Subject: [PATCH 10/35] python310Packages.fastavro: 1.4.11 -> 1.4.12 --- pkgs/development/python-modules/fastavro/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/fastavro/default.nix b/pkgs/development/python-modules/fastavro/default.nix index 419cb74c2cf..e4d1bca5730 100644 --- a/pkgs/development/python-modules/fastavro/default.nix +++ b/pkgs/development/python-modules/fastavro/default.nix @@ -15,14 +15,14 @@ buildPythonPackage rec { pname = "fastavro"; - version = "1.4.11"; + version = "1.4.12"; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = pname; repo = pname; rev = "refs/tags/${version}"; - sha256 = "sha256-PK8+NFJurJ0nD5coEFj8lXWg4VMcpX0954qDb1GW6Gk="; + sha256 = "sha256-t3SM7pTsl3JLWeJSESzXGONyjufwCHMaqK95JI3isYY="; }; preBuild = '' From af292cd163813965164bfb54ff72867dded07d45 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 19 May 2022 13:02:46 +0200 Subject: [PATCH 11/35] protocol: fix build --- .../networking/protocol/default.nix | 21 +++++++++++++------ pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/pkgs/applications/networking/protocol/default.nix b/pkgs/applications/networking/protocol/default.nix index 6690a75485b..535cc3aa317 100644 --- a/pkgs/applications/networking/protocol/default.nix +++ b/pkgs/applications/networking/protocol/default.nix @@ -1,8 +1,12 @@ -{ lib, buildPythonApplication, fetchFromGitHub }: +{ lib +, python3 +, fetchFromGitHub +}: -buildPythonApplication { - pname = "protocol-unstable"; - version = "2019-03-28"; +python3.pkgs.buildPythonApplication rec { + pname = "protocol"; + version = "unstable-2019-03-28"; + format = "setuptools"; src = fetchFromGitHub { owner = "luismartingarcia"; @@ -11,10 +15,15 @@ buildPythonApplication { sha256 = "13l10jhf4vghanmhh3pn91b2jdciispxy0qadz4n08blp85qn9cm"; }; + postPatch = '' + substituteInPlace setup.py \ + --replace "scripts=['protocol', 'constants.py', 'specs.py']" "scripts=['protocol'], py_modules=['constants', 'specs']" + ''; + meta = with lib; { - description = "An ASCII Header Generator for Network Protocols"; + description = "ASCII Header Generator for Network Protocols"; homepage = "https://github.com/luismartingarcia/protocol"; - license = licenses.gpl3; + license = licenses.gpl3Plus; maintainers = with maintainers; [ teto ]; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9d99d208f71..a1056b931f6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -34417,7 +34417,7 @@ with pkgs; pt = callPackage ../applications/misc/pt { }; - protocol = python3Packages.callPackage ../applications/networking/protocol { }; + protocol = callPackage ../applications/networking/protocol { }; pykms = callPackage ../tools/networking/pykms { }; From 948dbbc90a0e6af13b9d193225c36ade9ef1d195 Mon Sep 17 00:00:00 2001 From: zimbatm Date: Thu, 19 May 2022 13:25:14 +0200 Subject: [PATCH 12/35] Revert "terraform: maintained by numtide" This reverts commit 2e365a077df2428af1e0a477263c5b7b4eb12158. It adds too many maintainers for ofborg. https://github.com/NixOS/nixpkgs/pull/173541#issuecomment-1130683480 --- pkgs/applications/networking/cluster/terraform/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/cluster/terraform/default.nix b/pkgs/applications/networking/cluster/terraform/default.nix index b4191bbd78c..73f618cb029 100644 --- a/pkgs/applications/networking/cluster/terraform/default.nix +++ b/pkgs/applications/networking/cluster/terraform/default.nix @@ -63,10 +63,11 @@ let kalbasit marsam maxeaubrey - techknowlogick timstott + zimbatm zowoq - ] ++ teams.numtide.members; + techknowlogick + ]; }; } // attrs'); From 8d1019e80a517169de72cf9d169ec9070a8226bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 19 May 2022 17:13:46 +0200 Subject: [PATCH 13/35] python310Packages.scikit-build: 0.14.1 -> 0.15.0 --- .../python-modules/scikit-build/default.nix | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/scikit-build/default.nix b/pkgs/development/python-modules/scikit-build/default.nix index 17b2ac35567..4a466fcef06 100644 --- a/pkgs/development/python-modules/scikit-build/default.nix +++ b/pkgs/development/python-modules/scikit-build/default.nix @@ -1,7 +1,6 @@ { lib , buildPythonPackage , fetchPypi -, fetchpatch , distro , packaging , python @@ -24,21 +23,14 @@ buildPythonPackage rec { pname = "scikit-build"; - version = "0.14.1"; + version = "0.15.0"; format = "pyproject"; src = fetchPypi { inherit pname version; - sha256 = "sha256-Fwc9g3tWVRvt6Pa++utOuj2UM15ZAjmELjZg8HY6CRo="; + sha256 = "sha256-5yPNDzSJoEI3C56piLu5z9dyXoslsgyhx5gYIfz2X7k="; }; - patches = [ - (fetchpatch { - url = "https://github.com/scikit-build/scikit-build/commit/59cf7a5b09a71d418947db3c9d487471c4573a24.patch"; - sha256 = "sha256-oQllX3qzwWwllczXUMObrwndCfvMdS5FulEhbBORAks="; - }) - ]; - propagatedBuildInputs = [ distro packaging From 3431806dfa89c6bc26230e3519c40b8db190ad95 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Thu, 19 May 2022 17:50:49 +0200 Subject: [PATCH 14/35] linux: 4.14.278 -> 4.14.280 --- pkgs/os-specific/linux/kernel/linux-4.14.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/linux-4.14.nix b/pkgs/os-specific/linux/kernel/linux-4.14.nix index 942be8bf6d6..4c4d7c93245 100644 --- a/pkgs/os-specific/linux/kernel/linux-4.14.nix +++ b/pkgs/os-specific/linux/kernel/linux-4.14.nix @@ -3,7 +3,7 @@ with lib; buildLinux (args // rec { - version = "4.14.278"; + version = "4.14.280"; # modDirVersion needs to be x.y.z, will automatically add .0 if needed modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; @@ -13,6 +13,6 @@ buildLinux (args // rec { src = fetchurl { url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; - sha256 = "1glb6z3nicd2lzhvwcqj54642agk0bbg022wnc3ckld5ngpd9miw"; + sha256 = "01jr0f7mq919s7xxvv8sc1mg6isc1ggij33l2s0n6jvykm23ghrr"; }; } // (args.argsOverride or {})) From a7d95e31bc4fae38dd12e16ccb17313f046a8d00 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Thu, 19 May 2022 17:51:03 +0200 Subject: [PATCH 15/35] linux: 4.19.242 -> 4.19.244 --- pkgs/os-specific/linux/kernel/linux-4.19.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/linux-4.19.nix b/pkgs/os-specific/linux/kernel/linux-4.19.nix index 2db4ec01e72..ea79db67ed7 100644 --- a/pkgs/os-specific/linux/kernel/linux-4.19.nix +++ b/pkgs/os-specific/linux/kernel/linux-4.19.nix @@ -3,7 +3,7 @@ with lib; buildLinux (args // rec { - version = "4.19.242"; + version = "4.19.244"; # modDirVersion needs to be x.y.z, will automatically add .0 if needed modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; @@ -13,6 +13,6 @@ buildLinux (args // rec { src = fetchurl { url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; - sha256 = "18k5fbzclk7g657bs8idwqjk7hakzx6256b1a3506sy29q4zvg2r"; + sha256 = "1g9562v6ny196rw2n3kj43nrz65qa7imwnmfasvj6x8fm8bdhz79"; }; } // (args.argsOverride or {})) From 4072349a31d8fbdc1bad9c0fe78021f14e235d88 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Thu, 19 May 2022 17:51:12 +0200 Subject: [PATCH 16/35] linux: 4.9.313 -> 4.9.315 --- pkgs/os-specific/linux/kernel/linux-4.9.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/linux-4.9.nix b/pkgs/os-specific/linux/kernel/linux-4.9.nix index 9de95b245a1..9f82f1805e9 100644 --- a/pkgs/os-specific/linux/kernel/linux-4.9.nix +++ b/pkgs/os-specific/linux/kernel/linux-4.9.nix @@ -1,12 +1,12 @@ { buildPackages, fetchurl, perl, buildLinux, nixosTests, stdenv, ... } @ args: buildLinux (args // rec { - version = "4.9.313"; + version = "4.9.315"; extraMeta.branch = "4.9"; extraMeta.broken = stdenv.isAarch64; src = fetchurl { url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; - sha256 = "1p3vr1h01ph6x0pxrr6y6k5c4nrhvq650dfngv5mkrgsc5w7ffz0"; + sha256 = "1171p90s00jxg1clyz8kp81ilmdzygg131mxysr6lpkaisahkjg6"; }; } // (args.argsOverride or {})) From 1b81fcd6780ea47873512dc97c488a1a0a2b264d Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Thu, 19 May 2022 17:51:23 +0200 Subject: [PATCH 17/35] linux: 5.10.115 -> 5.10.117 --- pkgs/os-specific/linux/kernel/linux-5.10.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/linux-5.10.nix b/pkgs/os-specific/linux/kernel/linux-5.10.nix index 4cba62d8e62..daeabc53837 100644 --- a/pkgs/os-specific/linux/kernel/linux-5.10.nix +++ b/pkgs/os-specific/linux/kernel/linux-5.10.nix @@ -3,7 +3,7 @@ with lib; buildLinux (args // rec { - version = "5.10.115"; + version = "5.10.117"; # modDirVersion needs to be x.y.z, will automatically add .0 if needed modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; @@ -13,6 +13,6 @@ buildLinux (args // rec { src = fetchurl { url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; - sha256 = "0w9gwizyqjgsj93dqqvlh6bqkmpzjajhj09319nqncc95yrigr7m"; + sha256 = "1iyw3nmsga2binmrhfnzsf1pvn2bs21a8jw6vm89k26z5h8zfgkh"; }; } // (args.argsOverride or {})) From 8935b4d5334c1c43793f7137c22664edfcf6ee9d Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Thu, 19 May 2022 17:51:34 +0200 Subject: [PATCH 18/35] linux: 5.15.39 -> 5.15.41 --- pkgs/os-specific/linux/kernel/linux-5.15.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/linux-5.15.nix b/pkgs/os-specific/linux/kernel/linux-5.15.nix index 1a4dcab875c..f2d550a285b 100644 --- a/pkgs/os-specific/linux/kernel/linux-5.15.nix +++ b/pkgs/os-specific/linux/kernel/linux-5.15.nix @@ -3,7 +3,7 @@ with lib; buildLinux (args // rec { - version = "5.15.39"; + version = "5.15.41"; # modDirVersion needs to be x.y.z, will automatically add .0 if needed modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; @@ -15,6 +15,6 @@ buildLinux (args // rec { src = fetchurl { url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; - sha256 = "1bfpiyccjggysd04flaana0x69n1lcpckzpw1v6kh3ly9xil31l8"; + sha256 = "07jrsr54rvhry3g401h58r1773zinq49dbrkb9v1p6q27gyb2z1w"; }; } // (args.argsOverride or { })) From cfb71b715e561785c8178b9ce2d2fdcbed63cdaf Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Thu, 19 May 2022 17:51:47 +0200 Subject: [PATCH 19/35] linux: 5.17.7 -> 5.17.9 --- pkgs/os-specific/linux/kernel/linux-5.17.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/linux-5.17.nix b/pkgs/os-specific/linux/kernel/linux-5.17.nix index 5bd54a59533..46384061684 100644 --- a/pkgs/os-specific/linux/kernel/linux-5.17.nix +++ b/pkgs/os-specific/linux/kernel/linux-5.17.nix @@ -3,7 +3,7 @@ with lib; buildLinux (args // rec { - version = "5.17.7"; + version = "5.17.9"; # modDirVersion needs to be x.y.z, will automatically add .0 if needed modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; @@ -13,6 +13,6 @@ buildLinux (args // rec { src = fetchurl { url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; - sha256 = "16ccf7n6fns9z93c65lchn5v3fgl9c5vkr1v6p0c1xifn7v7xxi2"; + sha256 = "0y2rmn86z3cvgv71b6sjjyafnlbanlib1kjpjjqzjbgg86y2890p"; }; } // (args.argsOverride or { })) From d56829b5febff16f60880244b6a6e9244769c2fa Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Thu, 19 May 2022 17:51:59 +0200 Subject: [PATCH 20/35] linux: 5.4.193 -> 5.4.195 --- pkgs/os-specific/linux/kernel/linux-5.4.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/linux-5.4.nix b/pkgs/os-specific/linux/kernel/linux-5.4.nix index 4f23f695afe..1d5bbc07832 100644 --- a/pkgs/os-specific/linux/kernel/linux-5.4.nix +++ b/pkgs/os-specific/linux/kernel/linux-5.4.nix @@ -3,7 +3,7 @@ with lib; buildLinux (args // rec { - version = "5.4.193"; + version = "5.4.195"; # modDirVersion needs to be x.y.z, will automatically add .0 if needed modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; @@ -13,6 +13,6 @@ buildLinux (args // rec { src = fetchurl { url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; - sha256 = "187jfk9hf52n5z9yv56vq1knp3kdcbyk5w5k98ziwcbdjm1x65hd"; + sha256 = "078380qhds2jwfmrchna6p27wpfb74pvnj4xiyc5k38gysfmnbzj"; }; } // (args.argsOverride or {})) From c49791b3261b94a72b0e0b87a42822452d8f0bf9 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Thu, 19 May 2022 17:52:15 +0200 Subject: [PATCH 21/35] linux-rt_5_10: 5.10.109-rt65 -> 5.10.115-rt67 --- pkgs/os-specific/linux/kernel/linux-rt-5.10.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/linux-rt-5.10.nix b/pkgs/os-specific/linux/kernel/linux-rt-5.10.nix index 7162fe8ac19..b4f80d11380 100644 --- a/pkgs/os-specific/linux/kernel/linux-rt-5.10.nix +++ b/pkgs/os-specific/linux/kernel/linux-rt-5.10.nix @@ -6,7 +6,7 @@ , ... } @ args: let - version = "5.10.109-rt65"; # updated by ./update-rt.sh + version = "5.10.115-rt67"; # updated by ./update-rt.sh branch = lib.versions.majorMinor version; kversion = builtins.elemAt (lib.splitString "-" version) 0; in buildLinux (args // { @@ -18,14 +18,14 @@ in buildLinux (args // { src = fetchurl { url = "mirror://kernel/linux/kernel/v5.x/linux-${kversion}.tar.xz"; - sha256 = "1p0k46isy2wzzms801lrnb59f1nb9mhywjj7fnkrwrj9nbn25yqq"; + sha256 = "0w9gwizyqjgsj93dqqvlh6bqkmpzjajhj09319nqncc95yrigr7m"; }; kernelPatches = let rt-patch = { name = "rt"; patch = fetchurl { url = "mirror://kernel/linux/kernel/projects/rt/${branch}/older/patch-${version}.patch.xz"; - sha256 = "0w7bs5kmwvbyfy5js218ys42s8i51m8v0mbkfhiynlpm3iph357q"; + sha256 = "16igpdqq8nqzf98pkrs9v692d1r1fpnwrh3qxrkja0fgzswdwc0j"; }; }; in [ rt-patch ] ++ kernelPatches; From 1f98b560c8ffec12d100ae1e7c498eeda6eb0e26 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Thu, 19 May 2022 17:52:30 +0200 Subject: [PATCH 22/35] linux-rt_5_4: 5.4.188-rt73 -> 5.4.193-rt74 --- pkgs/os-specific/linux/kernel/linux-rt-5.4.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/linux-rt-5.4.nix b/pkgs/os-specific/linux/kernel/linux-rt-5.4.nix index bb404fc59e9..7ee37c5b261 100644 --- a/pkgs/os-specific/linux/kernel/linux-rt-5.4.nix +++ b/pkgs/os-specific/linux/kernel/linux-rt-5.4.nix @@ -6,7 +6,7 @@ , ... } @ args: let - version = "5.4.188-rt73"; # updated by ./update-rt.sh + version = "5.4.193-rt74"; # updated by ./update-rt.sh branch = lib.versions.majorMinor version; kversion = builtins.elemAt (lib.splitString "-" version) 0; in buildLinux (args // { @@ -14,14 +14,14 @@ in buildLinux (args // { src = fetchurl { url = "mirror://kernel/linux/kernel/v5.x/linux-${kversion}.tar.xz"; - sha256 = "1g7xf2jx1hx580f42yirfgv9v0f9f88wzxxx0wiwx7wcqbyqpg4z"; + sha256 = "187jfk9hf52n5z9yv56vq1knp3kdcbyk5w5k98ziwcbdjm1x65hd"; }; kernelPatches = let rt-patch = { name = "rt"; patch = fetchurl { url = "mirror://kernel/linux/kernel/projects/rt/${branch}/older/patch-${version}.patch.xz"; - sha256 = "17qx5xrchgss7zxg9lg91mqh0v3irx355003g7rj12h8y5r16l58"; + sha256 = "1gn4ii5pr0870ba481nqbd5rxk7ajrarv1p5mipfi42x07rpn7c2"; }; }; in [ rt-patch ] ++ kernelPatches; From 3edcbfce898010ded1b2a97fca2a699d21952e68 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Thu, 19 May 2022 17:52:48 +0200 Subject: [PATCH 23/35] linux_latest-libre: 18713 -> 18738 --- pkgs/os-specific/linux/kernel/linux-libre.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/linux-libre.nix b/pkgs/os-specific/linux/kernel/linux-libre.nix index 78646dddf96..971847a895a 100644 --- a/pkgs/os-specific/linux/kernel/linux-libre.nix +++ b/pkgs/os-specific/linux/kernel/linux-libre.nix @@ -1,8 +1,8 @@ { stdenv, lib, fetchsvn, linux , scripts ? fetchsvn { url = "https://www.fsfla.org/svn/fsfla/software/linux-libre/releases/branches/"; - rev = "18713"; - sha256 = "10744jp1i7z3jwpc42vrmdfpq1yblf3vy17yb04xdfhimkflw77p"; + rev = "18738"; + sha256 = "024iw4352h8b1kbbimqgid95h868swiw45wn91sjkpmwr612v6kd"; } , ... }: From eea0f09983cfa986de0d8e057e5c55db5b021793 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Thu, 19 May 2022 17:53:11 +0200 Subject: [PATCH 24/35] linux/hardened/patches/4.14: 4.14.278-hardened1 -> 4.14.280-hardened1 --- pkgs/os-specific/linux/kernel/hardened/patches.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/hardened/patches.json b/pkgs/os-specific/linux/kernel/hardened/patches.json index b7e783b73b7..1d43719f1c3 100644 --- a/pkgs/os-specific/linux/kernel/hardened/patches.json +++ b/pkgs/os-specific/linux/kernel/hardened/patches.json @@ -2,12 +2,12 @@ "4.14": { "patch": { "extra": "-hardened1", - "name": "linux-hardened-4.14.278-hardened1.patch", - "sha256": "10sihdsfc7zcn2n70gym790ql5lkgiy1q7lv7vavyxbg3j6yzayb", - "url": "https://github.com/anthraxx/linux-hardened/releases/download/4.14.278-hardened1/linux-hardened-4.14.278-hardened1.patch" + "name": "linux-hardened-4.14.280-hardened1.patch", + "sha256": "0hkn7rbgvnv9v7pzrg5g6ygmdzlrjl3yama9kp9aw0xw2akghmb4", + "url": "https://github.com/anthraxx/linux-hardened/releases/download/4.14.280-hardened1/linux-hardened-4.14.280-hardened1.patch" }, - "sha256": "1glb6z3nicd2lzhvwcqj54642agk0bbg022wnc3ckld5ngpd9miw", - "version": "4.14.278" + "sha256": "01jr0f7mq919s7xxvv8sc1mg6isc1ggij33l2s0n6jvykm23ghrr", + "version": "4.14.280" }, "4.19": { "patch": { From 28a954cabf6a9d9b52776cb977653fe9f8cb0133 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Thu, 19 May 2022 17:53:21 +0200 Subject: [PATCH 25/35] linux/hardened/patches/4.19: 4.19.242-hardened1 -> 4.19.244-hardened1 --- pkgs/os-specific/linux/kernel/hardened/patches.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/hardened/patches.json b/pkgs/os-specific/linux/kernel/hardened/patches.json index 1d43719f1c3..d1bd6c3a248 100644 --- a/pkgs/os-specific/linux/kernel/hardened/patches.json +++ b/pkgs/os-specific/linux/kernel/hardened/patches.json @@ -12,12 +12,12 @@ "4.19": { "patch": { "extra": "-hardened1", - "name": "linux-hardened-4.19.242-hardened1.patch", - "sha256": "05fmppfvimppvqi1ghvg43jz8sdd56dffvy9sazpl53vpz3bysy6", - "url": "https://github.com/anthraxx/linux-hardened/releases/download/4.19.242-hardened1/linux-hardened-4.19.242-hardened1.patch" + "name": "linux-hardened-4.19.244-hardened1.patch", + "sha256": "063q4vd0spk602s4if751341jaansh0764qq7fhy764j31678n0j", + "url": "https://github.com/anthraxx/linux-hardened/releases/download/4.19.244-hardened1/linux-hardened-4.19.244-hardened1.patch" }, - "sha256": "18k5fbzclk7g657bs8idwqjk7hakzx6256b1a3506sy29q4zvg2r", - "version": "4.19.242" + "sha256": "1g9562v6ny196rw2n3kj43nrz65qa7imwnmfasvj6x8fm8bdhz79", + "version": "4.19.244" }, "5.10": { "patch": { From 240e2247834fbd3188ed0be96f50b0826187a55f Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Thu, 19 May 2022 17:53:34 +0200 Subject: [PATCH 26/35] linux/hardened/patches/5.10: 5.10.115-hardened1 -> 5.10.117-hardened1 --- pkgs/os-specific/linux/kernel/hardened/patches.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/hardened/patches.json b/pkgs/os-specific/linux/kernel/hardened/patches.json index d1bd6c3a248..70bde99cbd9 100644 --- a/pkgs/os-specific/linux/kernel/hardened/patches.json +++ b/pkgs/os-specific/linux/kernel/hardened/patches.json @@ -22,12 +22,12 @@ "5.10": { "patch": { "extra": "-hardened1", - "name": "linux-hardened-5.10.115-hardened1.patch", - "sha256": "09sgj4wrsi5j5hz8k3zs8zxq4g0a27dnhpjs1nxvqdz6b8f4xkap", - "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.10.115-hardened1/linux-hardened-5.10.115-hardened1.patch" + "name": "linux-hardened-5.10.117-hardened1.patch", + "sha256": "1l53sjknm8q76r1jljm321cmh6ic36pc9w5rmi68lbds19ndfpx3", + "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.10.117-hardened1/linux-hardened-5.10.117-hardened1.patch" }, - "sha256": "0w9gwizyqjgsj93dqqvlh6bqkmpzjajhj09319nqncc95yrigr7m", - "version": "5.10.115" + "sha256": "1iyw3nmsga2binmrhfnzsf1pvn2bs21a8jw6vm89k26z5h8zfgkh", + "version": "5.10.117" }, "5.15": { "patch": { From 7f512f715339d6a197d3b093d09f10e0eafa0da8 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Thu, 19 May 2022 17:53:46 +0200 Subject: [PATCH 27/35] linux/hardened/patches/5.15: 5.15.39-hardened1 -> 5.15.41-hardened1 --- pkgs/os-specific/linux/kernel/hardened/patches.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/hardened/patches.json b/pkgs/os-specific/linux/kernel/hardened/patches.json index 70bde99cbd9..fdbbd330657 100644 --- a/pkgs/os-specific/linux/kernel/hardened/patches.json +++ b/pkgs/os-specific/linux/kernel/hardened/patches.json @@ -32,12 +32,12 @@ "5.15": { "patch": { "extra": "-hardened1", - "name": "linux-hardened-5.15.39-hardened1.patch", - "sha256": "137zp9z15adf464awh5cl371qvhv2c79yfnva3k31zp0ivjb7kgg", - "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.15.39-hardened1/linux-hardened-5.15.39-hardened1.patch" + "name": "linux-hardened-5.15.41-hardened1.patch", + "sha256": "1y98rvn4qyx8w8bjchfzsd7g9gkhfm20cwaj3p88sgq7q81kyz8s", + "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.15.41-hardened1/linux-hardened-5.15.41-hardened1.patch" }, - "sha256": "1bfpiyccjggysd04flaana0x69n1lcpckzpw1v6kh3ly9xil31l8", - "version": "5.15.39" + "sha256": "07jrsr54rvhry3g401h58r1773zinq49dbrkb9v1p6q27gyb2z1w", + "version": "5.15.41" }, "5.17": { "patch": { From 5c9571087e7ec83d9bf6f30b0a1c98417dec5843 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Thu, 19 May 2022 17:53:59 +0200 Subject: [PATCH 28/35] linux/hardened/patches/5.17: 5.17.7-hardened1 -> 5.17.9-hardened1 --- pkgs/os-specific/linux/kernel/hardened/patches.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/hardened/patches.json b/pkgs/os-specific/linux/kernel/hardened/patches.json index fdbbd330657..ec9f000582b 100644 --- a/pkgs/os-specific/linux/kernel/hardened/patches.json +++ b/pkgs/os-specific/linux/kernel/hardened/patches.json @@ -42,12 +42,12 @@ "5.17": { "patch": { "extra": "-hardened1", - "name": "linux-hardened-5.17.7-hardened1.patch", - "sha256": "0p2s6blyzi0ynfrqm5l8ayh41kjkrmznlly6znh3djc1k3l5fc8v", - "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.17.7-hardened1/linux-hardened-5.17.7-hardened1.patch" + "name": "linux-hardened-5.17.9-hardened1.patch", + "sha256": "0n7zz04vnajpsfn662fxx75jinnr0kpqwzyypgwn99v4lmsxvza1", + "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.17.9-hardened1/linux-hardened-5.17.9-hardened1.patch" }, - "sha256": "16ccf7n6fns9z93c65lchn5v3fgl9c5vkr1v6p0c1xifn7v7xxi2", - "version": "5.17.7" + "sha256": "0y2rmn86z3cvgv71b6sjjyafnlbanlib1kjpjjqzjbgg86y2890p", + "version": "5.17.9" }, "5.4": { "patch": { From 82273adfcd53a9f3ba5401ae642a6b11c5ffa065 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Thu, 19 May 2022 17:54:10 +0200 Subject: [PATCH 29/35] linux/hardened/patches/5.4: 5.4.193-hardened1 -> 5.4.195-hardened1 --- pkgs/os-specific/linux/kernel/hardened/patches.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/hardened/patches.json b/pkgs/os-specific/linux/kernel/hardened/patches.json index ec9f000582b..e66a432836d 100644 --- a/pkgs/os-specific/linux/kernel/hardened/patches.json +++ b/pkgs/os-specific/linux/kernel/hardened/patches.json @@ -52,11 +52,11 @@ "5.4": { "patch": { "extra": "-hardened1", - "name": "linux-hardened-5.4.193-hardened1.patch", - "sha256": "1c24chfjkv5yk3gzawxygfl6l58i7a6l2swdk35g5sv8s6p0a9jl", - "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.4.193-hardened1/linux-hardened-5.4.193-hardened1.patch" + "name": "linux-hardened-5.4.195-hardened1.patch", + "sha256": "1q7a211jw22nl1yz3k3cv6g4h7csir0wwyypzij54xbg3k7by0p9", + "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.4.195-hardened1/linux-hardened-5.4.195-hardened1.patch" }, - "sha256": "187jfk9hf52n5z9yv56vq1knp3kdcbyk5w5k98ziwcbdjm1x65hd", - "version": "5.4.193" + "sha256": "078380qhds2jwfmrchna6p27wpfb74pvnj4xiyc5k38gysfmnbzj", + "version": "5.4.195" } } From 02a280555695a84ca10676e4adb5ed9154745db8 Mon Sep 17 00:00:00 2001 From: Kat Inskip Date: Thu, 19 May 2022 20:09:16 +0100 Subject: [PATCH 30/35] maintainers: update kittywitch's name, email and keys --- maintainers/maintainer-list.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index b7e14de9bd5..0083993e7ef 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -6715,13 +6715,13 @@ name = "Jim Fowler"; }; kittywitch = { - email = "kat@kittywit.ch"; + email = "kat@inskip.me"; github = "kittywitch"; githubId = 67870215; - name = "kat witch"; + name = "Kat Inskip"; keys = [{ - longkeyid = "rsa4096/0x7248991EFA8EFBEE"; - fingerprint = "01F5 0A29 D4AA 9117 5A11 BDB1 7248 991E FA8E FBEE"; + longkeyid = "rsa4096/0xE8DDE3ED1C90F3A0"; + fingerprint = "9CC6 44B5 69CD A59B C874 C4C9 E8DD E3ED 1C90 F3A0"; }]; }; kiwi = { From b91c1d9d523ed57bc785e0780251b4158985634c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 18 May 2022 05:20:51 +0000 Subject: [PATCH 31/35] libdeltachat: 1.80.0 -> 1.82.0 https://github.com/deltachat/deltachat-core-rust/blob/1.82.0/CHANGELOG.md --- pkgs/development/libraries/libdeltachat/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/libdeltachat/default.nix b/pkgs/development/libraries/libdeltachat/default.nix index 462434f9839..2e12c326166 100644 --- a/pkgs/development/libraries/libdeltachat/default.nix +++ b/pkgs/development/libraries/libdeltachat/default.nix @@ -17,13 +17,13 @@ stdenv.mkDerivation rec { pname = "libdeltachat"; - version = "1.80.0"; + version = "1.82.0"; src = fetchFromGitHub { owner = "deltachat"; repo = "deltachat-core-rust"; rev = version; - hash = "sha256-4b2tf7QmLQ5ltnkxUGCwA1TZSQRoyKaRGcxBxbSKDaE="; + hash = "sha256-cc5DFQucG1b+1QN0HTJLKAfCF3UvRunL07d4WdT6368="; }; patches = [ @@ -33,7 +33,7 @@ stdenv.mkDerivation rec { cargoDeps = rustPlatform.fetchCargoTarball { inherit src; name = "${pname}-${version}"; - hash = "sha256-t1/xztmiuJMqNkIe7cBzO7MaZQb6GtnIX5wxEpC+IFo="; + hash = "sha256-WYjTpHTYJGqvsUI8De6+tGgjYY1nKqPyfKP9IdZfrNY="; }; nativeBuildInputs = [ From 2e333f7d8313e4974d9108057544356c2e890334 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 19 May 2022 01:31:08 +0000 Subject: [PATCH 32/35] deltachat-cursed: remove superfluous dependencies --- .../deltachat-cursed/default.nix | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/deltachat-cursed/default.nix b/pkgs/applications/networking/instant-messengers/deltachat-cursed/default.nix index 442a6adcb79..0b692104a4f 100644 --- a/pkgs/applications/networking/instant-messengers/deltachat-cursed/default.nix +++ b/pkgs/applications/networking/instant-messengers/deltachat-cursed/default.nix @@ -1,9 +1,6 @@ { lib , python3 , fetchFromGitHub -, wrapGAppsHook -, gobject-introspection -, libnotify }: python3.pkgs.buildPythonApplication rec { @@ -19,29 +16,16 @@ python3.pkgs.buildPythonApplication rec { nativeBuildInputs = [ python3.pkgs.setuptools-scm - wrapGAppsHook ]; SETUPTOOLS_SCM_PRETEND_VERSION = version; - buildInputs = [ - gobject-introspection - libnotify - ]; - propagatedBuildInputs = with python3.pkgs; [ deltachat notify-py - pygobject3 urwid-readline ]; - dontWrapGApps = true; - - preFixup = '' - makeWrapperArgs+=("''${gappsWrapperArgs[@]}") - ''; - doCheck = false; # no tests implemented meta = with lib; { From a4ebcee81e196b5bfe987dbcfaf9882c195ecc12 Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Fri, 6 May 2022 18:06:52 +0300 Subject: [PATCH 33/35] tilemaker: init at 2.2.0 --- pkgs/applications/misc/tilemaker/default.nix | 40 ++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 42 insertions(+) create mode 100644 pkgs/applications/misc/tilemaker/default.nix diff --git a/pkgs/applications/misc/tilemaker/default.nix b/pkgs/applications/misc/tilemaker/default.nix new file mode 100644 index 00000000000..cc87c529e34 --- /dev/null +++ b/pkgs/applications/misc/tilemaker/default.nix @@ -0,0 +1,40 @@ +{ lib, stdenv, fetchFromGitHub, buildPackages, cmake, installShellFiles +, boost, lua, protobuf, rapidjson, shapelib, sqlite, zlib }: + +stdenv.mkDerivation rec { + pname = "tilemaker"; + version = "2.2.0"; + + src = fetchFromGitHub { + owner = "systemed"; + repo = pname; + rev = "v${version}"; + hash = "sha256-st6WDCk1RZ2lbfrudtcD+zenntyTMRHrIXw3nX5FHOU="; + }; + + postPatch = '' + substituteInPlace src/tilemaker.cpp \ + --replace "config.json" "$out/share/tilemaker/config-openmaptiles.json" \ + --replace "process.lua" "$out/share/tilemaker/process-openmaptiles.lua" + ''; + + nativeBuildInputs = [ cmake installShellFiles ]; + + buildInputs = [ boost lua protobuf rapidjson shapelib sqlite zlib ]; + + cmakeFlags = lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) + "-DPROTOBUF_PROTOC_EXECUTABLE=${buildPackages.protobuf}/bin/protoc"; + + postInstall = '' + installManPage ../docs/man/tilemaker.1 + install -Dm644 ../resources/* -t $out/share/tilemaker + ''; + + meta = with lib; { + description = "Make OpenStreetMap vector tiles without the stack"; + homepage = "https://tilemaker.org/"; + license = licenses.free; # FTWPL + maintainers = with maintainers; [ sikmir ]; + platforms = platforms.unix; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c89dea3449c..603a7c80ef5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -29934,6 +29934,8 @@ with pkgs; tig = callPackage ../applications/version-management/git-and-tools/tig { }; + tilemaker = callPackage ../applications/misc/tilemaker { }; + timbreid = callPackage ../applications/audio/pd-plugins/timbreid { fftw = fftwSinglePrec; }; From 8d83675c0674f25455740e3af7d436cb59f08cb3 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 5 May 2022 19:04:12 +0200 Subject: [PATCH 34/35] babeld: 1.11 -> 1.12 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 5 May 2022: babeld-1.12 * Implement v4-via-v6 routing (RFC 9229), which allows a router with IPv4 addresses only to route IPv4. Thanks to Théophile Bastian. * Enable extended Netlink acks when available. Thanks to Toke Høyland-Jørgensen. * Fix restoring of interface configuration to avoid unbounded memory consumption. Thanks to andrew-hoff. * Fix handling of deny filters in the install chain. --- pkgs/tools/networking/babeld/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/networking/babeld/default.nix b/pkgs/tools/networking/babeld/default.nix index cde173ba305..b37bb9d6194 100644 --- a/pkgs/tools/networking/babeld/default.nix +++ b/pkgs/tools/networking/babeld/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "babeld"; - version = "1.11"; + version = "1.12"; src = fetchurl { url = "https://www.irif.fr/~jch/software/files/${pname}-${version}.tar.gz"; - sha256 = "sha256-mTFa6vLqIH8XfBaFX/o0/DVK8bWYjAcODy/KOg1ND6U="; + sha256 = "sha256-gy7wgMOA/2wNcVxr+IrCL8rofcDwRWbmC+zbjYce/7k="; }; preBuild = '' From 3211982dedbd2b06eb1a58c20259531c22f6d94f Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 20 May 2022 00:41:55 +0200 Subject: [PATCH 35/35] babeld: 1.12 -> 1.12.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 18 May 2022: babeld-1.12.1 * Implement separate PC values for unicast and multicast, which avoids dropping packets protected by MAC when WiFi powersave is active. Thanks to Daniel Gröber. * Schedule an interface check just after adding an interface. Thanks to Andrew Hoff. --- pkgs/tools/networking/babeld/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/networking/babeld/default.nix b/pkgs/tools/networking/babeld/default.nix index b37bb9d6194..28caace1028 100644 --- a/pkgs/tools/networking/babeld/default.nix +++ b/pkgs/tools/networking/babeld/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "babeld"; - version = "1.12"; + version = "1.12.1"; src = fetchurl { url = "https://www.irif.fr/~jch/software/files/${pname}-${version}.tar.gz"; - sha256 = "sha256-gy7wgMOA/2wNcVxr+IrCL8rofcDwRWbmC+zbjYce/7k="; + sha256 = "sha256-mrWdesdB82MN8j+cO2fGApTYs0q2IjmPm4l3OoeOyx4="; }; preBuild = ''