me
/
guix
Archived
1
0
Fork 0
Commit Graph

6950 Commits (6dc67c02f7083ad739935139aabaa94a442c2706)

Author SHA1 Message Date
Ludovic Courtès 6dc67c02f7 Augment '.gitignore'. 2015-05-25 22:56:57 +02:00
Ludovic Courtès db030303b8 guix system: Add '--on-error'.
* 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-25 22:52:41 +02:00
Ludovic Courtès 5f1087c481 guix package: --manifest DTRT when combined with --dry-run.
* 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-25 21:34:23 +02:00
Ludovic Courtès 2abcc97fd1 ui: Auto-compile user code, and improve error reporting.
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-25 21:34:23 +02:00
Ludovic Courtès fbb25e5651 doc: Fix inaccurate wording in "operating-system Reference".
* doc/guix.texi (operating-system Reference): Add missing "kernel".
2015-05-25 21:34:23 +02:00
Ludovic Courtès bf87f38ace system: Define '%base-user-accounts'.
* 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-25 21:34:23 +02:00
Andreas Enge 0899144f79 gnu: Add xmlsec.
* gnu/packages/xml.scm (xmlsec): New variable.
2015-05-24 22:55:32 +02:00
Ludovic Courtès 0c09a306e5 system: Make sure user accounts refer to existing groups.
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-24 18:02:54 +02:00
Ludovic Courtès 6ec1f4caa3 ui: Make 'symlink' replacement more future-proof.
* guix/ui.scm (symlink): Change next-to-last 'throw' argument to explicitly
  ignore ARGS; change last argument to (list errno).
2015-05-24 17:29:14 +02:00
Ludovic Courtès 9b14107f2d ui: Add 'copy-file' replacement with better error reporting.
* guix/ui.scm (copy-file): New procedure.
2015-05-24 17:27:36 +02:00
Ludovic Courtès f245b03deb guix system: init: Copy the closure of 'grub.cfg', not that of the system.
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-24 17:20:24 +02:00
Ludovic Courtès 328639e48f guix system: Always add zero previous entries in grub.cfg for 'init'.
* 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-24 17:15:16 +02:00
Ricardo Wurmus 4a1bf0907b gnu: seahorse: Add SSH support.
* gnu/packages/gnome.scm (seahorse)[inputs]: Add "openssh".
2015-05-24 12:40:56 +02:00
Ricardo Wurmus df90c701b3 gnu: Add seahorse.
* gnu/packages/gnome.scm (seahorse): New variable.
2015-05-24 12:00:17 +02:00
Ricardo Wurmus e99a3d6fd2 gnu: Add gnome-keyring.
* gnu/packages/gnome.scm (gnome-keyring): New variable.
2015-05-24 12:00:17 +02:00
Ricardo Wurmus 8ff4901196 gnu: Add GCR.
* gnu/packages/gnome.scm (gcr): New variable.
2015-05-24 12:00:17 +02:00
Ludovic Courtès 4a35a866be guix system: init: Make sure the target is root-owned.
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-24 00:26:12 +02:00
Ludovic Courtès 40245ef316 gnu: linux-boot: Remove outdated and misleading comment.
* gnu/build/linux-boot.scm (boot-system): Remove outdated comment.
2015-05-24 00:26:12 +02:00
Andreas Enge 53142109a0 gnu: bluez: Install the library and header files.
* gnu/packages/linux.scm (bluez)[arguments]: Add --enable-library to
  #:configure-flags.
2015-05-23 20:39:57 +02:00
Andreas Enge 2e88d113aa gnu: dbus-glib: Propagate inputs dbus and glib.
* 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-23 17:12:00 +02:00
Ludovic Courtès c71979f416 doc: Add "Running Guix Before It Is Installed".
* doc/guix.texi (Running Guix Before It Is Installed): New node.
  (Packaging Guidelines): Refer to it.
2015-05-23 15:57:18 +02:00
Ludovic Courtès 92492b2383 doc: Update detailed node list.
* doc/guix.texi (Top): Add "package Reference" and "origin Reference" in
  detailed node list.
2015-05-23 15:57:18 +02:00
Ludovic Courtès ba3bcec9d6 doc: Change "GSD" to "GuixSD".
* doc/emacs.texi (Emacs Initial Setup): Change "GSD" to "GuixSD".
2015-05-23 15:57:17 +02:00
Mark H Weaver 936715c9f4 gnu: gnutls: Update to 3.4.1.
* 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-22 23:00:30 -04:00
Mark H Weaver 8605321dd6 gnu: postgresql: Update to 9.3.7.
* gnu/packages/databases.scm (postgresql): Update to 9.3.7.
2015-05-22 15:39:08 -04:00
Ludovic Courtès c95ded7ed6 doc: Clarify the module file name convention.
* doc/guix.texi (Package Modules): Clarify the footnote about the module file
  names convention.  Tweak the wording.
2015-05-22 16:22:00 +02:00
Ricardo Wurmus 748cef5be9 gnu: Add python-rq.
* gnu/packages/python.scm (python-rq, python2-rq): New variables.
2015-05-22 15:23:23 +02:00
Ricardo Wurmus 5394a6a653 gnu: Add python-redis.
* gnu/packages/python.scm (python-redis, python2-redis): New variables.
2015-05-22 15:23:23 +02:00
Ricardo Wurmus 12c270ddd4 gnu: Add python-click.
* gnu/packages/python.scm (python-click, python2-click): New variables.
2015-05-22 15:23:23 +02:00
Ricardo Wurmus 66e3eff1e3 gnu: Add rsem.
* gnu/packages/bioinformatics.scm (rsem): New variable.
* gnu/packages/patches/rsem-makefile.patch: New file.
2015-05-22 13:14:29 +02:00
Ludovic Courtès 21461f27e7 doc: More cross-references.
* doc/guix.texi (Invoking guix package): Add xref to "package Reference".
  (package Reference): Add xref to "Invoking guix package".
  Expound 'native-inputs' example, and add xref to "Invoking guix lint".
2015-05-22 11:51:13 +02:00
Ludovic Courtès a2bf4907df doc: Add a cross-reference to "origin Reference".
* doc/guix.texi (Defining Packages): Add xref to "origin Reference".
2015-05-22 11:51:12 +02:00
Ludovic Courtès 99bd74d549 doc: Make '--manifest' more visible.
* doc/guix.texi (Invoking guix package): Mention the declarative approach and
  --manifest in the intro.  And an anchor for --manifest.  Explain why/how it
  can be used.  Tweak wording.
2015-05-22 11:51:12 +02:00
Ludovic Courtès 6fb4fb717d gnu: guix: Update development snapshot.
* gnu/packages/package-management.scm (guix-devel): Update to c2ee19e.
2015-05-22 11:51:12 +02:00
Ludovic Courtès 60a56db007 services: swap: Use 'restart-on-EINTR'.
* gnu/services/base.scm (swap-service)[start, stop]: Use 'restart-on-EINTR'.
* guix/build/syscalls.scm (swapoff): Fix typo in 'throw' arguments.
2015-05-22 11:51:12 +02:00
Ludovic Courtès ea98270443 syscalls: Add 'restart-on-EINTR'.
* guix/build/syscalls.scm (call-with-restart-on-EINTR): New procedure.
  (restart-on-EINTR): New macro.
2015-05-22 11:51:12 +02:00
Ricardo Wurmus 4520354282 gnu: Add python-pyzmq.
* gnu/packages/python.scm (python-pyzmq, python2-pyzmq): New variables.
2015-05-22 11:03:00 +02:00
Mark H Weaver 56120263a9 gnu: youtube-dl: Update to 2015.05.20.
* gnu/packages/video.scm (youtube-dl): Update to 2015.05.20.
2015-05-22 04:32:33 -04:00
Mark H Weaver 4de02f36ac gnu: fuse: Add fix for CVE-2015-3202.
* gnu/packages/patches/fuse-CVE-2015-3202.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/linux.scm (fuse): Add patch.
2015-05-22 00:10:43 -04:00
Ludovic Courtès c2ee19e685 services: xorg: Add xf86-input-libinput to the server's module path.
* gnu/services/xorg.scm (xorg-configuration-file): Add XF86-INPUT-LIBINPUT.
2015-05-21 22:32:34 +02:00
Ludovic Courtès 1eca6c36ad services: xorg: Assume STARTX is a regular value.
* gnu/services/xorg.scm (slim-service): Expect STARTX to be a regular value,
  not a monadic value.
2015-05-21 22:22:12 +02:00
Ludovic Courtès 12422c9d38 services: xorg: Allow extra config text to be added verbatim.
* gnu/services/xorg.scm (xorg-configuration-file): Add #:extra-config and
  honor it.
* doc/guix.texi (X Window): Adjust accordingly.
2015-05-21 21:33:19 +02:00
Ludovic Courtès d1cdd7ba7a services: xorg: Make 'xorg-configuration-file' public.
* gnu/services/xorg.scm (xorg-configuration-file): New procedure, with code
  formerly in 'xorg-start-command'.
  (xorg-start-command): Remove #:drivers and #:resolutions; add
  #:configuration-file; use it as well as 'xorg-configuration-file'.
2015-05-21 21:33:18 +02:00
Ludovic Courtès a4b1a6b65e guix package: Adjust --help message.
* guix/scripts/package.scm (show-help): Add KIND parameter for
  --search-paths as a followup to dbc31ab.
2015-05-21 21:33:18 +02:00
David Thompson 2d977638c9 scripts: Move 'set-build-options-from-command-line*' to (guix scripts build) module.
* guix/scripts/build.scm (set-build-options-from-command-line*): New
  procedure.
* guix/scripts/environment.scm (set-build-options-from-command-line*): Delete.
2015-05-21 08:29:47 -04:00
David Thompson 4d043ab628 ui: Deduplicate 'show-what-to-build*'.
* guix/ui.scm (show-what-to-build*): New procedure.
* guix/scripts/environment.scm (show-what-to-build*): Delete.
* guix/scripts/system.scm (show-what-to-build*): Likewise.
* build-aux/make-binary-tarball.scm (show-what-to-build*): Likewise.
2015-05-21 08:29:47 -04:00
宋文武 35481e8be6 gnu: Add fizmo.
* gnu/packages/games.scm (fizmo): New variable.
2015-05-21 20:14:02 +08:00
Ricardo Wurmus 9099e88182 gnu: r: Apply patch to fix linking against R.
* gnu/packages/patches/r-fix-15899.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/statistics.scm (r)[source]: Use it.
2015-05-21 11:54:46 +02:00
Paul van der Walt afb925175e gnu: zathura: Update to 0.3.3.
* gnu/packages/pdf.scm (zathura): Update to 0.3.3.
2015-05-21 01:07:57 +02:00
Paul van der Walt 90ab5dd259 gnu: girara: Update to 0.2.4.
* gnu/packages/gtk.scm (girara): Update to 0.2.4.
2015-05-21 01:06:59 +02:00