From cde30bcd54bff4651f12cd515bd846a35c5f93e5 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Tue, 3 Dec 2024 21:39:54 +0000 Subject: [PATCH] in nixos 24.11 chrony no longer expects nss/nspr/readline --- overlay.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/overlay.nix b/overlay.nix index ae25a2a7..0f84ca58 100644 --- a/overlay.nix +++ b/overlay.nix @@ -5,7 +5,7 @@ let extraPkgs = import ./pkgs/default.nix { inherit (final) lib callPackage; }; - inherit (final) fetchpatch; + inherit (final) fetchpatch lib; luaHost = let l = prev.lua5_3.overrideAttrs(o: { @@ -73,14 +73,15 @@ extraPkgs // { }); in chrony'.override { gnutls = null; - nss = null; - nspr = null; - readline = null; libedit = null; libseccomp = null; # should texinfo be in nativeBuildInputs instead of # buildInputs? texinfo = null; + } // lib.optionalAttrs (lib.versionOlder lib.version "24.10") { + nss = null; + nspr = null; + readline = null; }; # clevis without luks/tpm