From a5fbfd562a57822169014ed772deb7e1103865e5 Mon Sep 17 00:00:00 2001 From: jgart Date: Thu, 6 May 2021 05:23:51 -0400 Subject: [PATCH 1/2] Add guix manifest --- manifest.scm | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 manifest.scm diff --git a/manifest.scm b/manifest.scm new file mode 100644 index 0000000..becd3f4 --- /dev/null +++ b/manifest.scm @@ -0,0 +1,5 @@ +(specifications->manifest + '("make" + "gcc-toolchain" + "gnuplot" + "guile")) From 85a963806fb4d1b36007e6cb9706acad11ec67e2 Mon Sep 17 00:00:00 2001 From: jgart Date: Thu, 6 May 2021 05:24:23 -0400 Subject: [PATCH 2/2] Add instructions on how to run the guix command in the README See https://guix.gnu.org/manual/en/html_node/Binary-Installation.html for installing guix. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 172d7d6..42abf19 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,10 @@ A simple example on how to embed Guile Scheme to C using a simple “Tortoise” ./turtle ``` +## Setting up a development environment with guix + +guix environment -m manifest.scm + ## Commands ``` guile> (tortoise-move 1) @@ -25,3 +29,5 @@ guile> (tortoise-reset) ### Note If it complains about default terminal just export `GNUTERM=x11` or `qt` + +