summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2020-08-03 18:12:59 +0200
committerEkaitz Zarraga <ekaitz@elenq.tech>2020-08-03 18:12:59 +0200
commit33defd4e483148c60cf1edcdcbf10b9f86904287 (patch)
treef07a913030a3bbb4af3e72e50e2be306a924ef76
parentf0a3f09ee52778e5b7b8b4b30580b8735e0cc269 (diff)
Guix usage description
-rw-r--r--README.md10
-rw-r--r--channels.scm20
-rw-r--r--manifest.scm (renamed from guix.scm)0
3 files changed, 29 insertions, 1 deletions
diff --git a/README.md b/README.md
index 9f6e5d6..f75f7cd 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,11 @@
# Book creation tooling
-`guix.scm` file lists all dependencies needed for a project.
+`manifest.scm` file lists all dependencies needed for a project. The exact
+version is handled by `channels.scm`.
+
+Running the following will create a custom environment with the needed tools at
+the compatible version:
+
+``` bash
+guix time-machine -C channels.scm -- environment -m manifest.scm
+```
diff --git a/channels.scm b/channels.scm
new file mode 100644
index 0000000..3837f7f
--- /dev/null
+++ b/channels.scm
@@ -0,0 +1,20 @@
+(list (channel
+ (name 'nonguix)
+ (url "https://gitlab.com/nonguix/nonguix")
+ (commit
+ "a4300c38a760e69355df564e40abf70e09e27639"))
+ (channel
+ (name 'ekaitz)
+ (url "https://gitlab.com/ekaitz-zarraga/guix-packages")
+ (commit
+ "a42476849774683d3beb3ac694bffa573a3832a8"))
+ (channel
+ (name 'guix)
+ (url "https://git.savannah.gnu.org/git/guix.git")
+ (commit
+ "3f8041f9cd75e91fcb10e9100c567a9b7ad20570")
+ (introduction
+ (make-channel-introduction
+ "9edb3f66fd807b096b48283debdcddccfea34bad"
+ (openpgp-fingerprint
+ "BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA")))))
diff --git a/guix.scm b/manifest.scm
index b584c8c..b584c8c 100644
--- a/guix.scm
+++ b/manifest.scm