maint: Remove 'cond-expand' forms for Guile 2.0.
authorLudovic Courtès <ludo@gnu.org>
Sun, 6 Jan 2019 21:02:40 +0000 (22:02 +0100)
committerLudovic Courtès <ludo@gnu.org>
Wed, 9 Jan 2019 13:47:53 +0000 (14:47 +0100)
commita65177a657b0cb36d45f2e8db574ea9c10f89a1f
tree1e2ccdbccc0d6fd39461ce31a8677be7ce86675d
parent0991fd53367907908fbd901a9fbe79540e4e4527
maint: Remove 'cond-expand' forms for Guile 2.0.

Note: Leave 'cond-expand' forms used in the build-side modules that can
run on %BOOTSTRAP-GUILE, which is currently Guile 2.0.

* guix/build/compile.scm: Move 'use-modules' clause from 'cond-expand'
to 'define-module' form.
(%default-optimizations): Remove 'cond-expand'.
* guix/build/download.scm (tls-wrap): Remove 'cond-expand'.
* guix/build/syscalls.scm: Remove 'cond-expand' form around
'%set-automatic-finalization-enabled?!' and
'without-automatic-finalization'.
* guix/inferior.scm (port->inferior): Remove 'cond-expand'.
* guix/scripts/pack.scm (wrapped-package)[build]: Remove 'cond-expand'.
* guix/status.scm (build-event-output-port): Remove 'cond-expand'.
* guix/store.scm (open-inet-socket): Remove 'cond-expand'.
* guix/ui.scm (install-locale): Remove 'cond-expand'.
* tests/status.scm ("current-build-output-port, UTF-8 + garbage"):
Remove 'cond-expand'.
* tests/store.scm ("current-build-output-port, UTF-8 + garbage"):
Remove 'cond-expand'.
guix/build/compile.scm
guix/build/download.scm
guix/build/syscalls.scm
guix/inferior.scm
guix/scripts/pack.scm
guix/status.scm
guix/store.scm
guix/ui.scm
tests/status.scm
tests/store.scm