added and tested the template

On my tuxedo laptop with a hosted guix on an Ubuntu derivative the
configure script found the host guile version which lead to loading
incompatible bytecode of the guix provided libraries. Updated the
README.
This commit is contained in:
Peter Tillemans 2024-05-18 00:06:36 +02:00
parent 23b75d36fd
commit b7adfd4846
3 changed files with 10 additions and 8 deletions

2
.envrc
View file

@ -1,2 +0,0 @@
use guix

View file

@ -27,6 +27,16 @@ make -j$(nproc)
After the build system is initialized, only `make` needs to be run to After the build system is initialized, only `make` needs to be run to
recompile the Scheme modules. recompile the Scheme modules.
Note: On hosted guix the configure script might find the host guile version
instead of the guix provided one. This can lead to incompatible bytecode errors.
To force to use a consistent guile use
```
./configure GUILE=$(which guile)
```
to ensure the right version is configured.
## Running the game ## Running the game
To run the game from the source checkout, use the `pre-inst-env` wrapper script: To run the game from the source checkout, use the `pre-inst-env` wrapper script:

View file

@ -1,6 +0,0 @@
;; What follows is a "manifest" equivalent to the command line you gave.
;; You can store it in a file that you may then pass to any 'guix' command
;; that accepts a '--manifest' (or '-m') option.
(specifications->manifest
(list "guile-chickadee"))