summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-09-23build: check-available-binaries: Adjust to derivation API change.Ludovic Courtès
* build-aux/check-available-binaries.scm: Use 'derivation->output-path' instead of 'derivation-path->output-path'.
2013-09-23nar: Fix file descriptor leak when writing a Nar.Ludovic Courtès
* guix/nar.scm (write-contents)[call-with-binary-input-file]: Always close PORT.
2013-09-23doc: Document '--list-generations' among the query options.Ludovic Courtès
* doc/guix.texi (Invoking guix package): Move '--list-generations' below "In addition to these actions".
2013-09-23guix package: Show most recently installed packages last.Ludovic Courtès
Suggested by Andreas Enge <andreas@enge.fr>. * guix/scripts/package.scm (guix-package)[list-generations, list-installed]: Reverse the result of 'manifest-packages'. * doc/guix.texi (Invoking guix package): Document the order of packages for '--list-generations' and '--list-installed'.
2013-09-23Add 'guix-register'.Ludovic Courtès
* nix/guix-register/guix-register.cc, tests/guix-register.sh: New files. * Makefile.am (SH_TESTS)[BUILD_DAEMON]: Add tests/guix-register.sh. * daemon.am (sbin_PROGRAMS, guix_register_SOURCES, guix_register_CPPFLAGS, guix_register_LDADD): New variables. * test-env.in: Export 'storedir', 'prefix', 'datarootdir', 'datadir', and 'localstatedir'.
2013-09-23build: Build the daemon with -Wall.Ludovic Courtès
* daemon.am (AM_CXXFLAGS): New variable.
2013-09-22gnu: Add mutt.Andreas Enge
* gnu/packages/mail.scm (mutt): New variable.
2013-09-22gnu: Add fetchmail.Andreas Enge
* gnu/packages/mail.scm (fetchmail): New variable.
2013-09-22gnu: Rename module mailutils to mail.Andreas Enge
* gnu/packages/mail.scm: Rename from gnu/packages/mailutils.scm. * gnu-system.am: Rename the module.
2013-09-22gnu: Add gnome-doc-utils.Andreas Enge
* gnu/packages/gnome.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add module.
2013-09-22gnu: Add gst-plugins-base.Andreas Enge
* gnu/packages/gstreamer.scm (gst-plugins-base): New variable.
2013-09-22gnu: gstreamer: Depend on python-wrapper.Andreas Enge
* gnu/packages/gstreamer.scm (gstreamer): Replace input python by python-wrapper.
2013-09-22gnu: Add gstreamer.Andreas Enge
* gnu/packages/gstreamer.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add module.
2013-09-22gnu: xcursor-themes: Install data into package output directory.Andreas Enge
* gnu/packages/xorg.scm (xcursor-themes): Install icons into output directory instead of libxcursor.
2013-09-22gnu: Add python2-pyicu.Andreas Enge
* gnu/packages/python.scm (python2-pyicu): New variable.
2013-09-21guix package: Sort the list of generation numbers in '--list-generations'.Ludovic Courtès
* guix/scripts/package.scm (generation-numbers): Sort the result.
2013-09-21guix package: Internationalize "Generation" string.Ludovic Courtès
* guix/scripts/package.scm (guix-package): Internationalize generation listing.
2013-09-21Thank Cyrill.Ludovic Courtès
2013-09-21pull: Adjust to 'derivation' API change.Ludovic Courtès
Fixes <http://bugs.gnu.org/15428>. Reported by Cyrill Schenkel <cyrill.schenkel@gmail.com>. * guix/scripts/pull.scm (guix-pull): 'unpack' returns a single value.
2013-09-21gnu: Add python-simplejson, python2-simplejson.Andreas Enge
* gnu/packages/python.scm (python-simplejson, python2-simplejson): New variables.
2013-09-21gnu: python2-pysqlite: Fix 'license'.Ludovic Courtès
* gnu/packages/python.scm (python2-pysqlite): Refer to (@ (guix licenses) zlib), not to the same-named package.
2013-09-21gnu: QEMU images boots into dmd.Ludovic Courtès
* gnu/system/dmd.scm: New file. * gnu/system/vm.scm (system-qemu-image): Define dmd services. [populate]: Make var/log and etc/group. [boot]: Execute dmd directly. Add dmd and etc-group as inputs; add the inputs of dmd services. * gnu-system.am (GNU_SYSTEM_MODULES): Add gnu/system/dmd.scm.
2013-09-21gnu: Add GNU dmd.Ludovic Courtès
* gnu/packages/system.scm (dmd): New variable.
2013-09-19guix package: Add '--list-generations'.Nikita Karetnikov
* guix/scripts/package.scm: Import (srfi srfi-19). (generation-time, matching-generations): New functions. (show-help): Add '--list-generations'. (%options): Likewise. (guix-package)[process-query]: Add support for '--list-generations'. * guix/ui.scm: Import (srfi srfi-19) and (ice-9 regex). (string->generations, string->duration): New functions. * tests/guix-package.sh: Test '--list-generations'. * tests/ui.scm: Import (srfi srfi-19). Test 'string->generations' and 'string->duration'. * doc/guix.texi (Invoking guix-package): Document '--list-generations'.
2013-09-18hydra: Pass the directory name of the Nix checkout.Ludovic Courtès
* build-aux/hydra/guix.scm (hydra-jobs): Extract the 'file-name' item from NIX-CHECKOUT, and pass that to 'tarball-package'.
2013-09-18hydra: Fix typo.Ludovic Courtès
* build-aux/hydra/guix.scm (tarball-package): Unquote 'nix-checkout'.
2013-09-18hydra: Add missing import.Ludovic Courtès
* build-aux/hydra/gnu-system.scm, build-aux/hydra/guix.scm: Use (guix derivations).
2013-09-18hydra: Return the .drv file names, not the <derivation> objects.Ludovic Courtès
* build-aux/hydra/gnu-system.scm (package->alist): Call 'derivation-file-name' on the result of 'package-derivation'. * build-aux/hydra/guix.scm (package->alist): Likewise.
2013-09-18hydra: Point the Git submodule to our local copy.Ludovic Courtès
* build-aux/hydra/guix.scm (tarball-package): Add 'nix-checkout' parameter. Replace 'patch-bootstrap-script' phase by 'set-nix-module'. (hydra-jobs): Get the 'nix' value from ARGUMENTS, and pass it to 'tarball-package'.
2013-09-18derivations: 'derivation' and related procedures return a single value.Ludovic Courtès
* guix/derivations.scm (derivation->output-path, derivation->output-paths): New procedures. (derivation-path->output-path): Use 'derivation->output-path'. (derivation-path->output-paths): Use 'derivation->output-paths'. (derivation): Accept 'derivation?' objects as inputs. Return a single value. (build-derivations): New procedure. (compiled-modules): Use 'derivation->output-paths'. (build-expression->derivation)[source-path]: Add case for when the input matches 'derivation?'. [prologue]: Accept 'derivation?' objects in INPUTS. [mod-dir, go-dir]: Use 'derivation->output-path'. * guix/download.scm (url-fetch): Adjust to the single-value return. * guix/packages.scm (package-output): Use 'derivation->output-path'. * guix/scripts/build.scm (guix-build): When the argument is 'derivation-path?', pass it through 'read-derivation'. Use 'derivation-file-name' to print out the .drv file names, and to register them. Use 'derivation->output-path' instead of 'derivation-path->output-path'. * guix/scripts/package.scm (roll-back): Adjust to the single-value return. (guix-package): Use 'derivation->output-path'. * guix/ui.scm (show-what-to-build): Adjust to deal with 'derivation?' objects instead of .drv file names. * gnu/system/grub.scm (grub-configuration-file): Use 'derivation->output-path' instead of 'derivation-path->output-path'. * gnu/system/vm.scm (qemu-image, system-qemu-image): Likewise. * tests/builders.scm, tests/derivations.scm, tests/packages.scm, tests/store.scm, tests/union.scm: Adjust to the new calling convention. * doc/guix.texi (Defining Packages, The Store, Derivations): Adjust accordingly.
2013-09-18tests: Clarify filtering of the "debug" output.Ludovic Courtès
* tests/guix-package.sh: Clearly filter out the "debug" output of 'gnu-make-boot0'.
2013-09-18derivations: Add a nicer printer.Ludovic Courtès
* guix/derivations.scm (<derivation>): Add a printer.
2013-09-17derivations: Keep the .drv file name in <derivation> objects.Ludovic Courtès
* guix/derivations.scm (<derivation>): Add 'file-name' field. (%read-derivation): Use (port-filename DRV-PORT) as the file name for the result. (derivation): Set the 'file-name' field in the result. * tests/derivations.scm ("build derivation with 1 source"): Assert that 'derivation-file-name' returns the right thing.
2013-09-16gnu: dbus: Add dependency on libX11.Ludovic Courtès
* gnu/packages/glib.scm: Use #:export instead of 'define-public'. (dbus): Add LIBX11 as an input.
2013-09-14Merge branch 'python'Andreas Enge
2013-09-13substitute-binary: Add '--help'.Ludovic Courtès
Reported by Nikita Karetnikov <nikita@karetnikov.org>. * guix/scripts/substitute-binary.scm (show-help): New procedure. (guix-substitute-binary): Add '--help'.
2013-09-13gnu: gnutls: Upgrade to 3.2.4.Ludovic Courtès
* gnu/packages/gnutls.scm (gnutls): Update to 3.2.4; remove 'arguments' field, remove "patch/fix-tests" from the inputs. * gnu/packages/patches/gnutls-fix-tests-on-32-bits-system.patch: Remove. * gnu-system.am (dist_patch_DATA): Adjust accordingly.
2013-09-13gnu: Add python2-mechanize.Andreas Enge
* gnu/packages/python.scm (python2-mechanize): New variable.
2013-09-13guix package: Rename generation-related procedures.Nikita Karetnikov
* guix/scripts/package.scm (profile-numbers): Rename to 'generation-numbers'. (previous-profile-number): Rename to 'previous-generation-number'. (profile-number): Rename to 'generation-number'. (roll-back): Rename 'previous-profile' to 'previous-generation'.
2013-09-12gnu: Add python2-sqlite.Andreas Enge
* gnu/packages/python.scm (python2-sqlite): New variable.
2013-09-12Thank Matthias and Yutaka.Ludovic Courtès
2013-09-12daemon: Use 'int' instead of the internal 'gcry_md_algo_t' type.Ludovic Courtès
Fixes compilation with the forthcoming libgcrypt 1.6.x. Reported by Matthias Wachs <wachs@net.in.tum.de> and NIIBE Yutaka <gniibe@fsij.org>. * nix/libutil/gcrypt-hash.cc (guix_hash_init, guix_hash_final): Use 'int' as the type of the 'algo' parameter. * nix/libutil/gcrypt-hash.hh: Update declarations accordingly.
2013-09-11gnu: avahi, dbus: Use /var as $localstatedir.Ludovic Courtès
* gnu/packages/avahi.scm (avahi): Pass '--localstatedir'; add 'patch/localstatedir'. * gnu/packages/glib.scm (dbus): Pass '--localstatedir' and '--with-session-socket-dir'; add 'patch/localstatedir'. * gnu/packages/patches/avahi-localstatedir.patch, gnu/packages/patches/dbus-localstatedir.patch: New files. * gnu-system.am (dist_patch_DATA): Add them.
2013-09-11gnu: Update python-babel, python2-babel to 1.3.Andreas Enge
* gnu/packages/python.scm (python-babel, python2-babel): Update to 1.3.
2013-09-11gnu: Move helper code to (gnu system …) modules.Ludovic Courtès
* gnu/packages/grub.scm (<menu-entry>, grub-configuration-file): Move to... * gnu/system/grub.scm: ... here. New file. * gnu/packages/linux.scm (<pam-service>, <pam-entry>, pam-service->configuration, pam-service->directory, %pam-other-services, unix-pam-service): Move to... * gnu/system/linux.scm: ... here. New file. * gnu/system/vm.scm (passwd-file): Move to... * gnu/system/shadow.scm: ... here. New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add gnu/system/{grub,linux,shadow}.scm.
2013-09-11gnu: vm: Remove potluck hacks.Ludovic Courtès
* gnu/system/vm.scm (example1): Remove. (example2): Rename to... (system-qemu-image): ... this. Add 'store' parameter, and remove call to 'open-connection'.
2013-09-11gnu: Add python-dateutil, python2-dateutil.Andreas Enge
* gnu/packages/python.scm (python-dateutil, python2-dateutil): New variables.
2013-09-11guix: python: Create module installation path and add it to PYTHONPATH duringAndreas Enge
the installation phase. * guix/build/python-build-system.scm (get-python-version): New procedure. * guix/build/python-build-system.scm (install): Create and add path. * gnu/packages/python.scm (python-setuptools): Drop path creation code.
2013-09-11gnu: vm: Setup PAM.Ludovic Courtès
* gnu/system/vm.scm (example2): Use 'pam-services->directory'. Change POPULATE to create /etc/pam.d, /etc/login.defs, and /var/run. Change BOOT to spawn syslogd; boot to Bash. Add inputs.
2013-09-11gnu: vm: Create shadow files with the right format.Ludovic Courtès
* gnu/system/vm.scm (passwd-file): When SHADOW? is true, use the right shadow(5) format. Always add a trailing newline.