Add generation of load.scm
This commit is contained in:
parent
7668a290dc
commit
bf44e9d93d
|
@ -2,8 +2,16 @@
|
||||||
(install-directory-contents "scheme" 'scheme)
|
(install-directory-contents "scheme" 'scheme)
|
||||||
(install-directory "web-server" 'misc-shared)
|
(install-directory "web-server" 'misc-shared)
|
||||||
(install-directory-contents "doc" 'doc)
|
(install-directory-contents "doc" 'doc)
|
||||||
|
|
||||||
(let ((doc-dir (get-directory 'doc #t))
|
(let ((doc-dir (get-directory 'doc #t))
|
||||||
(misc-shared-dir (get-directory 'misc-shared #t)))
|
(misc-shared-dir (get-directory 'misc-shared #t)))
|
||||||
(create-symlink (string-append doc-dir "/html")
|
(create-symlink (string-append doc-dir "/html")
|
||||||
(string-append misc-shared-dir "/web-server/root/htdocs/sunet-manual")))
|
(string-append misc-shared-dir "/web-server/root/htdocs/sunet-manual")))
|
||||||
|
|
||||||
|
(let ((scheme-dir (get-directory 'scheme #t)))
|
||||||
|
(write-to-load-script
|
||||||
|
`((user)
|
||||||
|
(config)
|
||||||
|
(load ,(string-append scheme-dir "/packages.scm"))
|
||||||
|
(user))))
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue