nebuli
16eb115ef4
guix: scripts: Add GUIX_BUILD_OPTIONS environment handling.
...
* doc/guix.texi (Invoking guix build): Mention 'GUIX_BUILD_OPTIONS'.
* guix/scripts/archive.scm: (append args (environment-build-options)).
* guix/scripts/build.scm: Ditto.
* guix/scripts/environment.scm: Ditto.
* guix/scripts/package.scm: Ditto.
* guix/scripts/system.scm: Ditto.
* guix/ui.scm (environment-build-options): New function.
* guix/utils.scm (arguments-from-environment-variable): New function.
* tests/guix-build.sh: Add tests.
* test-env.in: Unset GUIX_BUILD_OPTIONS.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2014-11-30 18:54:07 +01:00
Ludovic Courtès
6efc160efe
daemon: Default to '--cores=0'.
...
Suggested by Deck Pickard <deck.r.pickard@gmail.com>.
* nix/nix-daemon/guix-daemon.cc (main): Set 'settings.buildCores' to 0.
* doc/guix.texi (Invoking guix-daemon): Adjust accordingly.
2014-11-30 18:54:07 +01:00
Ludovic Courtès
5f86a66efd
doc: Explain that 'file-system' must refer to mapped devices by file name.
...
* doc/guix.texi (File Systems): Clarify what to do when mapped devices
are used.
2014-11-30 18:54:07 +01:00
Ludovic Courtès
9cb426b8bf
Revert "system: Add a 'needed-for-boot?' field to 'mapped-device'."
...
This reverts commit 3b09332adf
, which
turned out to be a bad idea because we need to have dependency
information between the device-mapping service and the file-system
service that uses it.
2014-11-30 18:54:07 +01:00
Federico Beffa
1c65314c60
gnu: Add matplotlib.
...
* gnu/packages/python.scm (python-matplotlib, python2-matplotlib): New
variables.
2014-11-30 16:59:08 +01:00
Alex Kost
2c37a34cb8
services: xorg: Add 'xf86-video-sis'.
...
* gnu/services/xorg.scm (xorg-start-command)[xserver.conf]: Add
ModulePath for 'xf86-video-sis'.
2014-11-30 09:53:20 +03:00
Ludovic Courtès
f5d9604f27
gnu-maintenance: Support .zip files.
...
Reported by Andreas Enge <andreas@enge.fr>.
* guix/gnu-maintenance.scm (sans-extension): Add case for ".zip".
(%tarball-rx): Extend to handle .zip extension.
2014-11-29 22:34:59 +01:00
Taylan Ulrich B
2184ed9179
gnu: Add mg.
...
* gnu/packages/mg.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add mg.scm.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-11-29 22:34:59 +01:00
宋文武
ec01f22d15
gnu: wireless-tools: Install the manual pages under $out/share/man.
...
* gnu/packages/linux.scm (wireless-tools)[origin]: Add snippet.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-11-29 22:34:58 +01:00
Ludovic Courtès
7dfc937e2f
gnu: Add abcde.
...
* gnu/packages/cdrom.scm (abcde): New variable.
2014-11-29 22:34:58 +01:00
Ludovic Courtès
e2bb5fd627
gnu: Add cd-discid.
...
* gnu/packages/cdrom.scm (cd-discid): New variable.
2014-11-29 22:34:58 +01:00
Ludovic Courtès
fbe52bcda2
gnu: guix: Update snapshot.
...
* gnu/packages/package-management.scm (guix-devel): Update.
2014-11-29 22:34:58 +01:00
Ludovic Courtès
1c0c417d2d
doc: Improve porting instructions.
...
* doc/guix.texi (Porting): Move 'glibc-dynamic-linker' paragraph above.
Clarify what is meant by updating (gnu packages bootstrap). Mention
'gnu-system.am'.
2014-11-29 22:34:58 +01:00
Alex Kost
1cc8f3a63c
system: locale: Fix typo in docstring.
...
* gnu/system/locale.scm (localedef-command): Fix typo.
2014-11-30 00:33:00 +03:00
Andreas Enge
5e6bdf06a7
gnu: Rename fonts according to our new naming scheme.
...
* gnu/packages/fonts.scm (ttf-dejavu): Rename to ...
* gnu/packages/fonts.scm (font-dejavu): ... this.
* gnu/packages/fonts.scm (ttf-bitstream-vera): Rename to ...
* gnu/packages/fonts.scm (font-bitstream-vera): ... this.
* gnu/packages/fonts.scm (freefont-ttf): Rename to ...
* gnu/packages/fonts.scm (font-gnu-freefont-ttf): ... this.
* gnu/packages/fonts.scm (terminus-font): Rename to ...
* gnu/packages/fonts.scm (font-terminus): ... this.
2014-11-29 21:48:38 +01:00
Ludovic Courtès
3b09332adf
system: Add a 'needed-for-boot?' field to 'mapped-device'.
...
* gnu/system/file-systems.scm (<mapped-device>)[needed-for-boot?]: New
field.
* gnu/system.scm (operating-system-user-mapped-devices,
operating-system-boot-mapped-devices): Use it instead of trying to
guess. Guessing doesn't work when one refers to a partition using its
label, for instance.
* doc/guix.texi (Mapped Devices): Document 'needed-for-boot?'.
2014-11-29 14:40:26 +01:00
Ludovic Courtès
9cd0dfaa46
system: Change "en_US.UTF-8" to "en_US.utf8".
...
* build-aux/hydra/demo-os.scm (locale): Change to "en_US.utf8".
* gnu/system/install.scm (installation-os)[locale]: Ditto.
2014-11-29 11:37:53 +01:00
Ludovic Courtès
7c4885f0d7
linux-modules: Correctly propagate error code from 'init_module'.
...
* gnu/packages/patches/guile-linux-syscalls.patch (scm_load_linux_module):
Leave 'errno' unchanged when ERR != 0.
* gnu/build/linux-modules.scm (load-linux-module*): Check for the errno
value of ARGS to determine whether the module was already loaded.
2014-11-28 15:08:56 +01:00
Ludovic Courtès
08b1990a93
linux-initrd: Remove the ".ko" suffix from module names in 'base-initrd'.
...
* gnu/system/linux-initrd.scm (base-initrd): Remove the .ko suffix from
module names.
2014-11-28 00:10:28 +01:00
Ludovic Courtès
d7e66f6295
linux-initrd: Remove now redundant module names.
...
* gnu/system/linux-initrd.scm (base-initrd)[virtio-modules]: Remove
"virtio.ko" and "virtio_ring.ko".
[virtio-9p-modules]: Remove "fscache.ko" and "9pnet.ko".
[linux-modules]: Remove "libahci.ko".
2014-11-28 00:10:28 +01:00
Ludovic Courtès
0e704a2d4e
linux-boot: Load modules and their dependencies, à la 'modprobe'.
...
* gnu/build/linux-boot.scm: Use (gnu build linux-modules).
(load-linux-module*): Remove.
(boot-system): Add #:linux-module-directory parameter.
[lookup-module]: New procedure.
Call 'current-module-debugging-port'. Pass #:lookup-module to
'load-linux-module*'. Map LOOKUP-MODULE on LINUX-MODULES.
* gnu/system/linux-initrd.scm (base-initrd): Adjust 'boot-system' call
accordingly. Adjust #:modules argument as well.
* gnu/system.scm (operating-system-activation-script)[%modules]: Likewise.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Likewise.
2014-11-28 00:10:28 +01:00
Ludovic Courtès
600c285b63
linux-initrd: Copy modules and their dependencies to the initrd.
...
* gnu/system/linux-initrd.scm (flat-linux-module-directory)[build-exp]:
Add 'lookup' procedure. Use 'recursive-module-dependencies' to
compute the list of modules to copy.
Adjust #:modules parameter.
2014-11-28 00:10:28 +01:00
Ludovic Courtès
fcaa5f44a1
system: Add (gnu build linux-modules).
...
* gnu/build/linux-modules.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-11-28 00:10:28 +01:00
Ludovic Courtès
d5d1668630
Add (guix elf).
...
* guix/elf.scm: New file. Taken from Guile 'master', commit 3f826e3.
* Makefile.am (MODULES): Add it.
* THANKS: Thank Andy, who wrote this module.
2014-11-28 00:10:28 +01:00
Ludovic Courtès
1f6f57df7c
doc: Update stale references in "Bootstrapping".
...
* doc/guix.texi (Bootstrapping): Final definitions are in (gnu packages
commencement).
Change gnu-build-system xref to "Build Systems".
2014-11-28 00:10:27 +01:00
Ludovic Courtès
d616c05529
substitute-binary: Change "unresponsive" to "slow".
...
* guix/scripts/substitute-binary.scm (fetch): Change "unresponsive" to
"somewhat slow". I'm being told that the former is often
misunderstood as "broken".
2014-11-28 00:10:27 +01:00
Andreas Enge
4625141126
gnu: gcl: Drop 'strip phase.
...
* gnu/packages/lisp.scm (gcl): Drop 'strip phase to make maxima build.
2014-11-27 23:34:46 +01:00
Federico Beffa
ec00de358e
gnu: Add numpydoc.
...
* gnu/packages/python.scm (python-numpydoc, python2-numpydoc): New variables.
2014-11-27 09:50:47 +01:00
Ludovic Courtès
598e19dca1
system: Build system-wide locale definitions.
...
* gnu/system/locale.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu/system.scm (<operating-system>)[locale]: Change the default to
"en_US.utf8".
(operating-system-locale-directory): New procecure.
(operating-system-derivation): Use it.
* doc/guix.texi (Using the Configuration System): Change example locale
to "fr_FR.utf8".
(operating-system Reference): Add xref to "Locales". Document
'locale-definitions'.
(Locales): New section.
* po/guix/POTFILES.in: Add gnu/system.scm.
2014-11-27 08:55:46 +01:00
Andreas Enge
9b4d1e7321
gnu: ccrtp: Update to 2.1.1.
...
* gnu/packages/telephony.scm (ccrtp): Update to 2.1.1.
2014-11-26 21:29:42 +01:00
Alex Kost
cbbc877134
emacs: Add missing directory to the guile load path.
...
Reported by Adam Pribyl and David Thompson.
* emacs/guix-helper.scm.in (set-paths!): Add guile module dir to '%load-path'.
2014-11-26 23:07:16 +03:00
Andreas Enge
d57b88bed5
Update gnupg mirrors.
...
* guix/download.scm (%mirrors): Update mirror list for gnupg.
2014-11-26 19:52:11 +01:00
Andreas Enge
e26e134b4a
gnu: ucommon: Update to 6.2.2.
...
* gnu/packages/telephony.scm (ucommon): Update to 6.2.2.
2014-11-26 14:56:51 +01:00
Andreas Enge
07ba213a39
gnu: sipwitch: Update to 1.9.3.
...
* gnu/packages/telephony.scm (sipwitch): Update to 1.9.3.
2014-11-26 14:56:51 +01:00
Ludovic Courtès
67979e42c3
linux-boot: Call 'pre-mount' before 'mount-root-file-system'.
...
Partly fixes <http://bugs.gnu.org/19190 >.
Reported by Nikita Karetnikov <nikita@karetnikov.org>.
* gnu/build/linux-boot.scm (boot-system): Move PRE-MOUNT call before
'mount-root-file-system' is called.
2014-11-26 11:58:06 +01:00
Ludovic Courtès
76bacc8264
linux-boot: Error out when 'pre-mount' returns #f.
...
* gnu/build/linux-boot.scm (boot-system): Call 'error' when PRE-MOUNT
returns #f.
2014-11-26 11:54:21 +01:00
Ludovic Courtès
2d2a2bacc0
gnu: emms: Enable the 'mp3info' back-end for MP3 meta-data.
...
* gnu/packages/emacs.scm (emms)[arguments]: Properly initialize
'emms-info-mp3info-program-name'. This allows the 'emms-info-mp3info'
back-end to be enabled by default, even when 'mp3info' is not in
$PATH.
2014-11-26 09:24:06 +01:00
Ludovic Courtès
588a781396
gnu: pkg-config: Add pkg.m4 to the cross pkg-config.
...
Suggested by John Darrington.
* gnu/packages/pkg-config.scm (cross-pkg-config): Make
$out/share/aclocal a symlink to %PKG-CONFIG/share/aclocal.
2014-11-25 23:12:42 +01:00
Ludovic Courtès
90fad2880d
emacs: Disable build traces produced by the daemon.
...
* emacs/guix-main.scm (process-package-actions,
package-source-build-derivation): Pass #:print-build-trace #f to
'set-build-options', to reduce verbosity.
2014-11-25 23:01:48 +01:00
Andreas Enge
e43c2a0b89
gnu: gss: Update to 1.0.3.
...
* gnu/packages/gsasl.scm (gss): Update to 1.0.3.
2014-11-25 22:47:51 +01:00
Ludovic Courtès
f6526eb330
guix build: Add '--max-jobs' option.
...
Suggested by Deck Pickard <deck.r.pickard@gmail.com>.
* guix/scripts/build.scm (show-build-options-help): Document
--max-jobs.
(set-build-options-from-command-line): Pass #:max-build-jobs.
(%standard-build-options): Add --max-jobs.
* doc/guix.texi (Invoking guix-daemon): Document the meaning of
'--max-jobs 0'.
(Invoking guix build): Document --max-jobs, with a reference to
"Invoking guix-daemon'.
2014-11-25 22:37:44 +01:00
Taylan Ulrich Bayırlı/Kammer
1b366ee4f6
doc: Fix syntax errors.
...
* doc/guix.texi (Package Naming):
(Fonts): Remove space between '@foo' and '{'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-11-25 22:37:44 +01:00
Federico Beffa
15bfe6d635
gnu: Add pyparsing.
...
* gnu/packages/python.scm (python-pyparsing, python2-pyparsing): New
variables.
2014-11-25 22:04:38 +01:00
Ludovic Courtès
a82bec4e89
gnu: Remove #:select on circular dependency.
...
* gnu/packages/mp3.scm: Remove #:select on (gnu packages linux) so that
the circular dependency is correctly handled.
2014-11-25 21:49:20 +01:00
Ludovic Courtès
77c9286d4a
gnu: Add EMMS.
...
* gnu/packages/emacs.scm (emms): New variable.
2014-11-25 18:01:59 +01:00
Ludovic Courtès
4d6b879cb5
file-systems: 'file-system-needed-for-boot?' always returns #t for "/".
...
Reported by Nikita Karetnikov.
* gnu/system/file-systems.scm (<file-system>): Rename 'needed-for-boot?'
accessor to '%file-system-needed-for-boot?'.
(file-system-needed-for-boot?): New inlinable procedure.
* gnu/system.scm (other-file-system-services)[file-systems]: Rely on
'file-system-needed-for-boot?' to handle the "/" case.
(operating-system-initrd-file)[boot-file-systems]: Likewise.
2014-11-25 18:01:59 +01:00
Ludovic Courtès
6eef465eea
gnu: libksba: Update to 1.3.2 [security fix].
...
* gnu/packages/gnupg.scm (libksba): Update to 1.3.2.
2014-11-25 18:01:59 +01:00
Ludovic Courtès
c63bc533c1
build: Bump version number.
...
* configure.ac: Bump to 0.9.
2014-11-25 18:01:59 +01:00
Ludovic Courtès
db84467a90
install: Add wpa-supplicant to the image.
...
Reported by Amirouche Boubekki <amirouche.boubekki@gmail.com>.
* gnu/system/install.scm (installation-os)[packages]: Add
WPA-SUPPLICANT.
2014-11-25 18:01:59 +01:00
Ludovic Courtès
086518ddf3
gnu: Add TagLib.
...
* gnu/packages/mp3.scm (taglib): New variable.
2014-11-25 18:01:59 +01:00