Add directory
parent
ebcb56ab69
commit
ec156ae74e
|
@ -74,6 +74,9 @@
|
||||||
(if (< (length args) 1)
|
(if (< (length args) 1)
|
||||||
(error "Usage: script.scm <directory>"))
|
(error "Usage: script.scm <directory>"))
|
||||||
(let ((directory (car args)))
|
(let ((directory (car args)))
|
||||||
|
|
||||||
|
(mkdir-p directory)
|
||||||
|
|
||||||
(run-and-display-command (string-append "guix shell --container --network --pure --no-cwd --emulate-fhs --share=" directory "=/actual-server --user=build actual-server-installer -- bash -c 'guile $GUIX_ENVIRONMENT/lib/actual-server-installer/build.scm'"))
|
(run-and-display-command (string-append "guix shell --container --network --pure --no-cwd --emulate-fhs --share=" directory "=/actual-server --user=build actual-server-installer -- bash -c 'guile $GUIX_ENVIRONMENT/lib/actual-server-installer/build.scm'"))
|
||||||
|
|
||||||
(run-and-display-command (string-append "cd " directory))
|
(run-and-display-command (string-append "cd " directory))
|
||||||
|
|
Loading…
Reference in New Issue