commit 703231a4a38b3c51bb6ec618a9ea8f3b3c33ec50 parent 9d71a4a1e0316de99692d99799d7a7b366ae36c0 Author: Yuval Langer <yuval.langer@gmail.com> Date: Sun, 29 Oct 2023 16:33:55 +0200 Add Guix running directions. It is not very good. Diffstat:
M | README.org | | | 19 | +++++++++++++++++++ |
M | chicken-guix | | | 4 | +++- |
2 files changed, 22 insertions(+), 1 deletion(-)
diff --git a/README.org b/README.org @@ -1,3 +1,22 @@ +* Installing on Guix: + +Run: + +#+begin_src shell + git clone https://codeberg.org/yuvallangerontheroad/spook + mkdir -p ~/chicken-guix/home/ + mv spook ~/chicken-guix/home/ + cd ~/chicken-guix/home/spook/ + ./chicken-guix + chicken-install spock + cd spook + make all + cd pages + python3 -m http.server +#+end_src + +Now open a browser and load http://localhost:8000/. + * Installing Chicken Spock on Termux: #+begin_src shell diff --git a/chicken-guix b/chicken-guix @@ -1,5 +1,7 @@ #!/bin/sh +mkdir -p "$HOME/chicken-guix/home" + env CHICKEN_INCLUDE_PATH="$HOME/chicken" \ CHICKEN_INSTALL_PREFIX="$HOME/chicken" \ CHICKEN_INSTALL_REPOSITORY="$HOME/chicken" \ @@ -8,7 +10,7 @@ env CHICKEN_INCLUDE_PATH="$HOME/chicken" \ guix shell \ --container \ --emulate-fhs \ - --manifest="$HOME/chicken-guix/manifest.scm" \ + --manifest="$HOME/chicken-guix/home/spook/manifest.scm" \ --network \ --no-cwd \ --preserve="(^CHICKEN_|^TERM$|^PATH$)" \