lol

Merge branch 'master' into staging-next

+78 -33
+1 -1
nixos/modules/services/matrix/synapse.xml
··· 30 30 synapse server for the <literal>example.org</literal> domain, served from 31 31 the host <literal>myhostname.example.org</literal>. For more information, 32 32 please refer to the 33 - <link xlink:href="https://github.com/matrix-org/synapse#synapse-installation"> 33 + <link xlink:href="https://matrix-org.github.io/synapse/latest/setup/installation.html"> 34 34 installation instructions of Synapse </link>. 35 35 <programlisting> 36 36 { pkgs, lib, config, ... }:
+11 -1
nixos/modules/services/misc/nix-daemon.nix
··· 227 227 The hostname of the build machine. 228 228 ''; 229 229 }; 230 + protocol = mkOption { 231 + type = types.enum [ "ssh" "ssh-ng" ]; 232 + default = "ssh"; 233 + example = "ssh-ng"; 234 + description = lib.mdDoc '' 235 + The protocol used for communicating with the build machine. 236 + Use `ssh-ng` if your remote builder and your 237 + local Nix version support that improved protocol. 238 + ''; 239 + }; 230 240 system = mkOption { 231 241 type = types.nullOr types.str; 232 242 default = null; ··· 670 680 concatMapStrings 671 681 (machine: 672 682 (concatStringsSep " " ([ 673 - "${optionalString (machine.sshUser != null) "${machine.sshUser}@"}${machine.hostName}" 683 + "${machine.protocol}://${optionalString (machine.sshUser != null) "${machine.sshUser}@"}${machine.hostName}" 674 684 (if machine.system != null then machine.system else if machine.systems != [ ] then concatStringsSep "," machine.systems else "-") 675 685 (if machine.sshKey != null then machine.sshKey else "-") 676 686 (toString machine.maxJobs)
+9
nixos/tests/libvirtd.nix
··· 12 12 13 13 libvirtd.enable = true; 14 14 }; 15 + boot.supportedFilesystems = [ "zfs" ]; 16 + networking.hostId = "deadbeef"; # needed for zfs 15 17 networking.nameservers = [ "192.168.122.1" ]; 16 18 security.polkit.enable = true; 17 19 environment.systemPackages = with pkgs; [ virt-manager ]; ··· 36 38 virthost.succeed("virsh pool-create-as foo disk --source-dev /dev/loop0 --target /dev") 37 39 virthost.succeed("virsh vol-create-as foo loop0p1 25MB") 38 40 virthost.succeed("virsh vol-create-as foo loop0p2 50MB") 41 + 42 + with subtest("check if virsh zfs pools work"): 43 + virthost.succeed("fallocate -l100m /tmp/zfs; losetup /dev/loop1 /tmp/zfs;") 44 + virthost.succeed("zpool create zfs_loop /dev/loop1") 45 + virthost.succeed("virsh pool-define-as --name zfs_storagepool --source-name zfs_loop --type zfs") 46 + virthost.succeed("virsh pool-start zfs_storagepool") 47 + virthost.succeed("virsh vol-create-as zfs_storagepool disk1 25MB") 39 48 40 49 with subtest("check if nixos install iso boots and network works"): 41 50 virthost.succeed(
+5 -5
pkgs/applications/networking/instant-messengers/element/pin.json
··· 1 1 { 2 - "version": "1.11.4", 3 - "desktopSrcHash": "lIyx1gpPkuOGzHTbkHKNiGsVKEkKUIz/8sj/KZ9XK9o=", 4 - "desktopYarnHash": "0m0zzq2wbk7h7anjmj586089j2qgsd5cj99rmi2hmsmssq63fmwk", 5 - "webSrcHash": "bZ5SKydrQE+qLQEZ5qS7F1RC33nHZneUd8OwrV1H2T4=", 6 - "webYarnHash": "1yji94xcigz54bbhvssj2pgncw9fgal7mzw9h9bfwmny0pjh8c4p" 2 + "version": "1.11.5", 3 + "desktopSrcHash": "JbkB+J2KgHcT8rYv8ovC1r325U5NIHo8Wkh0BogLB+w=", 4 + "desktopYarnHash": "1bfpd4a0xrlhm7zq2xz5f184mfp6w4glgyfm4r0y3bi06i4my8vc", 5 + "webSrcHash": "XOFgJGnQ85bvkqnwke5Hww658bpBXkUspk46cqvf5AY=", 6 + "webYarnHash": "0ab49y2xj8cy4ibcckvd6xhhvkv3fa8kwwlmhxvas2racx51wfnh" 7 7 }
-6
pkgs/development/libraries/cglm/default.nix
··· 17 17 18 18 nativeBuildInputs = [ cmake ]; 19 19 20 - # FIXME: these parts probably need some cleanup. 21 - # https://github.com/recp/cglm/issues/249 22 20 postPatch = '' 23 21 substituteInPlace CMakeLists.txt \ 24 22 --replace '\$'{prefix}/'$'{CMAKE_INSTALL_LIBDIR} '$'{CMAKE_INSTALL_FULL_LIBDIR} \ 25 23 --replace '\$'{prefix}/'$'{CMAKE_INSTALL_INCLUDEDIR} '$'{CMAKE_INSTALL_FULL_INCLUDEDIR} 26 24 ''; 27 - cmakeFlags = [ 28 - "-DCMAKE_INSTALL_INCLUDEDIR=include" 29 - "-DCMAKE_INSTALL_LIBDIR=lib" 30 - ]; 31 25 32 26 meta = with lib; { 33 27 homepage = "https://github.com/recp/cglm";
+27
pkgs/development/libraries/libvirt/0002-substitute-zfs-and-zpool-commands.patch
··· 1 + From dc5e3df2fd29a547ef0f9545e190a0ce3a73c95c Mon Sep 17 00:00:00 2001 2 + From: Tako Marks <me@github.tako.mx> 3 + Date: Tue, 6 Sep 2022 20:19:26 +0200 4 + Subject: [PATCH] substitute zfs and zpool commands 5 + 6 + --- 7 + src/storage/storage_backend_zfs.c | 4 ++-- 8 + 1 file changed, 2 insertions(+), 2 deletions(-) 9 + 10 + diff --git a/src/storage/storage_backend_zfs.c b/src/storage/storage_backend_zfs.c 11 + index 2a5d74357d..460b3025c4 100644 12 + --- a/src/storage/storage_backend_zfs.c 13 + +++ b/src/storage/storage_backend_zfs.c 14 + @@ -33,8 +33,8 @@ 15 + 16 + VIR_LOG_INIT("storage.storage_backend_zfs"); 17 + 18 + -#define ZFS "zfs" 19 + -#define ZPOOL "zpool" 20 + +#define ZFS "@zfs@" 21 + +#define ZPOOL "@zpool@" 22 + 23 + /* 24 + * Some common flags of zfs and zpool commands we use: 25 + -- 26 + 2.36.2 27 +
+6
pkgs/development/libraries/libvirt/default.nix
··· 33 33 , readline 34 34 , rpcsvc-proto 35 35 , stdenv 36 + , substituteAll 36 37 , xhtml1 37 38 , yajl 38 39 , writeScript ··· 126 127 127 128 patches = [ 128 129 ./0001-meson-patch-in-an-install-prefix-for-building-on-nix.patch 130 + (substituteAll { 131 + src = ./0002-substitute-zfs-and-zpool-commands.patch; 132 + zfs = "${zfs}/bin/zfs"; 133 + zpool = "${zfs}/bin/zpool"; 134 + }) 129 135 ]; 130 136 131 137 # remove some broken tests
+2 -2
pkgs/development/python-modules/aioecowitt/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "aioecowitt"; 13 - version = "2022.08.3"; 13 + version = "2022.09.2"; 14 14 format = "setuptools"; 15 15 16 16 disabled = pythonOlder "3.9"; ··· 19 19 owner = "home-assistant-libs"; 20 20 repo = pname; 21 21 rev = "refs/tags/${version}"; 22 - hash = "sha256-rJcSw0umUVj7kPzc8tUidEWV91wkK19rFJY+Gi/NyH0="; 22 + hash = "sha256-U9Qg0kOeqLihw5YAZSy7zk39NKj48nOiwqIlHqffZi0="; 23 23 }; 24 24 25 25 propagatedBuildInputs = [
+2 -2
pkgs/development/tools/analysis/actionlint/default.nix
··· 10 10 11 11 buildGoModule rec { 12 12 pname = "actionlint"; 13 - version = "1.6.17"; 13 + version = "1.6.18"; 14 14 15 15 subPackages = [ "cmd/actionlint" ]; 16 16 ··· 18 18 owner = "rhysd"; 19 19 repo = "actionlint"; 20 20 rev = "v${version}"; 21 - sha256 = "sha256-Nt8t+tI4FjNLEo2zEkC7NNVH/hBsxXZmSUqr4KIh1wo="; 21 + sha256 = "sha256-tRR7Pjxo4UdKklTMFDRW6Xi81IhH+NV3BbgWpgFd1zY="; 22 22 }; 23 23 24 24 vendorSha256 = "sha256-icl6z41Y5H47U3EgFHL9/xJrfdk43ZfAPbWkKM73sa0=";
+3 -3
pkgs/development/tools/dprint/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "dprint"; 5 - version = "0.31.1"; 5 + version = "0.32.1"; 6 6 7 7 src = fetchCrate { 8 8 inherit pname version; 9 - sha256 = "sha256-NgUc3QrH7y72DS01ypfnifHzQeFCogPa+8+Kzv4i4xE="; 9 + sha256 = "sha256-CZSGE9HsxBX7vqLLPTLWFi/NGHa1FXA6YWqFHvzVeAQ="; 10 10 }; 11 11 12 - cargoSha256 = "sha256-0BIkO9sMQbQTONSsNgR5UFPIkA0mzADqHxlEhHlIG0Y="; 12 + cargoSha256 = "sha256-vYiCSU02mHUKKe0tyB+byhNZhZ+d8yhQf8IKI5r/qYU="; 13 13 14 14 buildInputs = lib.optionals stdenv.isDarwin [ Security ]; 15 15
+2 -2
pkgs/development/tools/misc/devspace/default.nix
··· 6 6 7 7 buildGoModule rec { 8 8 pname = "devspace"; 9 - version = "6.1.0"; 9 + version = "6.1.1"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "loft-sh"; 13 13 repo = "devspace"; 14 14 rev = "v${version}"; 15 - sha256 = "sha256-pbI49oklxTu02YNIA1uxcDqWwGf3LaKipErDHCVxRRc="; 15 + sha256 = "sha256-2LSRmTWbG7sxV5e6N44HAPdqIL/O2UxcnuHXmbTooWs="; 16 16 }; 17 17 18 18 vendorSha256 = null;
-1
pkgs/servers/monitoring/prometheus/xmpp-alerts.nix
··· 2 2 , fetchFromGitHub 3 3 , python3Packages 4 4 , prometheus-alertmanager 5 - , unittestCheckHook 6 5 }: 7 6 8 7 python3Packages.buildPythonApplication rec {
+2 -2
pkgs/servers/pocketbase/default.nix
··· 5 5 6 6 buildGoModule rec { 7 7 pname = "pocketbase"; 8 - version = "0.7.2"; 8 + version = "0.7.3"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "pocketbase"; 12 12 repo = pname; 13 13 rev = "v${version}"; 14 - sha256 = "sha256-T7gK3UycEUVKKNklLzcH1ST0x4KzqOUGz8zJCimNcjY="; 14 + sha256 = "sha256-SWVmcNL/Ye7eLVXIi6wDYabACYLaEaYYH68M6L9JCQI="; 15 15 }; 16 16 17 17 vendorSha256 = "sha256-Ty06TegTT4BILgH0MpnxINxBQMW0zi0ItptHmDqKW1k=";
+2 -2
pkgs/tools/backup/discordchatexporter-cli/default.nix
··· 8 8 9 9 buildDotnetModule rec { 10 10 pname = "discordchatexporter-cli"; 11 - version = "2.35.2"; 11 + version = "2.36"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "tyrrrz"; 15 15 repo = "discordchatexporter"; 16 16 rev = version; 17 - sha256 = "OMJp5HL/fN5NGEgozaQefE503HwYnsGgTY4d4s15ANE="; 17 + sha256 = "0PHTW1fo+bp2OwyNeUfBXMn+aVWQc4mc+T6BEzG/gDA="; 18 18 }; 19 19 20 20 projectFile = "DiscordChatExporter.Cli/DiscordChatExporter.Cli.csproj";
+2 -2
pkgs/tools/backup/discordchatexporter-cli/deps.nix
··· 7 7 (fetchNuGet { pname = "DotnetRuntimeBootstrapper"; version = "2.3.1"; sha256 = "0zsicyizachdam64mjm1brh5a3nzf7j8nalyhwnw26wk3v3rgmc9"; }) 8 8 (fetchNuGet { pname = "Gress"; version = "2.0.1"; sha256 = "00xhyfkrlc38nbl6aymr7zwxc3kj0rxvx5gwk6fkfrvi1pzgq0wc"; }) 9 9 (fetchNuGet { pname = "JsonExtensions"; version = "1.2.0"; sha256 = "0g54hibabbqqfhxjlnxwv1rxagpali5agvnpymp2w3dk8h6q66xy"; }) 10 - (fetchNuGet { pname = "MiniRazor.CodeGen"; version = "2.2.1"; sha256 = "1mrjw3vq59pbiqvayilazjgv6l87j20j8hmhcpbacz9p5bl1hvvr"; }) 11 - (fetchNuGet { pname = "MiniRazor.Runtime"; version = "2.2.1"; sha256 = "18qx0rzp4xz4ng9yc0c2bcpa4ky6sfiz10828y4j9ymywas7yzxw"; }) 10 + (fetchNuGet { pname = "MiniRazor.CodeGen"; version = "2.2.2"; sha256 = "11mxv1p7ahjzpf3sgacfx6szv1xwwk33vpz1r6wb2nch5dx93vdx"; }) 11 + (fetchNuGet { pname = "MiniRazor.Runtime"; version = "2.2.2"; sha256 = "1bjnqx06gzc13kpbhyndzfrvwgmxi7j0nbaxm7cmb1g7zq06vzrb"; }) 12 12 (fetchNuGet { pname = "Polly"; version = "7.2.3"; sha256 = "1iws4jd5iqj5nlfp16fg9p5vfqqas1si0cgh8xcj64y433a933cv"; }) 13 13 (fetchNuGet { pname = "Spectre.Console"; version = "0.44.0"; sha256 = "0f4q52rmib0q3vg7ij6z73mnymyas7c7wrm8dfdhrkdzn53zwl6p"; }) 14 14 (fetchNuGet { pname = "Superpower"; version = "3.0.0"; sha256 = "0p6riay4732j1fahc081dzgs9q4z3n2fpxrin4zfpj6q2226dhz4"; })
+2 -2
pkgs/tools/misc/instaloader/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "instaloader"; 11 - version = "4.9.3"; 11 + version = "4.9.4"; 12 12 format = "pyproject"; 13 13 14 14 disabled = pythonOlder "3.6"; ··· 17 17 owner = "instaloader"; 18 18 repo = "instaloader"; 19 19 rev = "refs/tags/v${version}"; 20 - sha256 = "sha256-lxfnVqAFlMNjtuqtq2iJ2QwPrWskxNCRIAWEwVGr33s="; 20 + sha256 = "sha256-R26+ZvbUs4b5X1+wn6V7K7JqJsP31x7x5HVh+aPi8VU="; 21 21 }; 22 22 23 23 propagatedBuildInputs = [
+2 -2
pkgs/tools/security/otpauth/default.nix
··· 5 5 6 6 buildGoModule rec { 7 7 pname = "otpauth"; 8 - version = "0.4.3"; 8 + version = "0.5.0"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "dim13"; 12 12 repo = "otpauth"; 13 13 rev = "v${version}"; 14 - sha256 = "sha256-x5/OVUxuNjK05D8n1l5F6qT/wmrBYnOSEoSL0c0fsqc="; 14 + sha256 = "sha256-toFBkUssU10ejoZzWnrm5o2P0p5Oq8kKP4vb2ASDC0s="; 15 15 }; 16 16 17 17 vendorSha256 = "sha256-jnIq7Zc2MauJReJ9a8TeqXXsvHixsBB+znmXAxcpqUQ=";