Hi, > If the vhost’s root directory is immutable, you can of course add it to > the store via ‘computed-file’ or similar, and then write: > > (nginx-vhost-configuration > (root #$(computed-file "root" …))) Related question: I've but the content of some example website into a package. How can I use that package's directory as "root"? I tried these, but none worked:
(root (package-file demo-website)) (root #$(file-append demo-website "/")) (root (assoc-ref demo-website "out")) (root #$demo-website) -- Regards Hartmut Goebel | Hartmut Goebel | h.goe...@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |