self: Produce a complete package with the 'guix' command.
authorLudovic Courtès <ludo@gnu.org>
Wed, 30 May 2018 09:10:27 +0000 (11:10 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sat, 9 Jun 2018 10:02:27 +0000 (12:02 +0200)
commit8a0d9bc8a3f153159d9e239a151c0fa98f1e12d8
tree38c0ed21f58688c13caa869bd41765fe6bc4597f
parentd6fb0985a611a6549b45cc58461a8dc52c8b9f3e
self: Produce a complete package with the 'guix' command.

* guix/self.scm (guix-command): New procedure.
(compiled-guix): Add #:pull-version parameter.
[command, package]: New variables.
Honor PULL-VERSION.
(guix-derivation): Add #:pull-version and pass it to 'compiled-guix'.
* build-aux/build-self.scm (build-program): Add #:pull-version
parameter.  Pass it to 'guix-derivation'.
(build): Add #:pull-version and pass it to 'build-program'.
* build-aux/compile-as-derivation.scm: Pass #:pull-version to BUILD.
build-aux/build-self.scm
build-aux/compile-as-derivation.scm
guix/self.scm