guix build: Allow gexps to be passed to '-e'.
authorLudovic Courtès <ludo@gnu.org>
Sat, 14 Jun 2014 20:37:24 +0000 (22:37 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sat, 14 Jun 2014 20:55:59 +0000 (22:55 +0200)
commit56b821069722c6341e9079299d90ae1cdfe9a916
tree31207af9b6ec534010dd03b89f661b93eb936b3a
parenta83c6a6471b0f1950ab5c53acb278e1b88d51c11
guix build: Allow gexps to be passed to '-e'.

* guix/ui.scm (%guix-user-module): New variable.
  (read/eval): Pass it as the second argument to 'eval'.
* guix/scripts/build.scm (options/resolve-packages): Add case for
  'gexp?'.
* tests/guix-build.sh: Add tests.
* doc/guix.texi (Invoking guix build): Document '-e gexp'.
guxi build: Allow gexps to be passed to '-e'.

* guix/ui.scm (%guix-user-module): New variable.
  (read/eval): Pass it as the second argument to 'eval'.
* guix/scripts/build.scm (options/resolve-packages): Add case for
  'gexp?'.
* tests/guix-build.sh: Add tests.
* doc/guix.texi (Invoking guix build): Document '-e gexp'.
doc/guix.texi
guix/scripts/build.scm
guix/ui.scm
tests/guix-build.sh