summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* gnu: Add mcrypt, libmcrypt, and libmhash.Eric Bavier2014-05-263-0/+129
| | | | | | | * gnu/packages/mcrypt.scm: New file. * gnu/packages/patches/mhash-keygen-test-segfault.patch: New patch. * gnu-system.am (GNU_SYSTEM_MODULES): Add file. (dist_patch_DATA): Add patch.
* gnu: Add librsync.Eric Bavier2014-05-251-0/+27
| | | | * gnu/packages/rsync.scm (librsync): New variable.
* gnu: Add inotify-tools.Ludovic Courtès2014-05-261-0/+20
| | | | * gnu/packages/linux.scm (inotify-tools): New variable.
* doc: Augment "Package Naming".Ludovic Courtès2014-05-251-6/+9
| | | | | * doc/guix.texi (Package Naming): Mention underscores, and give SDL_net as an example.
* store: Remove misleading 'setsockopt' call.Ludovic Courtès2014-05-251-10/+0
| | | | | | | * guix/store.scm (open-connection): Remove misleading 'setsockopt' call, erroneously introduced in df1fab58. This would actually shrink the receive buffer from 124 KiB to 12 KiB, though it had little impact on performance.
* services: nscd: Provide an 'activate' script to make /var/run/nscd.Ludovic Courtès2014-05-243-7/+19
| | | | | | | | * gnu/services/base.scm (nscd-service): Add 'activate' field. * guix/build/install.scm (directives): Remove /var/run/nscd; add /var/run. * doc/guix.texi (Defining Services): Add 'activate' field in example. Document it.
* services: Support per-service activation scripts.Ludovic Courtès2014-05-242-1/+15
| | | | | | * gnu/services.scm (<service>)[activate]: New field. * gnu/system.scm (operating-system-activation-script)[service-activations]: New procedure. Use it, and primitive-load each activation.
* system: Always create /var/empty.Ludovic Courtès2014-05-241-0/+1
| | | | * guix/build/install.scm (directives): Add /var/empty.
* system: Separate the activation script from the boot script.Ludovic Courtès2014-05-242-19/+26
| | | | | | | | | * gnu/system.scm (operating-system-activation-script): New procedure, containing most of the former 'operating-system-boot-script'. (operating-system-boot-script): Call it, and 'primitive-load' its result. * guix/build/activation.scm (%booted-system): Remove. (activate-current-system): Remove #:boot? parameter and related code.
* gnu: Add lzop.Eric Bavier2014-05-241-0/+23
| | | | * gnu/packages/compression.scm (lzop): New variable.
* vm: Disable QEMU networking in the disk image initrd.Ludovic Courtès2014-05-232-2/+10
| | | | | | * gnu/system/linux-initrd.scm (qemu-initrd): Add #:qemu-networking? parameter and honor it. * gnu/system/vm.scm (system-disk-image): Pass #:qemu-networking #f.
* download: Enlarge your receive buffer.Ludovic Courtès2014-05-232-2/+12
| | | | | | | * guix/build/download.scm (open-connection-for-uri): Remove call to 'setsockopt'. * guix/http-client.scm (open-socket-for-uri)[rmem-max, buffer-size]: New variables. Add call to 'setsockopt'.
* guix system: Add 'disk-image' action.Ludovic Courtès2014-05-222-6/+26
| | | | | | | | * guix/scripts/system.scm (show-help): Add 'disk-image'. (guix-system)[parse-options]: Support 'disk-image' action. [option-arguments]: Likewise. Handle the 'disk-image' action. * doc/guix.texi (Invoking guix system): Document 'disk-image'.
* vm: Add 'system-disk-image'.Ludovic Courtès2014-05-221-2/+38
| | | | * gnu/system/vm.scm (system-disk-image): New procedure.
* Add (gnu) module.Ludovic Courtès2014-05-224-10/+51
| | | | | | | | | * gnu.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. * build-aux/hydra/demo-os.scm: Use (gnu) and strip import list accordingly. * doc/guix.texi (Using the Configuration System): Adjust example accordingly.
* vm: Use a para-virtualized disk when creating an image.Ludovic Courtès2014-05-222-2/+3
| | | | | | * guix/build/vm.scm (load-in-linux-vm): When MAKE-DISK-IMAGE?, use '-drive ...,if=virtio' for better performance. * gnu/system/vm.scm (qemu-image): Use /dev/vda instead of /dev/sda.
* vm: Make the image format a parameter.Ludovic Courtès2014-05-222-9/+19
| | | | | | | | * guix/build/vm.scm (load-in-linux-vm): Add #:disk-image-format parameter; add 'image-file' variable. Honor DISK-IMAGE-FORMAT. * gnu/system/vm.scm (expression->derivation-in-linux-vm): Add #:disk-image-format parameter, and honor it. (qemu-image): Likewise.
* linux-initrd: Build /dev/loop* nodes.Ludovic Courtès2014-05-221-0/+8
| | | | | * guix/build/linux-initrd.scm (make-essential-device-nodes): Build /dev/loop[0-7].
* gnu: imagemagick: Upgrade to 6.8.9-0.Andreas Enge2014-05-221-2/+2
| | | | * gnu/packages/imagemagick.scm (imagemagick): Upgrade to 6.8.9-0.
* gnu: perl-io-tty: Upgrade to 1.11.Andreas Enge2014-05-221-2/+2
| | | | * gnu/packages/perl.scm (perl-io-tty): Upgrade to 1.11.
* guix: download: Update imagemagick mirrors.Andreas Enge2014-05-221-6/+23
| | | | | * guix/download.scm (%mirrors)[imagemagick]: Update and add the legacy subdirectory of the main site as a last resort.
* build: Fix builds without --with-libgcrypt-prefix nor --with-libgcrypt-libdir.Ludovic Courtès2014-05-221-1/+6
| | | | | | | | | | | | Reported by Manolis Ragkousis <manolis837@gmail.com>. Fixes a regression introduced in 14af289. Before this commit, ./configure would leave LIBGCRYPT_PREFIX and LIBGCRYPT_LIBDIR undefined, leading to LIBGCRYPT_LIBS="-L -lgcrypt" and thus to a link failure. * configure.ac: Make sure $LIBGCRYPT_PREFIX and $LIBGCRYPT_LIBDIR are never empty.
* vm: Modularize build-side code.Ludovic Courtès2014-05-212-48/+64
| | | | | | | | | | * guix/build/install.scm (install-grub): Call 'error' if 'system*' returns non-zero. * guix/build/vm.scm (initialize-partition-table): Make 'partition-size' a positional parameter. Call 'error' when 'system*' returns non-zero'. (format-partition, initialize-root-partition): New procedures. (initialize-hard-disk): Use them.
* vm: Remove misleading comment.Ludovic Courtès2014-05-211-2/+1
| | | | * guix/build/vm.scm (load-in-linux-vm): Remove misleading comment.
* gnu: Add wpa_supplicant.Ludovic Courtès2014-05-211-0/+60
| | | | * gnu/packages/admin.scm (wpa-supplicant): New variable.
* store: Flush the output when the build process emits '\r'.Ludovic Courtès2014-05-211-0/+8
| | | | | | | | | This allows progress reports emitted by 'substitute-binary' to be correctly displayed. * guix/store.scm (%newlines): New variable. (process-stderr) <%stderr-next>: Flush (current-build-output-port) when S contains one of %NEWLINES.
* Augment (guix).Ludovic Courtès2014-05-201-2/+4
| | | | * guix.scm (%public-modules): Add 'monads' and 'gexp'.
* Add (gnu system file-systems).Ludovic Courtès2014-05-206-52/+79
| | | | | | | | | | | | | This fixes a circular dependency between (gnu system) and (gnu system linux-initrd), where the latter could end up being compiled before 'file-system-type' was defined as a macro. * gnu/system.scm (<file-system>, %fuse-control-file-system, %binary-format-file-system): Move to... * gnu/system/file-systems.scm: ... here. New file. * build-aux/hydra/demo-os.scm, gnu/system/linux-initrd.scm, gnu/system/vm.scm: Use it. * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* linux-initrd: Display a backtrace when the initial program fails.Ludovic Courtès2014-05-201-1/+3
| | | | | | * guix/build/linux-initrd.scm (boot-system): Add pre-unwind handler in 'catch' form around 'primitive-load', and call 'format' and 'display-backtrace' from there.
* vm: Fix typo.Ludovic Courtès2014-05-201-1/+1
| | | | | | Regression introduced in e38e18f. * guix/build/vm.scm (initialize-hard-disk)[partition]: Use a string.
* gnu: Add ccache.Eric Bavier2014-05-203-0/+216
| | | | | | | * gnu/packages/ccache.scm: New file. * gnu/packages/patches/ccache-stdc-predef-test.patch: New patch. * gnu-system.am (GNU_SYSTEM_MODULES): Add ccache.scm. (dist_patch_DATA): Add patch.
* gnu: Edit synopses of petsc packages.Eric Bavier2014-05-201-10/+4
| | | | | | * gnu/packages/maths.scm (petsc) [synopsis]: Shorten. (petsc-complex,petsc-openmpi,petsc-complex-openmpi) [synopsis]: Repeat synopsis from petsc package with extensions. [description]: Remove.
* gnu: offlineimap: fix license.Eric Bavier2014-05-201-1/+1
| | | | * gnu/packages/mail.scm (offlineimap) [license]: Change to gpl2+.
* gnu: Add mu.Eric Bavier2014-05-201-0/+45
| | | | * gnu/packages/mail.scm (mu): New variable.
* gnu: Add offlineimapEric Bavier2014-05-201-0/+28
| | | | * gnu/packages/mail.scm (offlineimap): New variable.
* gnu: Add Linux kbd.Ludovic Courtès2014-05-191-0/+38
| | | | * gnu/packages/linux.scm (kbd): New variable.
* ui: Gracefully deal with zero-output derivations.Ludovic Courtès2014-05-192-8/+21
| | | | | | | * guix/ui.scm (show-what-to-build)[built-or-substitutable?]: New procedure. Check whether OUT is #f. Use it. * tests/ui.scm ("show-what-to-build, zero outputs"): New test.
* guix system: Check whether we are installing to /.Ludovic Courtès2014-05-191-3/+5
| | | | * guix/scripts/system.scm (install): Check whether TARGET is / and warn.
* guix system: Factorize out closure copy.Ludovic Courtès2014-05-191-13/+17
| | | | | * guix/scripts/system.scm (copy-closure): New procedure. (install): Use it.
* doc: Show the 'bootloader' field in system example.Ludovic Courtès2014-05-191-0/+2
| | | | | * doc/guix.texi (Using the Configuration System): Add 'bootloader' field.
* guix system: 'guix system init' installs GRUB by default.Ludovic Courtès2014-05-192-28/+61
| | | | | | | | | | | * guix/scripts/system.scm (install): Add #:grub?, #:grub.cfg, and #:device parameters; honor them. (show-help): Document '--no-grub'. (%options): Add '--no-grub'. (%default-options): Add 'install-grub?'. (guix-system): Honor 'install-grub?' option from OPTS. Adjust 'install' call accordingly. * doc/guix.texi (Invoking guix system): Document '--no-grub'.
* vm: Make the device name a parameter.Ludovic Courtès2014-05-192-8/+13
| | | | | | | * guix/build/vm.scm (initialize-partition-table): Honor 'device' parameter. (initialize-hard-disk): Add 'device' parameter and honor it. * gnu/system/vm.scm (qemu-image): Adjust accordingly.
* gnu: Add superlu-dist package.Eric Bavier2014-05-193-0/+123
| | | | | | * gnu/packages/maths.scm (superlu-dist): New variable. * gnu/packages/patches/superlu-dist-scotchmetis.patch: New patch. * gnu-system.am (dist_patch_DATA): Add it.
* gnu: Add pt-scotch package.Eric Bavier2014-05-191-0/+30
| | | | * gnu/packages/maths.scm (pt-scotch): New variable.
* gnu: Add scotch package.Eric Bavier2014-05-193-0/+217
| | | | | | * gnu/packages/maths.scm (scotch): New variable. * gnu/packages/patches/scotch-test-threading.patch: New patch. * gnu-system.am (dist_patch_DATA): Add it.
* guix: licenses: Add CeCILL-C license.Eric Bavier2014-05-191-0/+6
| | | | * guix/licenses.scm (cecill-c): New variable.
* system: Prevent grub.cfg from being GC'd.Ludovic Courtès2014-05-181-5/+12
| | | | | * guix/build/install.scm (install-grub): Use 'copy-file' instead of 'symlink' for GRUB.CFG.
* system: Add 'grub-configuration' record.Ludovic Courtès2014-05-183-15/+38
| | | | | | | | | | | * gnu/system/grub.scm (<grub-configuration>): New record type. (grub-configuration-file): Add 'config' parameter; remove #:default-entry and #:timeout. Honor CONFIG. * gnu/system.scm (<operating-system>): Remove 'bootloader-entries' field; remove default value for 'bootloader' field. (operating-system-grub.cfg): Pass the 'bootloader' field to 'grub-configuration-file'. * build-aux/hydra/demo-os.scm (bootloader): New field.
* guix system: Add 'init' sub-command.Ludovic Courtès2014-05-182-9/+93
| | | | | | | | | * guix/scripts/system.scm (install): New procedure. (guix-system)[parse-option]: Remove check for extraneous arguments. [match-pair, option-arguments]: New procedures. Use 'option-arguments'. Honor 'init'. (show-help): Document 'init'. * doc/guix.texi (Invoking guix system): Document 'init'.
* store: Change #:store parameter to #:prefix.Ludovic Courtès2014-05-181-5/+5
| | | | * guix/store.scm (register-path): Change #:store to #:prefix.