guix-kreyren/guix
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
..
build
build-system derivations: Add #:substitutable?, distinguished from #:local-build?. 2015-07-03 00:30:55 +02:00
import import: pypi: Detect inputs. 2015-06-24 22:47:59 +02:00
scripts scripts: environment: Return the exit status of the command. 2015-07-02 21:47:24 +02:00
base32.scm
base64.scm
build-system.scm
config.scm.in
cpio.scm linux-initrd: Produce cpio archives with zeroed timestamps, etc. 2015-06-24 18:05:03 +02:00
cvs-download.scm
derivations.scm derivations: Add #:substitutable?, distinguished from #:local-build?. 2015-07-03 00:30:55 +02:00
download.scm derivations: Add #:substitutable?, distinguished from #:local-build?. 2015-07-03 00:30:55 +02:00
elf.scm
ftp-client.scm
gcrypt.scm
gexp.scm derivations: Add #:substitutable?, distinguished from #:local-build?. 2015-07-03 00:30:55 +02:00
git-download.scm derivations: Add #:substitutable?, distinguished from #:local-build?. 2015-07-03 00:30:55 +02:00
gnu-maintenance.scm
gnupg.scm
hash.scm
http-client.scm
licenses.scm licenses: Add the SGI Free Software License B, version 2.0. 2015-06-23 01:04:53 -04:00
monad-repl.scm
monads.scm
nar.scm
packages.scm
pk-crypto.scm
pki.scm
profiles.scm
records.scm
search-paths.scm
serialization.scm
sets.scm
store.scm store: Memoize 'add-to-store' based on the result of 'lstat', not 'stat'. 2015-06-19 10:23:29 +02:00
svn-download.scm
tests.scm tests: Move 'file=?' to (guix tests). 2015-06-24 18:05:03 +02:00
ui.scm
utils.scm