From ce207e47636eb4de8bf7474537912c45ec20b071 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Mon, 19 Jun 2023 21:37:06 +0100 Subject: [PATCH] chronyd: disable editline it drags in ncurses, which is Too Much --- overlay.nix | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/overlay.nix b/overlay.nix index 482bf901..9fc43257 100644 --- a/overlay.nix +++ b/overlay.nix @@ -55,11 +55,21 @@ extraPkgs // { ]; }); - chrony = prev.chrony.override { - gnutls = null; - nss = null; - nspr = null; - }; + chrony = + let chrony' = prev.chrony.overrideAttrs(o: { + configureFlags = [ + "--chronyvardir=$(out)/var/lib/chrony" + "--disable-readline" + "--disable-editline" + ]; + }); + in chrony'.override { + gnutls = null; + nss = null; + nspr = null; + readline = null; + libseccomp = null; + }; ntp = let