From c4e0d766b75363e20c2beca5fbbaa61312911785 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6gler?= Date: Sun, 23 Oct 2022 15:57:55 +0200 Subject: [PATCH 01/29] nixos/unitGenerator: fix generation for nspawn files --- nixos/lib/systemd-lib.nix | 6 +++--- nixos/tests/systemd-machinectl.nix | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/nixos/lib/systemd-lib.nix b/nixos/lib/systemd-lib.nix index 779dadece582..65356634655d 100644 --- a/nixos/lib/systemd-lib.nix +++ b/nixos/lib/systemd-lib.nix @@ -214,7 +214,7 @@ in rec { ${concatStrings (mapAttrsToList (name: unit: concatMapStrings (name2: '' ln -sfn '${name}' $out/'${name2}' - '') unit.aliases) units)} + '') (unit.aliases or [])) units)} # Create .wants and .requires symlinks from the wantedBy and # requiredBy options. @@ -222,13 +222,13 @@ in rec { concatMapStrings (name2: '' mkdir -p $out/'${name2}.wants' ln -sfn '../${name}' $out/'${name2}.wants'/ - '') unit.wantedBy) units)} + '') (unit.wantedBy or [])) units)} ${concatStrings (mapAttrsToList (name: unit: concatMapStrings (name2: '' mkdir -p $out/'${name2}.requires' ln -sfn '../${name}' $out/'${name2}.requires'/ - '') unit.requiredBy) units)} + '') (unit.requiredBy or [])) units)} ${optionalString (type == "system") '' # Stupid misc. symlinks. diff --git a/nixos/tests/systemd-machinectl.nix b/nixos/tests/systemd-machinectl.nix index 7a4888ab85f6..fa5c81599eb0 100644 --- a/nixos/tests/systemd-machinectl.nix +++ b/nixos/tests/systemd-machinectl.nix @@ -41,6 +41,9 @@ import ./make-test-python.nix ({ pkgs, ... }: systemd.targets.machines.wants = [ "systemd-nspawn@${containerName}.service" ]; virtualisation.additionalPaths = [ containerSystem ]; + + # not needed, but we want to test the nspawn file generation + systemd.nspawn.${containerName} = { }; }; testScript = '' From 85cc98a9da45a3e8491b73c9af2e854c14d377fb Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 23 Oct 2022 21:04:30 +0200 Subject: [PATCH 02/29] python310Packages.fastapi: 0.85.0 -> 0.85.1 --- pkgs/development/python-modules/fastapi/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/fastapi/default.nix b/pkgs/development/python-modules/fastapi/default.nix index 8815da5dfdee..753cb1567e66 100644 --- a/pkgs/development/python-modules/fastapi/default.nix +++ b/pkgs/development/python-modules/fastapi/default.nix @@ -21,7 +21,7 @@ buildPythonPackage rec { pname = "fastapi"; - version = "0.85.0"; + version = "0.85.1"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -30,7 +30,7 @@ buildPythonPackage rec { owner = "tiangolo"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-mgrw5MQMqFcXExtsu/jW01dMlygfE1GzSqXHI6BG7j4="; + hash = "sha256-pMKWaj81rDX+zPHGvHakMDWN8+SU2qBAStk7HqENaig="; }; nativeBuildInputs = [ From 5d2907308f9f5f35653fb0cb5c1b93325886da12 Mon Sep 17 00:00:00 2001 From: Jack Cummings Date: Sun, 23 Oct 2022 22:51:22 -0700 Subject: [PATCH 03/29] widelands 1.0 -> 1.1 Remove in-tree patch, as it isn't needed anymore. Addresses #197395. --- pkgs/games/widelands/bincmake.patch | 21 ---------------- pkgs/games/widelands/default.nix | 38 ++++++++++++++++------------- 2 files changed, 21 insertions(+), 38 deletions(-) delete mode 100644 pkgs/games/widelands/bincmake.patch diff --git a/pkgs/games/widelands/bincmake.patch b/pkgs/games/widelands/bincmake.patch deleted file mode 100644 index ed6a99125223..000000000000 --- a/pkgs/games/widelands/bincmake.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -25,6 +25,8 @@ - # Packagers (or people using make install) have to set this variable to an absolute path. - wl_set_if_unset(WL_INSTALL_DATADIR "./data") - -+wl_set_if_unset(WL_INSTALL_BINARY "./bin") -+ - if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") - if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.7) - message(FATAL_ERROR "Widelands needs GCC >= 4.7 to compile.") - ---- a/cmake/WlFunctions.cmake -+++ b/cmake/WlFunctions.cmake -@@ -276,5 +276,5 @@ - - #Quoting the CMake documentation on DESTINATION: - #"If a relative path is given it is interpreted relative to the value of CMAKE_INSTALL_PREFIX" -- install(TARGETS ${NAME} DESTINATION "." COMPONENT ExecutableFiles) -+ install(TARGETS ${NAME} DESTINATION ${WL_INSTALL_BINARY} COMPONENT ExecutableFiles) - endfunction() diff --git a/pkgs/games/widelands/default.nix b/pkgs/games/widelands/default.nix index f53b3deaef49..f49921024e45 100644 --- a/pkgs/games/widelands/default.nix +++ b/pkgs/games/widelands/default.nix @@ -2,12 +2,12 @@ , stdenv , fetchFromGitHub , fetchpatch +, pkg-config # needed to find minizip , SDL2 , SDL2_image , SDL2_mixer , SDL2_net , SDL2_ttf -, boost , cmake , curl , doxygen @@ -20,28 +20,24 @@ , lua , python3 , zlib +, minizip +, asio +, libSM +, libICE +, libXext }: stdenv.mkDerivation rec { pname = "widelands"; - version = "1.0"; + version = "1.1"; src = fetchFromGitHub { owner = "widelands"; repo = "widelands"; rev = "v${version}"; - sha256 = "sha256-gNumYoeKePaxiAzrqEPKibMxFwv9vyBrCSoua+MKhcM="; + sha256 = "sha256-fe1fey34b6T1+kqMa22STROu7dagQJtg24nW2jhVix8="; }; - patches = [ - ./bincmake.patch - # fix for building with Boost 1.77, https://github.com/widelands/widelands/pull/5025 - (fetchpatch { - url = "https://github.com/widelands/widelands/commit/33981fda8c319c9feafc958f5f0b1670c48666ef.patch"; - sha256 = "sha256-FjxxCTPpg/Zp01XpNfgRXMMLJBfxAptkLpsLmnFXm2Q="; - }) - ]; - postPatch = '' substituteInPlace xdg/org.widelands.Widelands.desktop \ --replace 'Exec=widelands' "Exec=$out/bin/widelands" @@ -49,12 +45,14 @@ stdenv.mkDerivation rec { cmakeFlags = [ "-Wno-dev" # dev warnings are only needed for upstream development - "-DWL_INSTALL_BASEDIR=${placeholder "out"}" - "-DWL_INSTALL_DATADIR=${placeholder "out"}/share/widelands" - "-DWL_INSTALL_BINARY=${placeholder "out"}/bin" + "-DWL_INSTALL_BASEDIR=${placeholder "out"}/share/widelands" # for COPYING, Changelog, etc. + "-DWL_INSTALL_DATADIR=${placeholder "out"}/share/widelands" # for game data + "-DWL_INSTALL_BINDIR=${placeholder "out"}/bin" ]; - nativeBuildInputs = [ cmake doxygen gettext graphviz installShellFiles ]; + nativeBuildInputs = [ cmake doxygen gettext graphviz installShellFiles pkg-config ]; + + enableParallelBuilding = true; buildInputs = [ SDL2 @@ -62,7 +60,6 @@ stdenv.mkDerivation rec { SDL2_mixer SDL2_net SDL2_ttf - boost curl glew icu @@ -70,6 +67,11 @@ stdenv.mkDerivation rec { lua python3 zlib + minizip + asio + libSM # XXX: these should be propagated by SDL2? + libICE + libXext ]; postInstall = '' @@ -90,6 +92,8 @@ stdenv.mkDerivation rec { Settlers II". It has a single player campaign mode, as well as a networked multiplayer mode. ''; + changelog = "https://github.com/widelands/widelands/releases/tag/v1.1"; + mainProgram = "widelands"; license = licenses.gpl2Plus; maintainers = with maintainers; [ raskin jcumming ]; platforms = platforms.linux; From abefe7facd9ffb24e1c51d4f070d026695721e39 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 24 Oct 2022 10:49:48 +0000 Subject: [PATCH 04/29] filezilla: 3.60.2 -> 3.61.0 --- pkgs/applications/networking/ftp/filezilla/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/ftp/filezilla/default.nix b/pkgs/applications/networking/ftp/filezilla/default.nix index 7ac58abd530c..5a4585135f01 100644 --- a/pkgs/applications/networking/ftp/filezilla/default.nix +++ b/pkgs/applications/networking/ftp/filezilla/default.nix @@ -18,11 +18,11 @@ stdenv.mkDerivation rec { pname = "filezilla"; - version = "3.60.2"; + version = "3.61.0"; src = fetchurl { url = "https://download.filezilla-project.org/client/FileZilla_${version}_src.tar.bz2"; - hash = "sha256-5AfbrRaZU/+VFFK8vxONlTo6MCNfirsD0nHHEsx+V5I="; + hash = "sha256-Cv7w5NolICaHsy7Wsf/NhELVs1vc0W308Cuy6pLimfc="; }; configureFlags = [ From 0b35b258aed68d2aac1924a583e11d8c4e11f54e Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Mon, 24 Oct 2022 19:19:00 +0800 Subject: [PATCH 05/29] blueman: 2.3.2 -> 2.3.4 https://github.com/blueman-project/blueman/compare/2.3.2...2.3.4 --- pkgs/tools/bluetooth/blueman/default.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/bluetooth/blueman/default.nix b/pkgs/tools/bluetooth/blueman/default.nix index 1aa668d86f4d..27d4f2d7f1af 100644 --- a/pkgs/tools/bluetooth/blueman/default.nix +++ b/pkgs/tools/bluetooth/blueman/default.nix @@ -1,24 +1,23 @@ { config, stdenv, lib, fetchurl, intltool, pkg-config, python3Packages, bluez, gtk3 , obex_data_server, xdg-utils, dnsmasq, dhcp, libappindicator, iproute2 -, gnome, librsvg, wrapGAppsHook, gobject-introspection, autoreconfHook -, networkmanager, withPulseAudio ? config.pulseaudio or stdenv.isLinux, libpulseaudio, fetchpatch }: +, gnome, librsvg, wrapGAppsHook, gobject-introspection +, networkmanager, withPulseAudio ? config.pulseaudio or stdenv.isLinux, libpulseaudio }: let pythonPackages = python3Packages; in stdenv.mkDerivation rec { pname = "blueman"; - version = "2.3.2"; + version = "2.3.4"; src = fetchurl { url = "https://github.com/blueman-project/blueman/releases/download/${version}/${pname}-${version}.tar.xz"; - sha256 = "sha256-hM99f9Fzh1HHfgYF9y5M3UtyMHindo/j81MJmToDUK4="; + sha256 = "sha256-wgYzghQ38yydPRkOzXDR4vclXXSn1pefInEb3C5WAVI="; }; nativeBuildInputs = [ gobject-introspection intltool pkg-config pythonPackages.cython pythonPackages.wrapPython wrapGAppsHook - autoreconfHook # drop when below patch is removed ]; buildInputs = [ bluez gtk3 pythonPackages.python librsvg From bf8375dad03eba971170bff722745df2e54c2e49 Mon Sep 17 00:00:00 2001 From: Guillaume Girol Date: Mon, 24 Oct 2022 12:00:00 +0000 Subject: [PATCH 06/29] btrbk: update passthru.tests --- pkgs/tools/backup/btrbk/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/backup/btrbk/default.nix b/pkgs/tools/backup/btrbk/default.nix index 830e505adccf..a9247792e008 100644 --- a/pkgs/tools/backup/btrbk/default.nix +++ b/pkgs/tools/backup/btrbk/default.nix @@ -53,7 +53,9 @@ stdenv.mkDerivation rec { --prefix PATH ':' "${lib.makeBinPath [ btrfs-progs bash mbuffer openssh ]}" ''; - passthru.tests.btrbk = nixosTests.btrbk; + passthru.tests = { + inherit (nixosTests) btrbk btrbk-no-timer btrbk-section-order; + }; passthru.updateScript = genericUpdater { versionLister = writeShellScript "btrbk-versionLister" '' From bd60929673f55fd0b65c24238e7ef068b4806e23 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 24 Oct 2022 16:07:28 +0200 Subject: [PATCH 07/29] python310Packages.griffe: 0.22.0 -> 0.22.2 --- pkgs/development/python-modules/griffe/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/griffe/default.nix b/pkgs/development/python-modules/griffe/default.nix index f7e9fd75855f..239201897380 100644 --- a/pkgs/development/python-modules/griffe/default.nix +++ b/pkgs/development/python-modules/griffe/default.nix @@ -11,7 +11,7 @@ buildPythonApplication rec { pname = "griffe"; - version = "0.22.0"; + version = "0.22.2"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -20,7 +20,7 @@ buildPythonApplication rec { owner = "mkdocstrings"; repo = pname; rev = version; - hash = "sha256-GqPXVi+SsfO0ufUJzEZ5eUzwJmM/wylLA1KMv+WaIsU="; + hash = "sha256-mkYtfO+wZ4vIdpCzum9uwoKMv1Xn0few8ywbvrEwxj8="; }; nativeBuildInputs = [ From f0d96ab473b06aa11ba1ac9ebe263f8f115cb7ae Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Mon, 24 Oct 2022 16:07:39 +0200 Subject: [PATCH 08/29] emacsPackages.irony: fix build on aarch64-darwin --- .../editors/emacs/elisp-packages/melpa-packages.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix b/pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix index 15efa5ae160a..ad3708d11b09 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix @@ -277,9 +277,10 @@ let rm -rf $out/share/emacs/site-lisp/elpa/*/server ''; dontUseCmakeBuildDir = true; - doCheck = true; + doCheck = pkgs.stdenv.isLinux; packageRequires = [ self.emacs ]; - nativeBuildInputs = [ pkgs.cmake pkgs.llvmPackages.llvm pkgs.llvmPackages.libclang ]; + buildInputs = [ pkgs.llvmPackages.libclang self.emacs ]; + nativeBuildInputs = [ pkgs.cmake pkgs.llvmPackages.llvm ]; }); # tries to write a log file to $HOME From 8ca056561304e7d7cbe2b593bc13b3e89d0d6b21 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 24 Oct 2022 16:27:01 +0200 Subject: [PATCH 09/29] python310Packages.sentry-sdk: 1.10.0 -> 1.10.1 --- pkgs/development/python-modules/sentry-sdk/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/sentry-sdk/default.nix b/pkgs/development/python-modules/sentry-sdk/default.nix index 894a60cee4a4..a3816d9b7dbf 100644 --- a/pkgs/development/python-modules/sentry-sdk/default.nix +++ b/pkgs/development/python-modules/sentry-sdk/default.nix @@ -46,7 +46,7 @@ buildPythonPackage rec { pname = "sentry-sdk"; - version = "1.10.0"; + version = "1.10.1"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -55,7 +55,7 @@ buildPythonPackage rec { owner = "getsentry"; repo = "sentry-python"; rev = version; - hash = "sha256-la+MgVulQS6k6zux2mC7AiXqZWEU2LG/fGUUMFrBI6k="; + hash = "sha256-wNI92LVGFN+7LPxnrezPeF7dSS5UgwCuF62/ux3rik4="; }; propagatedBuildInputs = [ From 00b4c3351d3bd8eb3332f6184df05afd627cc1fc Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Mon, 24 Oct 2022 17:51:01 +0200 Subject: [PATCH 10/29] python3Packages.pyscf: fix build with libxc-6.0.0 --- pkgs/development/python-modules/pyscf/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/python-modules/pyscf/default.nix b/pkgs/development/python-modules/pyscf/default.nix index c82bf2504860..84a4b4fb5bdb 100644 --- a/pkgs/development/python-modules/pyscf/default.nix +++ b/pkgs/development/python-modules/pyscf/default.nix @@ -1,6 +1,7 @@ { buildPythonPackage , lib , fetchFromGitHub +, fetchpatch , cmake , blas , libcint @@ -25,6 +26,12 @@ buildPythonPackage rec { hash = "sha256-KMxwyAK00Zc0i76zWTMznfXQCVCt+4HOH8SlwuOCORk="; }; + patches = [ (fetchpatch { + name = "libxc-6"; # https://github.com/pyscf/pyscf/pull/1467 + url = "https://github.com/pyscf/pyscf/commit/ebcfacc90e119cd7f9dcdbf0076a84660349fc79.patch"; + sha256 = "sha256-O+eDlUKJeThxQcHrMGqxjDfRCmCNP+OCgv/L72jAF/o="; + })]; + # setup.py calls Cmake and passes the arguments in CMAKE_CONFIGURE_ARGS to cmake. nativeBuildInputs = [ cmake ]; dontUseCmakeConfigure = true; From 06e2ebc0c52ef9ffd9e9d3dc6dc4861d73253012 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 25 Oct 2022 01:06:32 +0200 Subject: [PATCH 11/29] python310Packages.hahomematic: 2022.10.8 -> 2022.10.9 --- pkgs/development/python-modules/hahomematic/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/hahomematic/default.nix b/pkgs/development/python-modules/hahomematic/default.nix index 062cb6e8458e..ce1e35f06e82 100644 --- a/pkgs/development/python-modules/hahomematic/default.nix +++ b/pkgs/development/python-modules/hahomematic/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "hahomematic"; - version = "2022.10.8"; + version = "2022.10.9"; format = "pyproject"; disabled = pythonOlder "3.9"; @@ -24,7 +24,7 @@ buildPythonPackage rec { owner = "danielperna84"; repo = pname; rev = "refs/tags/${version}"; - sha256 = "sha256-92TR0zkYUgIso+ki3k+meTeMQdWrcBooNgL42pf0EqA="; + sha256 = "sha256-QBYJnQzKGQDPJJ6mWRBYwuPiv+Yktu31SparORuvUwY="; }; nativeBuildInputs = [ From 87e25e63c3bd2695b38481a7ee292092f24e71bb Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 25 Oct 2022 03:50:01 +0000 Subject: [PATCH 12/29] qovery-cli: 0.46.3 -> 0.46.4 --- pkgs/tools/admin/qovery-cli/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/admin/qovery-cli/default.nix b/pkgs/tools/admin/qovery-cli/default.nix index e547b2470785..36ea258cc3c9 100644 --- a/pkgs/tools/admin/qovery-cli/default.nix +++ b/pkgs/tools/admin/qovery-cli/default.nix @@ -8,13 +8,13 @@ buildGoModule rec { pname = "qovery-cli"; - version = "0.46.3"; + version = "0.46.4"; src = fetchFromGitHub { owner = "Qovery"; repo = pname; rev = "v${version}"; - hash = "sha256-DNwAsHznu+I8CItyvz4fG7QZDuQQvYPRYiy4qJbKZ3s="; + hash = "sha256-ROUMFpAgUmcKt7QG+Lfd3OipJQK8DLezvCxvev1yNlo="; }; vendorSha256 = "sha256-4TY7/prMbvw5zVPJRoMLg7Omrxvh1HPGsdz1wqPn4uU="; From e241f02b548d996e1d214360f6967698d415ff21 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 25 Oct 2022 07:02:18 +0000 Subject: [PATCH 13/29] tflint: 0.42.0 -> 0.42.1 --- pkgs/development/tools/analysis/tflint/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/analysis/tflint/default.nix b/pkgs/development/tools/analysis/tflint/default.nix index 18a2e1a145c2..8572c759e7d8 100644 --- a/pkgs/development/tools/analysis/tflint/default.nix +++ b/pkgs/development/tools/analysis/tflint/default.nix @@ -10,13 +10,13 @@ buildGoModule rec { pname = "tflint"; - version = "0.42.0"; + version = "0.42.1"; src = fetchFromGitHub { owner = "terraform-linters"; repo = pname; rev = "v${version}"; - sha256 = "sha256-stfHkQqgxlPJ6qMGZ+oCcp5M6GuL71GC8PE08lL8Fig="; + sha256 = "sha256-pcd9xyfH0n7UwR/Cyd+PSo9WPK1g7FaBhxOtlRttGEA="; }; vendorSha256 = "sha256-Ced/3KY78wBSo02sbowV8eI1tHe+a6g9DnRQ3AXp8fU="; From b42a0ec29ad2bf5aff18d9d4cdd2c6ba12711734 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Tue, 7 Dec 2021 09:49:58 +0100 Subject: [PATCH 14/29] ocamlPackages.pipebang: remove at 113.00.00 --- .../ocaml-modules/pipebang/default.nix | 26 ------------------- pkgs/top-level/ocaml-packages.nix | 2 -- 2 files changed, 28 deletions(-) delete mode 100644 pkgs/development/ocaml-modules/pipebang/default.nix diff --git a/pkgs/development/ocaml-modules/pipebang/default.nix b/pkgs/development/ocaml-modules/pipebang/default.nix deleted file mode 100644 index e2bd4d3ec5c8..000000000000 --- a/pkgs/development/ocaml-modules/pipebang/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ lib, buildOcaml, fetchFromGitHub, camlp4 }: - -buildOcaml rec { - pname = "pipebang"; - version = "113.00.00"; - - minimumSupportedOcamlVersion = "4.00"; - - src = fetchFromGitHub { - owner = "janestreet"; - repo = "pipebang"; - rev = version; - sha256 = "sha256-9A3X/ciL5HtuKQ5awS+hDDBLL5ytOr12wHsmJLNRn+Q="; - }; - - strictDeps = true; - - propagatedBuildInputs = [ camlp4 ]; - - meta = with lib; { - homepage = "https://github.com/janestreet/pipebang"; - description = "Syntax extension to transform x |! f into f x"; - license = licenses.asl20; - maintainers = [ maintainers.ericbmerritt ]; - }; -} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index f4674f9fb4b8..6547130861c5 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -1274,8 +1274,6 @@ let parany = callPackage ../development/ocaml-modules/parany { }; - pipebang = callPackage ../development/ocaml-modules/pipebang { }; - portaudio = callPackage ../development/ocaml-modules/portaudio { inherit (pkgs) portaudio; }; From fbd942993f1e5d1215749f51a7ef42fd7948583b Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Tue, 18 Oct 2022 12:52:24 +0200 Subject: [PATCH 15/29] ocamlPackages.herelib: remove at 112.35.00 --- .../ocaml-modules/herelib/default.nix | 26 ------------------- pkgs/top-level/ocaml-packages.nix | 2 -- 2 files changed, 28 deletions(-) delete mode 100644 pkgs/development/ocaml-modules/herelib/default.nix diff --git a/pkgs/development/ocaml-modules/herelib/default.nix b/pkgs/development/ocaml-modules/herelib/default.nix deleted file mode 100644 index f9267ede60ae..000000000000 --- a/pkgs/development/ocaml-modules/herelib/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ lib, buildOcaml, fetchFromGitHub, camlp4 }: - -buildOcaml rec { - version = "112.35.00"; - pname = "herelib"; - - minimumSupportedOcamlVersion = "4.00"; - - src = fetchFromGitHub { - owner = "janestreet"; - repo = "herelib"; - rev = version; - sha256 = "sha256-EuMhHu2na3lcpsJ1wMVOgBr6VKndlonq8jgAW01eelI="; - }; - - strictDeps = true; - - buildInputs = [ camlp4 ]; - - meta = with lib; { - homepage = "https://github.com/janestreet/herelib"; - description = "Syntax extension for inserting the current location"; - license = licenses.asl20; - maintainers = [ maintainers.ericbmerritt ]; - }; -} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 6547130861c5..a0c449ffb5f8 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -531,8 +531,6 @@ let hashcons = callPackage ../development/ocaml-modules/hashcons { }; - herelib = callPackage ../development/ocaml-modules/herelib { }; - hidapi = callPackage ../development/ocaml-modules/hidapi { }; higlo = callPackage ../development/ocaml-modules/higlo { }; From 8b11f0a5138c23c0be6e6a04caaf647fca644856 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Tue, 18 Oct 2022 12:58:09 +0200 Subject: [PATCH 16/29] ocamlPackages.buildOcaml: remove --- pkgs/build-support/ocaml/default.nix | 36 ---------------------------- pkgs/top-level/ocaml-packages.nix | 2 -- 2 files changed, 38 deletions(-) delete mode 100644 pkgs/build-support/ocaml/default.nix diff --git a/pkgs/build-support/ocaml/default.nix b/pkgs/build-support/ocaml/default.nix deleted file mode 100644 index 38029e8a4800..000000000000 --- a/pkgs/build-support/ocaml/default.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ lib, stdenv, writeText, ocaml, findlib, ocamlbuild, camlp4 }: - -{ pname ? args.name, version, nativeBuildInputs ? [], - createFindlibDestdir ? true, - dontStrip ? true, - minimumSupportedOcamlVersion ? null, - hasSharedObjects ? false, - setupHook ? null, - meta ? {}, ... -}@args: -let - defaultMeta = { - platforms = ocaml.meta.platforms or []; - }; -in - assert minimumSupportedOcamlVersion != null -> - lib.versionOlder minimumSupportedOcamlVersion ocaml.version; - -stdenv.mkDerivation (args // { - name = "ocaml-${pname}-${version}"; - - nativeBuildInputs = [ ocaml findlib ocamlbuild camlp4 ] ++ nativeBuildInputs; - - strictDeps = true; - - setupHook = if setupHook == null && hasSharedObjects - then writeText "setupHook.sh" '' - export CAML_LD_LIBRARY_PATH="''${CAML_LD_LIBRARY_PATH-}''${CAML_LD_LIBRARY_PATH:+:}''$1/lib/ocaml/${ocaml.version}/site-lib/${pname}/" - '' - else setupHook; - - inherit createFindlibDestdir; - inherit dontStrip; - - meta = defaultMeta // meta; -}) diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index a0c449ffb5f8..ae1536402941 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -10,8 +10,6 @@ let # Libs - buildOcaml = callPackage ../build-support/ocaml { }; - buildOasisPackage = callPackage ../build-support/ocaml/oasis.nix { }; buildDunePackage = callPackage ../build-support/ocaml/dune.nix {}; From b0a67023be5e1d3ae840e60fa26e612f37a44a24 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 25 Oct 2022 07:52:39 +0000 Subject: [PATCH 17/29] uncover: 0.0.8 -> 0.0.9 --- pkgs/tools/security/uncover/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/uncover/default.nix b/pkgs/tools/security/uncover/default.nix index 094f24069731..177e46b423a4 100644 --- a/pkgs/tools/security/uncover/default.nix +++ b/pkgs/tools/security/uncover/default.nix @@ -5,16 +5,16 @@ buildGoModule rec { pname = "uncover"; - version = "0.0.8"; + version = "0.0.9"; src = fetchFromGitHub { owner = "projectdiscovery"; repo = pname; rev = "v${version}"; - hash = "sha256-euf6ufKVaDEJdaUCzjog32Gpoi7CPa3X22p60UgnOOQ="; + hash = "sha256-bYSqfxjJGue+7gPr8XgkcPF7UUuKWmLuQO07KCJp4jY="; }; - vendorSha256 = "sha256-FePZWseFEbBhBIsojw67SCZufSJygekZjlk0d7aceak="; + vendorSha256 = "sha256-FG0pqzSoqT/KjTOjXidAGjSABMFWgChJJYOhBfyzM7w="; meta = with lib; { description = "API wrapper to search for exposed hosts"; From 4557c2c983b94792f205c6dcfad14d47090b8558 Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Tue, 25 Oct 2022 01:15:40 -0700 Subject: [PATCH 18/29] pantheon.wingpanel-indicator-sound: 6.0.1 -> 6.0.2 Co-authored-by: Bobby Rong --- .../pantheon/desktop/wingpanel-indicators/sound/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/sound/default.nix b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/sound/default.nix index 16e04bedcb93..758ecdf04bf6 100644 --- a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/sound/default.nix +++ b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/sound/default.nix @@ -7,6 +7,7 @@ , python3 , ninja , vala +, gnome-settings-daemon , gtk3 , granite , wingpanel @@ -19,13 +20,13 @@ stdenv.mkDerivation rec { pname = "wingpanel-indicator-sound"; - version = "6.0.1"; + version = "6.0.2"; src = fetchFromGitHub { owner = "elementary"; repo = pname; rev = version; - sha256 = "sha256-FHZ4YhGLqGTz5Po2XFJvnWuAi1eHKcT9zzgJFHic02E="; + sha256 = "sha256-hifEd2uL1sBLF8H8KwYoxCyVpGkv9f4SqD6WmB7xJ7I="; }; nativeBuildInputs = [ @@ -38,6 +39,7 @@ stdenv.mkDerivation rec { ]; buildInputs = [ + gnome-settings-daemon # media-keys granite gtk3 libcanberra-gtk3 From 4fffb0e5fe2015bdbf29a83ae486cd836ff1ce94 Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Tue, 25 Oct 2022 07:23:33 +1000 Subject: [PATCH 19/29] containerd: 1.6.8 -> 1.6.9 https://github.com/containerd/containerd/releases/tag/v1.6.9 --- pkgs/applications/virtualization/containerd/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/virtualization/containerd/default.nix b/pkgs/applications/virtualization/containerd/default.nix index 79797195e3ba..8a5b2300774a 100644 --- a/pkgs/applications/virtualization/containerd/default.nix +++ b/pkgs/applications/virtualization/containerd/default.nix @@ -10,13 +10,13 @@ buildGoModule rec { pname = "containerd"; - version = "1.6.8"; + version = "1.6.9"; src = fetchFromGitHub { owner = "containerd"; repo = "containerd"; rev = "v${version}"; - sha256 = "sha256-0UiPhkTWV61DnAF5kWd1FctX8i0sXaJ1p/xCMznY/A8="; + sha256 = "sha256-KvQdYQLzgt/MKPsA/mO5un6nE3/xcvVYwIveNn/uDnU="; }; vendorSha256 = null; From f1d5de69576bf4c6c3e9bb06bd770e13d030249b Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Tue, 25 Oct 2022 16:40:11 +0800 Subject: [PATCH 20/29] pantheon.sideload: 6.0.2 -> 6.1.0 --- .../pantheon/apps/sideload/default.nix | 20 ++++++++----------- 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/pkgs/desktops/pantheon/apps/sideload/default.nix b/pkgs/desktops/pantheon/apps/sideload/default.nix index 11ce2048ae41..e1fd51b516b6 100644 --- a/pkgs/desktops/pantheon/apps/sideload/default.nix +++ b/pkgs/desktops/pantheon/apps/sideload/default.nix @@ -6,28 +6,26 @@ , flatpak , gettext , glib -, granite -, gtk3 -, libgee -, libhandy +, granite7 +, gtk4 , meson , ninja , pkg-config , python3 , vala , libxml2 -, wrapGAppsHook +, wrapGAppsHook4 }: stdenv.mkDerivation rec { pname = "sideload"; - version = "6.0.2"; + version = "6.1.0"; src = fetchFromGitHub { owner = "elementary"; repo = pname; rev = version; - sha256 = "0abpcawmmv5mgzk2i5n9rlairmjr2v9rg9b8c9g7xa085s496bi9"; + sha256 = "sha256-iyqKhyBU9OLlPLy5ZD/GxoOzprbm7uKBkFzjUUoQc5g="; }; nativeBuildInputs = [ @@ -38,16 +36,14 @@ stdenv.mkDerivation rec { pkg-config python3 vala - wrapGAppsHook + wrapGAppsHook4 ]; buildInputs = [ flatpak glib - granite - gtk3 - libgee - libhandy + granite7 + gtk4 libxml2 ]; From f4342c11e5feee7dd805045ed4dd3fb069d5ac83 Mon Sep 17 00:00:00 2001 From: MidAutumnMoon Date: Tue, 25 Oct 2022 16:45:49 +0800 Subject: [PATCH 21/29] nixos/geoipupdate: set proper SystemCallFilter --- nixos/modules/services/misc/geoipupdate.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/misc/geoipupdate.nix b/nixos/modules/services/misc/geoipupdate.nix index fafe4e3f2419..ad80d4892435 100644 --- a/nixos/modules/services/misc/geoipupdate.nix +++ b/nixos/modules/services/misc/geoipupdate.nix @@ -197,7 +197,7 @@ in ProtectKernelTunables = true; ProtectProc = "invisible"; ProcSubset = "pid"; - SystemCallFilter = [ "@system-service" "~@privileged" "~@resources" ]; + SystemCallFilter = [ "@system-service" "~@privileged" ]; RestrictAddressFamilies = [ "AF_INET" "AF_INET6" ]; RestrictRealtime = true; RestrictNamespaces = true; From afb8d0e5a62c6018c4cd3545c76e672cec6ccabb Mon Sep 17 00:00:00 2001 From: MidAutumnMoon Date: Tue, 25 Oct 2022 16:47:09 +0800 Subject: [PATCH 22/29] nixos/prometheus-smartctl: set proper SystemCallFilter --- .../services/monitoring/prometheus/exporters/smartctl.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/nixos/modules/services/monitoring/prometheus/exporters/smartctl.nix b/nixos/modules/services/monitoring/prometheus/exporters/smartctl.nix index 8906c25d5037..7348c6e9b0b4 100644 --- a/nixos/modules/services/monitoring/prometheus/exporters/smartctl.nix +++ b/nixos/modules/services/monitoring/prometheus/exporters/smartctl.nix @@ -66,10 +66,7 @@ in { ProtectProc = "invisible"; ProcSubset = "pid"; SupplementaryGroups = [ "disk" ]; - SystemCallFilter = [ - "@system-service" - "~@privileged @resources" - ]; + SystemCallFilter = [ "@system-service" "~@privileged" ]; }; }; } From 9b8fd74d68fca9eace442379fc74b80bbab894c1 Mon Sep 17 00:00:00 2001 From: MidAutumnMoon Date: Tue, 25 Oct 2022 16:47:46 +0800 Subject: [PATCH 23/29] nixos/nats: set proper SystemCallFilter --- nixos/modules/services/networking/nats.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/nats.nix b/nixos/modules/services/networking/nats.nix index dd732d2a9fca..6c21e21b5cb8 100644 --- a/nixos/modules/services/networking/nats.nix +++ b/nixos/modules/services/networking/nats.nix @@ -137,7 +137,7 @@ in { RestrictNamespaces = true; RestrictRealtime = true; RestrictSUIDSGID = true; - SystemCallFilter = [ "@system-service" "~@privileged" "~@resources" ]; + SystemCallFilter = [ "@system-service" "~@privileged" ]; UMask = "0077"; } ]; From 6724d2221a98815eda9cdc4142ccec144be64b92 Mon Sep 17 00:00:00 2001 From: MidAutumnMoon Date: Tue, 25 Oct 2022 16:48:01 +0800 Subject: [PATCH 24/29] nixos/shiori: set proper SystemCallFilter --- nixos/modules/services/web-apps/shiori.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/web-apps/shiori.nix b/nixos/modules/services/web-apps/shiori.nix index 7bd0a4d2b9b5..f0505e052e1c 100644 --- a/nixos/modules/services/web-apps/shiori.nix +++ b/nixos/modules/services/web-apps/shiori.nix @@ -86,7 +86,7 @@ in { SystemCallErrorNumber = "EPERM"; SystemCallFilter = [ "@system-service" - "~@cpu-emulation" "~@debug" "~@keyring" "~@memlock" "~@obsolete" "~@privileged" "~@resources" "~@setuid" + "~@cpu-emulation" "~@debug" "~@keyring" "~@memlock" "~@obsolete" "~@privileged" "~@setuid" ]; }; }; From 73d23f29678559c0f19f46d9c5358266475c3132 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 24 Oct 2022 17:02:26 +0000 Subject: [PATCH 25/29] ginkgo: 2.3.1 -> 2.4.0 --- pkgs/development/tools/ginkgo/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/ginkgo/default.nix b/pkgs/development/tools/ginkgo/default.nix index 7c3e71cdda18..fefb7289bfe7 100644 --- a/pkgs/development/tools/ginkgo/default.nix +++ b/pkgs/development/tools/ginkgo/default.nix @@ -2,15 +2,15 @@ buildGoModule rec { pname = "ginkgo"; - version = "2.3.1"; + version = "2.4.0"; src = fetchFromGitHub { owner = "onsi"; repo = "ginkgo"; rev = "v${version}"; - sha256 = "sha256-sBO0rJFRG38qAh1svChkbyCv8eJ9KjVPJHgOhxUMuH0="; + sha256 = "sha256-nGeUCxS0SRYjaqG1Fay8U8nvcmSuPgmbd5I/ivjOJyA="; }; - vendorSha256 = "sha256-yPzuhM0m+ltkz2z7D+DcFVjZ3OvGkJqQdc6iFidcty8="; + vendorSha256 = "sha256-03785NZUvjLKyAX+Vsbf9W2xpaYtrIy5jFM9j3sU26Y="; # integration tests expect more file changes # types tests are missing CodeLocation From 4deb94160637058c0f629d5057db988033b76c06 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 25 Oct 2022 11:04:19 +0000 Subject: [PATCH 26/29] aliyun-cli: 3.0.132 -> 3.0.133 --- pkgs/tools/admin/aliyun-cli/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/admin/aliyun-cli/default.nix b/pkgs/tools/admin/aliyun-cli/default.nix index 6927eb3fc31a..2527a8288761 100644 --- a/pkgs/tools/admin/aliyun-cli/default.nix +++ b/pkgs/tools/admin/aliyun-cli/default.nix @@ -2,14 +2,14 @@ buildGoModule rec { pname = "aliyun-cli"; - version = "3.0.132"; + version = "3.0.133"; src = fetchFromGitHub { rev = "v${version}"; owner = "aliyun"; repo = pname; fetchSubmodules = true; - sha256 = "sha256-X+M81xVJIRPTgDPtd+vKFAgx34D+UMcyS3Mz5PNE3pU="; + sha256 = "sha256-cYR/AQJSSXXVH2PBPrc9bBGVU4M59yttj2ykoCsuZcU="; }; vendorSha256 = "sha256-rUYlFM9OlPXGzxXyOxweUs6md7HhjocC56F+OtT/IXo="; From 740684843578f5cdb73bce68a5cc55b726c583ff Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 25 Oct 2022 04:40:06 +0000 Subject: [PATCH 27/29] rust-analyzer-unwrapped: 2022-10-17 -> 2022-10-24 --- pkgs/development/tools/rust/rust-analyzer/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/rust/rust-analyzer/default.nix b/pkgs/development/tools/rust/rust-analyzer/default.nix index 5379d8829d96..5f7348928c06 100644 --- a/pkgs/development/tools/rust/rust-analyzer/default.nix +++ b/pkgs/development/tools/rust/rust-analyzer/default.nix @@ -12,14 +12,14 @@ rustPlatform.buildRustPackage rec { pname = "rust-analyzer-unwrapped"; - version = "2022-10-17"; - cargoSha256 = "sha256-budFHrSZTxGC3a35OlRKtZuJnCWWTwsqqWLpgjSp5Ss="; + version = "2022-10-24"; + cargoSha256 = "sha256-IkYoFcaPtgiCxdmR+nb0kXSYUuAwAR0UmEmDVomIBhs="; src = fetchFromGitHub { owner = "rust-lang"; repo = "rust-analyzer"; rev = version; - sha256 = "sha256-vd+UsJSg+Y/iBRJvvvFsunxwXc0jz4JyJLQPChfgfRA="; + sha256 = "sha256-rKESGm1up385ecSGp5txbvOkxRRS8SX88oWI8UubOkA="; }; cargoBuildFlags = [ "--bin" "rust-analyzer" "--bin" "rust-analyzer-proc-macro-srv" ]; From e0dbcf32483479314f8620fd216bd2c3ff65bc00 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 22 Oct 2022 02:23:46 +0000 Subject: [PATCH 28/29] skaffold: 1.39.2 -> 2.0.0 --- pkgs/development/tools/skaffold/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/skaffold/default.nix b/pkgs/development/tools/skaffold/default.nix index ee73f27c16de..19e73caa205a 100644 --- a/pkgs/development/tools/skaffold/default.nix +++ b/pkgs/development/tools/skaffold/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "skaffold"; - version = "1.39.2"; + version = "2.0.0"; src = fetchFromGitHub { owner = "GoogleContainerTools"; repo = "skaffold"; rev = "v${version}"; - sha256 = "sha256-dDN/nlJiuh35VdAcMYsLLN++VjGzxdYZWAXbtAf09Fs="; + sha256 = "sha256-/EqEr7X/bsX4y2yXFxJYH/ujGU4br7qg6bCNx2FTva8="; }; - vendorSha256 = "sha256-RA2KgUjYB3y6sOQdnLSZjr52VosZSaRrVU0BXZvjB1M="; + vendorSha256 = "sha256-TbHqnj/H5WCBnsk5zbMXPMaWpm5eRmaWWoxJH8YqOts="; subPackages = ["cmd/skaffold"]; From 08c31feff777611d10ace152c466cf7e0d668664 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 25 Oct 2022 00:48:27 +0000 Subject: [PATCH 29/29] netbird: 0.10.1 -> 0.10.2 --- pkgs/tools/networking/netbird/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/networking/netbird/default.nix b/pkgs/tools/networking/netbird/default.nix index d01bf22f9bae..1e4c8d88491f 100644 --- a/pkgs/tools/networking/netbird/default.nix +++ b/pkgs/tools/networking/netbird/default.nix @@ -14,16 +14,16 @@ let in buildGoModule rec { pname = "netbird"; - version = "0.10.1"; + version = "0.10.2"; src = fetchFromGitHub { owner = "netbirdio"; repo = pname; rev = "v${version}"; - sha256 = "sha256-ZP8MYvGotBVvuLZHFJgTz1SGAZLwuZwk9ohNtfcCSgs="; + sha256 = "sha256-gnPplWCP3Dky+CzWumeGC/XAHhHWFt/h4WiFoCLzHMU="; }; - vendorSha256 = "sha256-+jJUKp2EvtDxGsv+9B+s7FiIopvO8yH9jldeRZkrd20="; + vendorSha256 = "sha256-3gpA0EGdcVeUCU7iozpjQJM/iid34PRm3gpxUiwzDEk="; nativeBuildInputs = [ installShellFiles ] ++ lib.optional ui pkg-config;