File serialize-env.scm artifact 53598630e3 part of check-in c1881425cb
(import z3) (import chicken.port chicken.process-context chicken.pretty-print base64) (let* ((env-str (with-output-to-string (lambda () (pp (get-environment-variables))))) (zipped-env-str (z3:encode-buffer env-str)) (b64-env-str (base64-encode zipped-env-str))) (print b64-env-str))