From 33defd4e483148c60cf1edcdcbf10b9f86904287 Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Mon, 3 Aug 2020 18:12:59 +0200 Subject: Guix usage description --- README.md | 10 +++++++++- channels.scm | 20 ++++++++++++++++++++ guix.scm | 2 -- manifest.scm | 2 ++ 4 files changed, 31 insertions(+), 3 deletions(-) create mode 100644 channels.scm delete mode 100644 guix.scm create mode 100644 manifest.scm 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/guix.scm deleted file mode 100644 index b584c8c..0000000 --- a/guix.scm +++ /dev/null @@ -1,2 +0,0 @@ -(specifications->manifest - '("python-pyyaml" "python" "chibi-scheme" "ghc-pandoc" "make" "ghostscript" "texlive" "inkscape")) diff --git a/manifest.scm b/manifest.scm new file mode 100644 index 0000000..b584c8c --- /dev/null +++ b/manifest.scm @@ -0,0 +1,2 @@ +(specifications->manifest + '("python-pyyaml" "python" "chibi-scheme" "ghc-pandoc" "make" "ghostscript" "texlive" "inkscape")) -- cgit v1.2.3