summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-05-23download: Enlarge your receive buffer.Ludovic Courtès
* 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'.
2014-05-22guix system: Add 'disk-image' action.Ludovic Courtès
* 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'.
2014-05-22vm: Add 'system-disk-image'.Ludovic Courtès
* gnu/system/vm.scm (system-disk-image): New procedure.
2014-05-22Add (gnu) module.Ludovic Courtès
* 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.
2014-05-22vm: Use a para-virtualized disk when creating an image.Ludovic Courtès
* 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.
2014-05-22vm: Make the image format a parameter.Ludovic Courtès
* 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.
2014-05-22linux-initrd: Build /dev/loop* nodes.Ludovic Courtès
* guix/build/linux-initrd.scm (make-essential-device-nodes): Build /dev/loop[0-7].
2014-05-22gnu: imagemagick: Upgrade to 6.8.9-0.Andreas Enge
* gnu/packages/imagemagick.scm (imagemagick): Upgrade to 6.8.9-0.
2014-05-22gnu: perl-io-tty: Upgrade to 1.11.Andreas Enge
* gnu/packages/perl.scm (perl-io-tty): Upgrade to 1.11.
2014-05-22guix: download: Update imagemagick mirrors.Andreas Enge
* guix/download.scm (%mirrors)[imagemagick]: Update and add the legacy subdirectory of the main site as a last resort.
2014-05-22build: Fix builds without --with-libgcrypt-prefix nor --with-libgcrypt-libdir.Ludovic Courtès
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.
2014-05-21vm: Modularize build-side code.Ludovic Courtès
* 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.
2014-05-21vm: Remove misleading comment.Ludovic Courtès
* guix/build/vm.scm (load-in-linux-vm): Remove misleading comment.
2014-05-21gnu: Add wpa_supplicant.Ludovic Courtès
* gnu/packages/admin.scm (wpa-supplicant): New variable.
2014-05-21store: Flush the output when the build process emits '\r'.Ludovic Courtès
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.
2014-05-20Augment (guix).Ludovic Courtès
* guix.scm (%public-modules): Add 'monads' and 'gexp'.
2014-05-20Add (gnu system file-systems).Ludovic Courtès
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.
2014-05-20linux-initrd: Display a backtrace when the initial program fails.Ludovic Courtès
* 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.
2014-05-20vm: Fix typo.Ludovic Courtès
Regression introduced in e38e18f. * guix/build/vm.scm (initialize-hard-disk)[partition]: Use a string.
2014-05-20gnu: Add ccache.Eric Bavier
* 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.
2014-05-20gnu: Edit synopses of petsc packages.Eric Bavier
* gnu/packages/maths.scm (petsc) [synopsis]: Shorten. (petsc-complex,petsc-openmpi,petsc-complex-openmpi) [synopsis]: Repeat synopsis from petsc package with extensions. [description]: Remove.
2014-05-20gnu: offlineimap: fix license.Eric Bavier
* gnu/packages/mail.scm (offlineimap) [license]: Change to gpl2+.
2014-05-20gnu: Add mu.Eric Bavier
* gnu/packages/mail.scm (mu): New variable.
2014-05-20gnu: Add offlineimapEric Bavier
* gnu/packages/mail.scm (offlineimap): New variable.
2014-05-19gnu: Add Linux kbd.Ludovic Courtès
* gnu/packages/linux.scm (kbd): New variable.
2014-05-19ui: Gracefully deal with zero-output derivations.Ludovic Courtès
* 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.
2014-05-19guix system: Check whether we are installing to /.Ludovic Courtès
* guix/scripts/system.scm (install): Check whether TARGET is / and warn.
2014-05-19guix system: Factorize out closure copy.Ludovic Courtès
* guix/scripts/system.scm (copy-closure): New procedure. (install): Use it.
2014-05-19doc: Show the 'bootloader' field in system example.Ludovic Courtès
* doc/guix.texi (Using the Configuration System): Add 'bootloader' field.
2014-05-19guix system: 'guix system init' installs GRUB by default.Ludovic Courtès
* 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'.
2014-05-19vm: Make the device name a parameter.Ludovic Courtès
* 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.
2014-05-19gnu: Add superlu-dist package.Eric Bavier
* 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.
2014-05-19gnu: Add pt-scotch package.Eric Bavier
* gnu/packages/maths.scm (pt-scotch): New variable.
2014-05-19gnu: Add scotch package.Eric Bavier
* gnu/packages/maths.scm (scotch): New variable. * gnu/packages/patches/scotch-test-threading.patch: New patch. * gnu-system.am (dist_patch_DATA): Add it.
2014-05-19guix: licenses: Add CeCILL-C license.Eric Bavier
* guix/licenses.scm (cecill-c): New variable.
2014-05-18system: Prevent grub.cfg from being GC'd.Ludovic Courtès
* guix/build/install.scm (install-grub): Use 'copy-file' instead of 'symlink' for GRUB.CFG.
2014-05-18system: Add 'grub-configuration' record.Ludovic Courtès
* 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.
2014-05-18guix system: Add 'init' sub-command.Ludovic Courtès
* 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'.
2014-05-18store: Change #:store parameter to #:prefix.Ludovic Courtès
* guix/store.scm (register-path): Change #:store to #:prefix.
2014-05-18vm: Avoid resetting timestamps twice.Ludovic Courtès
* guix/build/vm.scm (initialize-hard-disk): Don't call 'reset-timestamps' when REGISTER-CLOSURES? is true. * guix/build/install.scm (register-closure): Mention timestamps in docstring.
2014-05-18gnu: openmpi: Add memchecker support.Eric Bavier
* gnu/packages/mpi.scm (openmpi) [inputs]: Add valgrind. Unpropagate gfortran. [arguments]: Add configure flags for memchecker.
2014-05-18system: Make /run/current-system at activation time.Ludovic Courtès
* gnu/system.scm (etc-directory): Change default value of #:profile. Change contents of SHELLS. Use /run/current-system/profile/{s,}bin in BASHRC. (operating-system-boot-script)[%modules]: Add (guix build linux-initrd). Add call to 'activate-current-system' in gexp. (operating-system-initrd-file, operating-system-grub.cfg): New procedures. (operating-system-derivation): Don't build grub.cfg here and remove it from the file union. * gnu/system/vm.scm (qemu-image): Remove #:populate. (operating-system-build-gid, operating-system-default-contents): Remove. (system-qemu-image): Remove call to 'operating-system-default-contents'. Use 'operating-system-grub.cfg' to get grub.cfg. Add GRUB.CFG to #:inputs. (system-qemu-image/shared-store): Likewise, but don't add GRUB.CFG to #:inputs. (system-qemu-image/shared-store-script): Pass --system kernel option. * guix/build/activation.scm (%booted-system, %current-system): New variables. (boot-time-system, activate-current-system): New procedures. * guix/build/install.scm (evaluate-populate-directive): Add case for ('directory name uid gid mode). (directives, populate-root-file-system): New procedures. * guix/build/vm.scm (initialize-hard-disk): Replace calls to 'evaluate-populate-directive' by a call to 'populate-root-file-system'. * gnu/services/dmd.scm (dmd-configuration-file): Use /run/current-system/profile/bin. * gnu/services/xorg.scm (slim-service): Likewise.
2014-05-17gnu: soprano: Add input redland.Andreas Enge
* gnu/packages/rdf.scm (soprano): Add inputs redland and rasqal, drop raptor2 (propagated by rasqal).
2014-05-17gnu: Add redland.Andreas Enge
* gnu/packages/rdf.scm (redland): New variable.
2014-05-17gnu: rasqal: Propagate input raptor2.Andreas Enge
* gnu/packages/rdf.scm (rasqal): Propagate input raptor2 as indicated in the pkg-config file.
2014-05-17build: Add --with-libgcrypt-libdir=DIR to support Debian's multi-arch layout.Ludovic Courtès
* configure.ac: Remove 'LIBGCRYPT_PREFIX' and use 'LIBGCRYPT_LIBDIR' instead. Add --with-libgcrypt-libdir=DIR option. * Makefile.am (AM_DISTCHECK_CONFIGURE_FLAGS): Pass '--with-libgcrypt-libdir'. * config-daemon.ac: Honor $LIBGCRYPT_LIBDIR when computing LIBGCRYPT_LIBS.
2014-05-17gnu: Add rasqal.Andreas Enge
* gnu/packages/rdf.scm (rasqal): New variable.
2014-05-17store: Add #:store parameter to 'register-path'.Ludovic Courtès
* guix/store.scm (register-path): Add #:store and honor it.
2014-05-16linux-initrd: Factorize kernel command-line option parsing.Ludovic Courtès
* guix/build/linux-initrd.scm (find-long-option): New procedure. (boot-system): Use it instead of the local 'option'.
2014-05-16hydra: Add dummy root file system declaration.Ludovic Courtès
* build-aux/hydra/demo-os.scm (file-systems): Add "/" file system.