diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-04-11 19:17:34 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-04-11 19:17:34 +0200 |
commit | 0ad4ffb0c9d7a5b81a728ea9b3b3efa0699befa7 (patch) | |
tree | e414db90bc70f62cd31ec8582cd0975d1cfec2ed /module/calp/config-base.scm | |
parent | Rewrote script get-config. (diff) | |
download | calp-0ad4ffb0c9d7a5b81a728ea9b3b3efa0699befa7.tar.gz calp-0ad4ffb0c9d7a5b81a728ea9b3b3efa0699befa7.tar.xz |
Remove config sandbox.
Old sandbox approach always felt like bit of a hack.
Diffstat (limited to 'module/calp/config-base.scm')
-rw-r--r-- | module/calp/config-base.scm | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/module/calp/config-base.scm b/module/calp/config-base.scm new file mode 100644 index 00000000..cdd810de --- /dev/null +++ b/module/calp/config-base.scm @@ -0,0 +1,16 @@ +;;; Commentary: +;; Module intended to be included by user config, which exports some base +;; bindings basically everyone should want. +;;; Code: + +(define-module (calp config-base)) + +(define cm (module-public-interface (current-module))) +(for-each (lambda (name) (module-use! cm (resolve-interface name))) + `((ice-9 regex) + (srfi srfi-1) + (srfi srfi-88) + (datetime) + (vcomponent) + (glob) + )) |