summaryrefslogtreecommitdiff
path: root/HACKING
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-05-23 15:55:08 +0200
committerLudovic Courtès <ludo@gnu.org>2015-05-23 15:57:18 +0200
commitc71979f416df409425391e1de35ec95528ed0f84 (patch)
treea90215e0bdb0fcf62e74c58636c12b2ffd321680 /HACKING
parent92492b23838f77decfc63810b56add0af6805feb (diff)
doc: Add "Running Guix Before It Is Installed".
* doc/guix.texi (Running Guix Before It Is Installed): New node. (Packaging Guidelines): Refer to it.
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING14
1 files changed, 2 insertions, 12 deletions
diff --git a/HACKING b/HACKING
index e8f6cc4208c..cf10ba5536d 100644
--- a/HACKING
+++ b/HACKING
@@ -2,7 +2,7 @@
2 2
3#+TITLE: Hacking GNU Guix and Its Incredible Distro 3#+TITLE: Hacking GNU Guix and Its Incredible Distro
4 4
5Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org> 5Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
6Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org> 6Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
7Copyright © 2014 Pierre-Antoine Rault <par@rigelk.eu> 7Copyright © 2014 Pierre-Antoine Rault <par@rigelk.eu>
8 8
@@ -46,17 +46,7 @@ take a look at “info '(guix) Installation'” or send a message to
46 46
47* Running Guix before it is installed 47* Running Guix before it is installed
48 48
49Command-line tools can be used even if you have not run "make install". 49See the same-named section in the manual.
50To do that, prefix each command with ‘./pre-inst-env’, as in:
51
52 ./pre-inst-env guix build --help
53
54Similarly, for a Guile session using the Guix modules:
55
56 ./pre-inst-env guile -c '(use-modules (guix utils)) (pk (%current-system))'
57
58The ‘pre-inst-env’ script sets up all the environment variables
59necessary to support this.
60 50
61* The Perfect Setup 51* The Perfect Setup
62 52