Megatest

serialize-env.scm at [07ba2ed8da]
Login

File serialize-env.scm artifact e0a42785e8 part of check-in 07ba2ed8da


(use z3)
(use 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))