diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2015-06-11 11:19:12 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2015-06-11 11:19:12 +0200 |
| commit | a43b55f1a6fa0eb712b2610b86a1775383d3f2cd (patch) | |
| tree | 8ba275e9d4be71a34238d83c8fff919817c21e70 /doc | |
| parent | c2590362ad7c926050db0ea1dacd437027241520 (diff) | |
guix build: Allow directories to be passed to --with-source.
* guix/scripts/build.scm (package-with-source)[tarball-base-name]: Gracefully
handle file names that lack an extension.
Pass #:recursive? #t to 'download-to-store'.
* guix/download.scm (download-to-store): Add #:recursive? parameter and pass
it to 'add-to-store'.
* doc/guix.texi (Invoking guix build): Add an example of --with-source with a
directory.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/guix.texi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index be7a292f084..c70d1000aed 100644 --- a/doc/guix.texi +++ b/doc/guix.texi | |||
| @@ -3438,6 +3438,13 @@ candidates: | |||
| 3438 | guix build guile --with-source=../guile-2.0.9.219-e1bb7.tar.xz | 3438 | guix build guile --with-source=../guile-2.0.9.219-e1bb7.tar.xz |
| 3439 | @end example | 3439 | @end example |
| 3440 | 3440 | ||
| 3441 | @dots{} or to build from a checkout in a pristine environment: | ||
| 3442 | |||
| 3443 | @example | ||
| 3444 | $ git clone git://git.sv.gnu.org/guix.git | ||
| 3445 | $ guix build guix --with-source=./guix | ||
| 3446 | @end example | ||
| 3447 | |||
| 3441 | @item --no-grafts | 3448 | @item --no-grafts |
| 3442 | Do not ``graft'' packages. In practice, this means that package updates | 3449 | Do not ``graft'' packages. In practice, this means that package updates |
| 3443 | available as grafts are not applied. @xref{Security Updates}, for more | 3450 | available as grafts are not applied. @xref{Security Updates}, for more |
