guix-devel/guix/build-system
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
..
cmake.scm Move search path specifications to (guix search-paths). 2015-05-04 23:30:51 +02:00
glib-or-gtk.scm Move search path specifications to (guix search-paths). 2015-05-04 23:30:51 +02:00
gnu.scm derivations: Add #:substitutable?, distinguished from #:local-build?. 2015-07-03 00:30:55 +02:00
haskell.scm Move search path specifications to (guix search-paths). 2015-05-04 23:30:51 +02:00
perl.scm Move search path specifications to (guix search-paths). 2015-05-04 23:30:51 +02:00
python.scm Move search path specifications to (guix search-paths). 2015-05-04 23:30:51 +02:00
ruby.scm Move search path specifications to (guix search-paths). 2015-05-04 23:30:51 +02:00
trivial.scm packages: Implement grafts. 2014-11-02 21:22:12 +01:00
waf.scm Move search path specifications to (guix search-paths). 2015-05-04 23:30:51 +02:00