# Pastebin yYeG7eRw ❯ cat /gnu/store/pwlmzfchwq2xrsqy2i0rbad2j5nnvgdd-kresd.conf.drv Derive([("out","/gnu/store/iaykrw8y0a3yn35kqmyq2a1mnhxkwn9q-kresd.conf","","")],[("/gnu/store/9qjyiwqaynnja9266ji4am92di7pj128-guile-3.0.9.drv",["out"]),("/gnu/store/qxqhrk0aszaxz8v9jn8sw8kkjf0xnc6l-module-import-compiled.drv",["out"])],["/gnu/store/1acx09i4688f7rr4b3rjdrk0w3dvfyhz-kresd.conf.tmpl","/gnu/store/byqw9b5wklkmrxw9qa0q9r3irlgz1q0v-kresd.conf-builder","/gnu/store/p6gxy9npc96mh5zjgsrgq6l9jh11lncs-module-import"],"x86_64-linux","/gnu/store/nbn6j7qbxk2mh22bszvpy2ypgazmj12q-guile-3.0.9/bin/guile",["--no-auto-compile","-L","/gnu/store/p6gxy9npc96mh5zjgsrgq6l9jh11lncs-module-import","-C","/gnu/store/mqjv9a19gqvs0c4267rqnwb9iwanv372-module-import-compiled","/gnu/store/byqw9b5wklkmrxw9qa0q9r3irlgz1q0v-kresd.conf-builder"],[("LC_CTYPE","C.UTF-8"),("out","/gnu/store/iaykrw8y0a3yn35kqmyq2a1mnhxkwn9q-kresd.conf"),("preferLocalBuild","1")])% ❯ cat /gnu/store/byqw9b5wklkmrxw9qa0q9r3irlgz1q0v-kresd.conf-builder (begin (use-modules (ice-9 string-fun) (ice-9 textual-ports)) (let ((tmpl "/gnu/store/1acx09i4688f7rr4b3rjdrk0w3dvfyhz-kresd.conf.tmpl")) (call-with-output-file ((@ (guile) getenv) "out") (lambda (out) (call-with-input-file tmpl (lambda (in) (display (string-replace-substring (get-string-all in) "%%hostname%%" "sofia") out)))))))