diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2015-05-23 15:55:08 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2015-05-23 15:57:18 +0200 |
| commit | c71979f416df409425391e1de35ec95528ed0f84 (patch) | |
| tree | a90215e0bdb0fcf62e74c58636c12b2ffd321680 /HACKING | |
| parent | 92492b23838f77decfc63810b56add0af6805feb (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-- | HACKING | 14 |
1 files changed, 2 insertions, 12 deletions
| @@ -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 | ||
| 5 | Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org> | 5 | Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org> |
| 6 | Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org> | 6 | Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org> |
| 7 | Copyright © 2014 Pierre-Antoine Rault <par@rigelk.eu> | 7 | Copyright © 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 | ||
| 49 | Command-line tools can be used even if you have not run "make install". | 49 | See the same-named section in the manual. |
| 50 | To do that, prefix each command with ‘./pre-inst-env’, as in: | ||
| 51 | |||
| 52 | ./pre-inst-env guix build --help | ||
| 53 | |||
| 54 | Similarly, for a Guile session using the Guix modules: | ||
| 55 | |||
| 56 | ./pre-inst-env guile -c '(use-modules (guix utils)) (pk (%current-system))' | ||
| 57 | |||
| 58 | The ‘pre-inst-env’ script sets up all the environment variables | ||
| 59 | necessary to support this. | ||
| 60 | 50 | ||
| 61 | * The Perfect Setup | 51 | * The Perfect Setup |
| 62 | 52 | ||
