Ludovic Courtès
4a6aeb670f
derivations: Add #:substitutable?, distinguished from #:local-build?.
Fixes <http://bugs.gnu.org/18747>.
* guix/derivations.scm (substitutable-derivation?): Rewrite to check for
"allowSubstitutes".
(derivation): Add #:substitutable? parameter.
[user+system-env-vars]: Honor it.
(build-expression->derivation): Add #:substitutable? and honor it.
* guix/gexp.scm (gexp->derivation): Likewise.
* tests/derivations.scm ("derivation-prerequisites-to-build and substitutes,
non-substitutable build"): Use #:substitutable? instead of #:local-build?.
("substitutable-derivation?", "derivation-prerequisites-to-build and
substitutes, local build"): New tests.
* guix/download.scm (url-fetch): Adjust comment.
* guix/git-download.scm (git-fetch): Likewise.
* guix/build-system/gnu.scm (gnu-build, gnu-cross-build): Use #:substitutable?
instead of #:local-build?.
* doc/guix.texi (Derivations, G-Expressions): Adjust accordingly.
2015-07-03 00:30:55 +02:00
..
2015-06-11 18:55:49 -05:00
2015-07-03 00:30:55 +02:00
2015-06-24 22:47:59 +02:00
2015-07-02 21:47:24 +02:00
2015-05-31 22:39:48 +02:00
2015-01-09 01:01:04 +01:00
2014-10-05 21:58:42 +02:00
2014-03-09 22:10:01 +01:00
2015-06-24 18:05:03 +02:00
2015-04-15 10:19:47 +02:00
2015-07-03 00:30:55 +02:00
2015-07-03 00:30:55 +02:00
2015-03-30 15:21:11 +02:00
2015-05-20 12:13:39 +02:00
2015-01-26 21:58:12 +01:00
2015-07-03 00:30:55 +02:00
2015-07-03 00:30:55 +02:00
2015-06-16 10:31:12 +02:00
2014-09-24 19:08:03 +02:00
2015-01-26 21:58:12 +01:00
2015-05-10 11:07:51 +02:00
2015-06-23 01:04:53 -04:00
2015-01-14 13:34:52 +01:00
2015-06-08 23:00:49 +02:00
2015-01-18 22:19:04 +01:00
2015-06-14 08:49:42 -04:00
2015-03-18 14:43:03 +01:00
2014-04-04 00:23:17 +02:00
2015-06-11 18:55:48 -05:00
2015-06-11 23:33:32 +02:00
2015-05-06 18:26:53 +02:00
2015-05-10 11:07:51 +02:00
2015-01-11 23:50:01 +01:00
2015-06-19 10:23:29 +02:00
2015-04-15 10:19:47 +02:00
2015-06-24 18:05:03 +02:00
2015-06-10 10:25:16 +02:00
2015-05-04 23:30:51 +02:00