summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-05-28guix environment: Add --ad-hoc option.David Thompson
* guix/scripts/environment.scm (%options): Add "ad-hoc" option. (show-help): Display help for "--ad-hoc". (packages+propagated-inputs): New procedure. (guix-environment): Create ad hoc environment when asked. * doc/guix.texi ("invoking guix environment"): Document it.
2015-05-28profiles: Deal with non-directory items in share/icons.Ludovic Courtès
Reported by Mark H Weaver <mhw@netris.org>. * guix/profiles.scm (gtk-icon-themes)[build]: Check whether DIR is a directory before calling 'ensure-writable-directory'.
2015-05-27profiles: Export 'ensure-writable-directory' and use it.Ludovic Courtès
* guix/build/profiles.scm (ensure-writable-directory): Export. * guix/profiles.scm (gtk-icon-themes)[build]: Remove '@@' form and use (guix build profiles).
2015-05-27profiles: Don't assume all the inputs are of a package are packages.Ludovic Courtès
Reported by Ricardo Wurmus. * guix/profiles.scm (gtk-icon-themes)[entry-lookup-gtk+](find-among-packages): Rename to... (find-among-inputs): ... this. Check whether INPUT is a package before calling 'package-name'. Fixes a regression introduced in b04af0e.
2015-05-27doc: Clarify that --disable-chroot is needed for non-root users.Ludovic Courtès
* doc/guix.texi (Build Environment Setup, Invoking guix-daemon): Mention --disable-chroot as needed for non-root users.
2015-05-27install: Use the actual store name when building the tarball.Ludovic Courtès
* gnu/system/install.scm (self-contained-tarball): Use (%store-directory) instead of "/gnu".
2015-05-27gnu: chibi-scheme: Update to 0.7.3.Taylan Ulrich Bayırlı/Kammer
* gnu/packages/scheme.scm (chibi-scheme): Update to 0.7.3. Change URL.
2015-05-27gnu: Add edirect.Ricardo Wurmus
* gnu/packages/bioinformatics.scm (edirect): New variable.
2015-05-27profiles: Use 'derivation?' to filter hooks.宋文武
Fixes a regression introduced in 07eaecfa. * guix/profiles.scm (profile-derivation): Use 'derivation?' instead of 'gexp?' to filter hooks.
2015-05-27profiles: Add gtk-icon-themes hook.宋文武
* guix/profiles.scm (gtk-icon-themes): New function. (%default-profile-hooks): Add it.
2015-05-27gnu: shogun: Remove non-free source files.Ricardo Wurmus
* gnu/packages/bioinformatics.scm (shogun)[source]: Add snippet to remove non-free sources.
2015-05-27monads: 'foldm', 'mapm', and 'anym' now take a list of regular values.Ludovic Courtès
* guix/monads.scm (foldm, mapm, anym): Change to take a list of regular values as is customary. * tests/monads.scm ("mapm", "anym"): Adjust accordingly.
2015-05-27tests: Make sure %BOOTSTRAP-GUILE is available when we need it.Ludovic Courtès
* tests/derivations.scm ("derivation-prerequisites and valid-derivation-input?"): Renamed from "derivation-prerequisites and derivation-input-is-valid?". Build %BOOTSTRAP-GUILE. This fixes a regression introduced in cdb5b07 when running the whole test suite.
2015-05-26profiles: Hooks always return a monadic value.Ludovic Courtès
Suggested by 宋文武 <iyzsong@gmail.com>. * guix/profiles.scm (ghc-package-cache-file): Return a monadic #f, not just #f, when MANIFEST contains no GHC package. (profile-derivation): Do not filter based on the return value of HOOK; instead filter based on the value of items in EXTRAS.
2015-05-26ui: Improve error reporting for 'read/eval'.Ludovic Courtès
The effect is visible on commands like: guix build -e '(+ 2 "foo")' guix build -e '()' * guix/ui.scm (read/eval): Change handler to properly report syntax errors and use 'display-error' for other errors.
2015-05-26gc: ignore trailing slash or subdirectories for `guix gc -d'Cyrill Schenkel
Fixes <http://bugs.gnu.org/19757>. * guix/scripts/gc.scm (guix-gc): Convert paths to direct store paths. * guix/store.scm (direct-store-path): Get rid of subdirectories in store path. * tests/guix-gc.sh: New tests. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-05-26gnu: Add wxmaxima.Mark H Weaver
* gnu/packages/maths.scm (wxmaxima): New variable.
2015-05-26gnu: maxima: Update to 5.36.1.Mark H Weaver
* gnu/packages/patches/maxima-defsystem-mkdir.patch: New file. * gnu-system.am (dist_patch_DATA): Add it. * gnu/packages/maths.scm (maxima): Update to 5.36.1. Add patch.
2015-05-26gnu: imagemagick: Update to 6.9.1-3.Mark H Weaver
* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.1-3.
2015-05-26Merge branch 'gtk-rebuild'宋文武
2015-05-25Augment '.gitignore'.Ludovic Courtès
2015-05-25guix system: Add '--on-error'.Ludovic Courtès
* guix/ui.scm (load*): Add #:on-error parameter. [tag, error-string]: New variables. Wrap 'load' call in 'call-with-prompt'. Pass TAG to 'make-stack'. Honor ON-ERROR after 'report-load-error' call. (report-load-error): Change to not exit on error. Make private. * guix/scripts/system.scm (show-help, %options): Add --on-error. (guix-system): Use 'load*' and pass it #:on-error.
2015-05-25guix package: --manifest DTRT when combined with --dry-run.Ludovic Courtès
* guix/scripts/package.scm (guix-package)[process-actions]: Process 'manifest action regardless of whether 'dry-run? is set. Adjust the message accordingly. * tests/guix-package.sh: Add error-reporting test.
2015-05-25ui: Auto-compile user code, and improve error reporting.Ludovic Courtès
Reported by Christian Grothoff. * guix/ui.scm (load*): Add 'frame-with-source'. Set %load-should-auto-compile. Change error handle to just (exit 1). Add pre-unwind handler to capture the stack and call 'report-load-error'. (report-load-error): Add optional 'frame' parameter and pass it to 'display-error'. * tests/guix-system.sh: Add "unbound variable" test.
2015-05-25doc: Fix inaccurate wording in "operating-system Reference".Ludovic Courtès
* doc/guix.texi (operating-system Reference): Add missing "kernel".
2015-05-25system: Define '%base-user-accounts'.Ludovic Courtès
* gnu/system/shadow.scm (%base-user-accounts): New variable. * gnu/system.scm (<operating-system>)[users]: Use it as the default value. * gnu/system/examples/bare-bones.tmpl (users): Use it. * gnu/system/examples/desktop.tmpl (users): Likewise. * doc/guix.texi (operating-system Reference, User Accounts): Adjust accordingly.
2015-05-24gnu: Add xmlsec.Andreas Enge
* gnu/packages/xml.scm (xmlsec): New variable.
2015-05-24system: Make sure user accounts refer to existing groups.Ludovic Courtès
Fixes <http://bugs.gnu.org/20646>. Reported by David Thompson <davet@gnu.org>. * gnu/system/shadow.scm (assert-valid-users/groups): New procedure * gnu/system.scm (operating-system-activation-script): Use it. * tests/guix-system.sh (make_user_config): New function. Add 3 tests using it. * po/guix/POTFILES.in: Add gnu/system/shadow.scm.
2015-05-24ui: Make 'symlink' replacement more future-proof.Ludovic Courtès
* guix/ui.scm (symlink): Change next-to-last 'throw' argument to explicitly ignore ARGS; change last argument to (list errno).
2015-05-24ui: Add 'copy-file' replacement with better error reporting.Ludovic Courtès
* guix/ui.scm (copy-file): New procedure.
2015-05-24guix system: init: Copy the closure of 'grub.cfg', not that of the system.Ludovic Courtès
Fixes <http://bugs.gnu.org/20591>. Reported by Daniel Pimentel <d4n1@openmailbox.org>. * guix/scripts/system.scm (install): Copy the closure of GRUB.CFG rather than that of OS-DIR.
2015-05-24guix system: Always add zero previous entries in grub.cfg for 'init'.Ludovic Courtès
* guix/scripts/system.scm (grub.cfg): Remove. (perform-action): Call 'operating-system-grub.cfg' with the empty list as the 2nd argument when ACTION is 'init.
2015-05-24gnu: seahorse: Add SSH support.Ricardo Wurmus
* gnu/packages/gnome.scm (seahorse)[inputs]: Add "openssh".
2015-05-24gnu: Add seahorse.Ricardo Wurmus
* gnu/packages/gnome.scm (seahorse): New variable.
2015-05-24gnu: Add gnome-keyring.Ricardo Wurmus
* gnu/packages/gnome.scm (gnome-keyring): New variable.
2015-05-24gnu: Add GCR.Ricardo Wurmus
* gnu/packages/gnome.scm (gcr): New variable.
2015-05-23Merge branch 'master' into gtk-rebuildMark H Weaver
2015-05-24guix system: init: Make sure the target is root-owned.Ludovic Courtès
Suggested by Mark H Weaver <mhw@netris.org>. * guix/scripts/system.scm (install): Add 'chown' and 'chmod' calls for TARGET when running as root, and warn otherwise.
2015-05-24gnu: linux-boot: Remove outdated and misleading comment.Ludovic Courtès
* gnu/build/linux-boot.scm (boot-system): Remove outdated comment.
2015-05-23gnu: bluez: Install the library and header files.Andreas Enge
* gnu/packages/linux.scm (bluez)[arguments]: Add --enable-library to #:configure-flags.
2015-05-23gnu: dbus-glib: Propagate inputs dbus and glib.Andreas Enge
* gnu/packages/glib.scm (dbus-glib): Propagate inputs dbus and glib. * gnu/packages/audio.scm (patchage), gnu/packages/gnuzilla.scm (icecat), gnu/packages/python.scm (python-dbus): Drop inputs dbus and glib. * gnu/packages/gnome.scm (colord, gconf, gnome-vfs, upower), gnu/packages/mail.scm (claws-mail), gnu/packages/messaging.scm (hexchat), gnu/packages/wicd.scm (wicd): Drop input dbus.
2015-05-23doc: Add "Running Guix Before It Is Installed".Ludovic Courtès
* doc/guix.texi (Running Guix Before It Is Installed): New node. (Packaging Guidelines): Refer to it.
2015-05-23doc: Update detailed node list.Ludovic Courtès
* doc/guix.texi (Top): Add "package Reference" and "origin Reference" in detailed node list.
2015-05-23doc: Change "GSD" to "GuixSD".Ludovic Courtès
* doc/emacs.texi (Emacs Initial Setup): Change "GSD" to "GuixSD".
2015-05-23gnu: gnutls: Update to 3.4.1.Mark H Weaver
* gnu/packages/patches/gnutls-fix-duplicate-manpages.patch: Remove file. * gnu-system.am (dist_patch_DATA): Remove it. * gnu/packages/gnutls.scm (gnutls): Update to 3.4.1. Remove patch.
2015-05-23gnu: librsvg: Update to 2.40.9.宋文武
* gnu/packages/gnome.scm (librsvg): Update to 2.40.9.
2015-05-23gnu: Add adwaita-icon-theme.宋文武
* gnu/packages/gnome.scm (adwaita-icon-theme): New variable.
2015-05-23gnu: gtk+: Add SVG support to 'gtk-encode-symbolic-svg'.宋文武
* gnu/packages/gtk.scm (gtk+)[inputs]: Add librsvg. [arguments]: Add 'wrap-gtk-encode-symbolic-svg' phase.
2015-05-22gnu: gnutls: Update to 3.4.1.Mark H Weaver
* gnu/packages/patches/gnutls-fix-duplicate-manpages.patch: Remove file. * gnu-system.am (dist_patch_DATA): Remove it. * gnu/packages/gnutls.scm (gnutls): Update to 3.4.1. Remove patch.
2015-05-23gnu: gtk+: Update to 3.16.3.宋文武
* gnu/packages/gtk.scm (gtk+): Update to 3.16.3.