* gnu/packages/base.scm (glibc): Add 'native-inputs' field.
(perl-boot0): New variable.
(linux-libre-headers-boot0): Use it.
(texinfo-boot0): New variable.
(glibc-final-with-bootstrap-bash): Add 'native-inputs' field.
* gnu/packages/gnupg.scm (libgpg-error): Add gcc as a native input,
and set the CC_FOR_BUILD variable.
* gnu/packages/gnupg.scm (libgcrypt): Add libgpg-error as a native input and
set the --with-gpg-error-prefix configure option.
* gnu/packages/gnupg.scm (libksba): Add libgpg-error as a native input and
set the --with-gpg-error-prefix configure option.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu/packages/openssl.scm (openssl): Move perl from inputs to
native-inputs.
Replace reference to target bash with the native bash or target bash as
appropriate.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Reported by John Darrington <john@darrington.wattle.id.au>.
* gnu/packages/base.scm (tzdata): Use the 'source' keyword argument in
phases rather than the "source" input. This fixes cross-compilation.
* gnu/packages/patches/ffmpeg-check.patch: Drop patch.
* gnu-system.am (dist_patch_DATA): Unregister patch.
* gnu/packages/video.scm (ffmpeg): Drop patch and use "fate" as test target
as recommended at http://trac.ffmpeg.org/ticket/3177#comment:11 .
* gnu/packages/video.scm
* gnu/system.scm (etc-directory): Add 'locale' and 'timezone'
parameters. Set 'LC_ALL', 'TZ', and 'TZDIR' in /etc/profile.
(operating-system-derivation): Adjust call accordingly.
* gnu/system/vm.scm (%demo-operating-system): Change locale to
'en_US.UTF-8'. Add TZDATA to 'packages'.
* gnu/packages/compression.scm : Zlib uses a non-standard
way of configuring for cross-compilation. Thanks to Ludovic
for showing me the correct way to fix this.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu/system.scm (union): Allow (PACKAGE OUTPUT), (PACKAGE), and
PACKAGE.
(<operating-system>)[packages]: Make the default a list of package?
objects.
* gnu/system/vm.scm (%demo-operating-system): Likewise. Add a few
packages.
* gnu/system/shadow.scm (<user-account>)[inputs]: New field.
(passwd-file): Bind the 'shell' field of each account.
* gnu/system/vm.scm (%demo-operating-system): Remove 'shell' field.
* gnu/system/dmd.scm (guix-build-accounts): Store a monadic value in
'shell'. Add 'inputs' field.
* gnu/system.scm (operating-system-derivation): Remove 'shell' field for
'root' account. Add all the 'user-account-inputs' to EXTRAS.
* gnu/system/vm.scm (lower-inputs): Move to monads.scm.
(qemu-image): Don't add GRUB-CONFIGURATION to the INPUTS-TO-COPY.
(union, file-union, etc-directory): Move to gnu/system.scm.
(%demo-operating-system): New variable.
(system-qemu-image): Add 'os' parameter. Rewrite in terms of
'operating-system-derivation'.
* guix/monads.scm (lower-inputs): New procedure.
* gnu/system/grub.scm (grub-configuration-file): Change 'entries' to be
a plain list instead of a list of monadic values.
* gnu/system.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/web.scm (perl-http-daemon): Propagate inputs perl-http-date,
perl-http-message and perl-lwp-mediatypes; drop input perl-uri
(propagated by perl-http-message).
* gnu/packages/web.scm (perl-http-cookies): Propagate inputs perl-http-date
and perl-http-message; drop input perl-uri (itself propagated from
perl-http-message).