From 7bbf2470bbdc46089dec1eb4c2328d0c87ba594f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Mon, 3 Aug 2020 12:39:30 +0200 Subject: Resolve (datetime instance) TODO with ./configure? Tried adding a ./configure script, which mostly is responsible for downloading a default zoneinfo file, and setting up the environment for the program. I have for quite a while thought about having a configure system for things like these, but also for setting up default paths. Let's see if it works out. --- module/util/config.scm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'module/util') diff --git a/module/util/config.scm b/module/util/config.scm index 0b6677fa..f324ff63 100644 --- a/module/util/config.scm +++ b/module/util/config.scm @@ -88,6 +88,9 @@ (cond [(not value) (set-value! conf #f) ((config-attribute conf #:post identity) #f)] + [(unconfig? conf) + (hashq-set! config-values key + (make-unconfig value))] [((config-attribute conf #:pre identity) value) => (lambda (it) -- cgit v1.2.3