Next: , Previous: , Up: Configuration   [Contents][Index]


15.2 Guile and Build Options

guix-guile-program

If you have some special needs for starting a Guile process, you may set this variable. For example, by default, Guile is started with --no-auto-compile flag (because auto-compilation may take a very long time), so if you just want guile without any flags, you may just use:

(setq guix-guile-program "guile")
guix-load-path
guix-load-compiled-path

Directory or a list of directories prepended to Guile’s %load-path and %load-compiled-path (see Load Paths in The GNU Guile Reference Manual).

If you use Guix from a git checkout (see Running Guix Before It Is Installed in The GNU Guix Reference Manual), you may want Emacs-Guix to use the same guix from git. All you need is to point Emacs-Guix to this checkout:

(setq guix-load-path "/path/to/guix-git-dir")

Note that setting guix-load-compiled-path is not needed when Scheme (.scm) and compiled (.go) files are placed in the same directories.

guix-use-substitutes

Has the same meaning as --no-substitutes option (see Invoking guix build in The GNU Guix Reference Manual)—i.e., when non-nil, substitutes are enabled.

guix-dry-run

Has the same meaning as --dry-run option (see Invoking guix build in The GNU Guix Reference Manual)—i.e., when non-nil, do not build the derivations.

guix-repl-use-server

By default, along with the main Guix REPL, an additional (internal) REPL is started. This allows you to display packages, generations and to receive other info from the Scheme side, while there is some active process in the main Guix REPL (e.g., while downloading or building packages). If you don’t want to have the second REPL, set this variable to nil.

guix-repl-use-latest

Set this variable to nil, if you don’t want to use the latest Guix code received with guix pull command (see Invoking guix pull in The GNU Guix Reference Manual).


Next: , Previous: , Up: Configuration   [Contents][Index]