diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-05-30 11:10:27 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-06-09 12:02:27 +0200 |
commit | 8a0d9bc8a3f153159d9e239a151c0fa98f1e12d8 (patch) | |
tree | 38c0ed21f58688c13caa869bd41765fe6bc4597f /build-aux/compile-as-derivation.scm | |
parent | d6fb0985a611a6549b45cc58461a8dc52c8b9f3e (diff) | |
download | guix-8a0d9bc8a3f153159d9e239a151c0fa98f1e12d8.tar.gz |
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.
Diffstat (limited to 'build-aux/compile-as-derivation.scm')
-rw-r--r-- | build-aux/compile-as-derivation.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/compile-as-derivation.scm b/build-aux/compile-as-derivation.scm index afb134a92a..2a45e71bb9 100644 --- a/build-aux/compile-as-derivation.scm +++ b/build-aux/compile-as-derivation.scm @@ -43,7 +43,7 @@ (mlet* %store-monad ((source (interned-file source "guix-source" #:select? git? #:recursive? #t)) - (drv (build source))) + (drv (build source #:pull-version 1))) (mbegin %store-monad (show-what-to-build* (list drv)) (built-derivations (list drv)) |