diff options
author | K900 <me@0upti.me> | 2023-08-06 20:03:37 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-06 20:03:37 +0300 |
commit | 4a2735bb3d7fa594012b9d92d8223ca5f8f8148a (patch) | |
tree | a6a5a12548ab8ca3d7aefa37e7343e61c284c076 /nixos | |
parent | 156a49aa49d0e454b2f71078a26669e26ec44fa1 (diff) | |
parent | 77fb83341106dbdc4473fc5fb97ef25a3e7e2b24 (diff) |
Merge pull request #241481 from Mayeu/update/kubo
kubo: 0.20.0 -> 0.21.0
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/network-filesystems/kubo.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nixos/modules/services/network-filesystems/kubo.nix b/nixos/modules/services/network-filesystems/kubo.nix index a5c370b5be895..5a355f3441d8a 100644 --- a/nixos/modules/services/network-filesystems/kubo.nix +++ b/nixos/modules/services/network-filesystems/kubo.nix @@ -278,6 +278,12 @@ in You can't set services.kubo.settings.Pinning.RemoteServices because the ``config replace`` subcommand used at startup does not work with it. ''; } + { + assertion = !((lib.versionAtLeast cfg.package.version "0.21") && (builtins.hasAttr "Experimental" cfg.settings) && (builtins.hasAttr "AcceleratedDHTClient" cfg.settings.Experimental)); + message = '' + The `services.kubo.settings.Experimental.AcceleratedDHTClient` option was renamed to `services.kubo.settings.Routing.AcceleratedDHTClient` in Kubo 0.21. + ''; + } ]; environment.systemPackages = [ cfg.package ]; |