aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* guix package: Show which generation is the current one.Nikita Karetnikov2013-09-25
| | | | | | * guix/scripts/package.scm (guix-package)[process-query]: Show that a generation is the current one if the profile points to it. * tests/guix-package.sh: Test it.
* tests: Use 'test -z' to check that a string equals zero.Nikita Karetnikov2013-09-25
|
* guix package: Do not list the zeroth generation.Nikita Karetnikov2013-09-25
| | | | | | | | * guix/scripts/package.scm (guix-package)[process-query]: Change 'list-generation' to not list the zeroth generation. * tests/guix-package.sh: Test it. * doc/guix.texi (Invoking guix package): Document it, and use the right term when talking about generations.
* guix package: Exit with 1 when a generation cannot be listed.Nikita Karetnikov2013-09-25
| | | | | | | * guix/scripts/package.scm (guix-package)[process-query]: Exit with 1 when a generation does not exist or the profile points to the zeroth generation. * tests/guix-package.sh: Test the former case.
* gnu: libksba: Update to 1.3.0.Andreas Enge2013-09-25
| | | | * gnu/packages/gnupg.scm (libksba): Update to 1.3.0.
* gnu: libgcrypt: Update to 1.5.3Andreas Enge2013-09-25
| | | | * gnu/packages/gnupg.scm (libgcrypt): Update to 1.5.3.
* gnu: gnupg: Update to 2.0.21.Andreas Enge2013-09-25
| | | | * gnu/packages/gnupg.scm (gnupg): Update to 2.0.21.
* gnu: pspp: Update to 0.8.1.Andreas Enge2013-09-25
| | | | * gnu/packages/maths.scm (pspp): Update to 0.8.1.
* gnu: fontconfig: Add and register gs-fonts.Andreas Enge2013-09-25
| | | | | | * gnu/packages/fontutils.scm (fontconfig): Add gs-fonts as an input and register it in the configuration file; so any porgram using fontconfig should at least have the gs-fonts at its disposal.
* gnu: guix: Rework 0.4 hack to gracefully handle lack of tarball.Ludovic Courtès2013-09-25
| | | | | * gnu/packages/package-management.scm (guix-0.4): Fall back to the source of GIUX when the tarball doesn't exist.
* gnu: vm: Add a service for the Guix daemon.Ludovic Courtès2013-09-24
| | | | | * gnu/system/dmd.scm (guix-service): New procedure. * gnu/system/vm.scm (system-qemu-image): Use it.
* gnu: vm: Initialize the image's store.Ludovic Courtès2013-09-24
| | | | | | * gnu/system/vm.scm (qemu-image): Add 'initialize-store?' keyword parameter. Use 'guix-register' when INITIALIZE-STORE? is true. (system-qemu-image): Pass #:initialize-store? #t.
* gnu: guix: Set $localstatedir; add gzip as input.Ludovic Courtès2013-09-24
| | | | | * gnu/packages/package-management.scm (guix): Add "--localstatedir=/var". Add GZIP as an explicit input, to avoid referring to the final gzip.
* guix-register: Allow the initial directory creation to proceed.Ludovic Courtès2013-09-24
| | | | | | | | | | This fixes a bug whereby 'guix-register' would bail out when trying to create NIX_STORE_DIR/.links when NIX_STORE_DIR is read-only. * nix/guix-register/guix-register.cc (parse_opt): Initialize 'settings.nixStore' to PREFIX + NIX_STORE_DIR. (main): Change 'settings.nixStore' once the 'LocalStore' has been instantiated.
* gnu: racket: Add dependency on GTK+.Ludovic Courtès2013-09-24
| | | | | * gnu/packages/scheme.scm (racket): Add dependency on GTK+ and gdk-pixbuf.
* gnu: xorg: Fix xorg-server.Andreas Enge2013-09-24
| | | | | | | | | * gnu/packages/xorg.scm (xkbcomp-intermediate): New variable, serves as input to xkeyboard-config. * gnu/packages/xorg.scm (xkeyboard-config): Add input xkbcomp-intermediate. * gnu/packages/xorg.scm (xkbcomp): Add input xkeyboard-config. * gnu/packages/xorg.scm (xorg-server): Adapt xkb paths and replace references to /bin/sh (with Ludovic Courtès <ludo@gnu.org>).
* guix-register: Expect closures to refer to the original store.Ludovic Courtès2013-09-23
| | | | | | | | | | * nix/guix-register/guix-register.cc (prefix): New variable. (parse_opt): Use it. (register_validity): Change 'info.path' to the final store name. Hash the final under its real path. * tests/guix-register.sh: Adjust the contents of $closure accordingly. Rename 'NIX_LOCALSTATE_DIR' to 'NIX_STATE_DIR'. Don't try to call 'valid-path?'. Add test using 'sqlite3'.
* list-packages: Progressive Enhancement approach to JS.Alex Sassmannshausen2013-09-23
| | | | | | | | | | | | | | | | * build-aux/list-packages.scm (package->sxml): Add parameters previous, description-ids and remaining, update docstring accordingly. Introduce logic for fold-values process. (insert-tr): Moved sxml package table-row generation to new function; remove <a> elements and JS function calls. These are created through JS (prep_pkg_descs). Add insert-js-call for every 15th package, and the last. (insert-js-call): New function. (packages->sxml): Change map to fold values; add init params. (insert-js): show_hide: add compatibility check, introduce, use thingLink prep: new JS function. bulk_show_hide: new JS function. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: mutt: Add SASL for authenticated SMTP.Andreas Enge2013-09-23
| | | | * gnu/packages/mail.scm (mutt): Add input cyrus-sasl.
* build: check-available-binaries: Adjust to derivation API change.Ludovic Courtès2013-09-23
| | | | | * build-aux/check-available-binaries.scm: Use 'derivation->output-path' instead of 'derivation-path->output-path'.
* nar: Fix file descriptor leak when writing a Nar.Ludovic Courtès2013-09-23
| | | | | * guix/nar.scm (write-contents)[call-with-binary-input-file]: Always close PORT.
* doc: Document '--list-generations' among the query options.Ludovic Courtès2013-09-23
| | | | | * doc/guix.texi (Invoking guix package): Move '--list-generations' below "In addition to these actions".
* guix package: Show most recently installed packages last.Ludovic Courtès2013-09-23
| | | | | | | | | 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'.
* Add 'guix-register'.Ludovic Courtès2013-09-23
| | | | | | | | | | * 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'.
* build: Build the daemon with -Wall.Ludovic Courtès2013-09-23
| | | | * daemon.am (AM_CXXFLAGS): New variable.
* gnu: Add mutt.Andreas Enge2013-09-22
| | | | * gnu/packages/mail.scm (mutt): New variable.
* gnu: Add fetchmail.Andreas Enge2013-09-22
| | | | * gnu/packages/mail.scm (fetchmail): New variable.
* gnu: Rename module mailutils to mail.Andreas Enge2013-09-22
| | | | | * gnu/packages/mail.scm: Rename from gnu/packages/mailutils.scm. * gnu-system.am: Rename the module.
* gnu: Add gnome-doc-utils.Andreas Enge2013-09-22
| | | | | * gnu/packages/gnome.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add module.
* gnu: Add gst-plugins-base.Andreas Enge2013-09-22
| | | | * gnu/packages/gstreamer.scm (gst-plugins-base): New variable.
* gnu: gstreamer: Depend on python-wrapper.Andreas Enge2013-09-22
| | | | | * gnu/packages/gstreamer.scm (gstreamer): Replace input python by python-wrapper.
* gnu: Add gstreamer.Andreas Enge2013-09-22
| | | | | * gnu/packages/gstreamer.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add module.
* gnu: xcursor-themes: Install data into package output directory.Andreas Enge2013-09-22
| | | | | * gnu/packages/xorg.scm (xcursor-themes): Install icons into output directory instead of libxcursor.
* gnu: Add python2-pyicu.Andreas Enge2013-09-22
| | | | * gnu/packages/python.scm (python2-pyicu): New variable.
* guix package: Sort the list of generation numbers in '--list-generations'.Ludovic Courtès2013-09-21
| | | | * guix/scripts/package.scm (generation-numbers): Sort the result.
* guix package: Internationalize "Generation" string.Ludovic Courtès2013-09-21
| | | | | * guix/scripts/package.scm (guix-package): Internationalize generation listing.
* Thank Cyrill.Ludovic Courtès2013-09-21
|
* pull: Adjust to 'derivation' API change.Ludovic Courtès2013-09-21
| | | | | | | 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.
* gnu: Add python-simplejson, python2-simplejson.Andreas Enge2013-09-21
| | | | | * gnu/packages/python.scm (python-simplejson, python2-simplejson): New variables.
* gnu: python2-pysqlite: Fix 'license'.Ludovic Courtès2013-09-21
| | | | | * gnu/packages/python.scm (python2-pysqlite): Refer to (@ (guix licenses) zlib), not to the same-named package.
* gnu: QEMU images boots into dmd.Ludovic Courtès2013-09-21
| | | | | | | | | * 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.
* gnu: Add GNU dmd.Ludovic Courtès2013-09-21
| | | | * gnu/packages/system.scm (dmd): New variable.
* guix package: Add '--list-generations'.Nikita Karetnikov2013-09-19
| | | | | | | | | | | | | | * 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'.
* hydra: Pass the directory name of the Nix checkout.Ludovic Courtès2013-09-18
| | | | | * build-aux/hydra/guix.scm (hydra-jobs): Extract the 'file-name' item from NIX-CHECKOUT, and pass that to 'tarball-package'.
* hydra: Fix typo.Ludovic Courtès2013-09-18
| | | | * build-aux/hydra/guix.scm (tarball-package): Unquote 'nix-checkout'.
* hydra: Add missing import.Ludovic Courtès2013-09-18
| | | | | * build-aux/hydra/gnu-system.scm, build-aux/hydra/guix.scm: Use (guix derivations).
* hydra: Return the .drv file names, not the <derivation> objects.Ludovic Courtès2013-09-18
| | | | | | * 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.
* hydra: Point the Git submodule to our local copy.Ludovic Courtès2013-09-18
| | | | | | | | * 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'.
* derivations: 'derivation' and related procedures return a single value.Ludovic Courtès2013-09-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* tests: Clarify filtering of the "debug" output.Ludovic Courtès2013-09-18
| | | | | * tests/guix-package.sh: Clearly filter out the "debug" output of 'gnu-make-boot0'.