From b7adfd4846c0d8b98c00967c605a2f66ea7c13d3 Mon Sep 17 00:00:00 2001 From: Peter Tillemans Date: Sat, 18 May 2024 00:06:36 +0200 Subject: [PATCH] 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. --- .envrc | 2 -- README.md | 10 ++++++++++ manifest.scm | 6 ------ 3 files changed, 10 insertions(+), 8 deletions(-) delete mode 100644 .envrc delete mode 100644 manifest.scm diff --git a/.envrc b/.envrc deleted file mode 100644 index 379209c..0000000 --- a/.envrc +++ /dev/null @@ -1,2 +0,0 @@ -use guix - diff --git a/README.md b/README.md index 3f0e71c..a55e501 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,16 @@ make -j$(nproc) After the build system is initialized, only `make` needs to be run to 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 To run the game from the source checkout, use the `pre-inst-env` wrapper script: diff --git a/manifest.scm b/manifest.scm deleted file mode 100644 index 3e97a0f..0000000 --- a/manifest.scm +++ /dev/null @@ -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"))