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. |
||
|---|---|---|
| .. | ||
| base32.scm | ||
| base64.scm | ||
| build-utils.scm | ||
| builders.scm | ||
| cpan.scm | ||
| cpio.scm | ||
| derivations.scm | ||
| gexp.scm | ||
| gremlin.scm | ||
| guix-archive.sh | ||
| guix-authenticate.sh | ||
| guix-build.sh | ||
| guix-daemon.sh | ||
| guix-download.sh | ||
| guix-environment.sh | ||
| guix-gc.sh | ||
| guix-hash.sh | ||
| guix-lint.sh | ||
| guix-package-net.sh | ||
| guix-package.sh | ||
| guix-register.sh | ||
| guix-system.sh | ||
| hackage.scm | ||
| hash.scm | ||
| lint.scm | ||
| monads.scm | ||
| nar.scm | ||
| packages.scm | ||
| pk-crypto.scm | ||
| pki.scm | ||
| profiles.scm | ||
| publish.scm | ||
| pypi.scm | ||
| records.scm | ||
| sets.scm | ||
| signing-key.pub | ||
| signing-key.sec | ||
| size.scm | ||
| snix.scm | ||
| store.scm | ||
| substitute.scm | ||
| syscalls.scm | ||
| test.drv | ||
| ui.scm | ||
| union.scm | ||
| utils.scm | ||