jackhill/guix/guix.git
9 years agoguix: refresh: Add --list-dependent option.
Eric Bavier [Sun, 20 Jul 2014 16:29:48 +0000 (11:29 -0500)]
guix: refresh: Add --list-dependent option.

* guix/packages.scm (package-direct-inputs): New procedure.
* gnu/packages.scm (vhash-refq, package-direct-dependents)
  (package-transitive-dependents, package-covering-dependents): New procedures.
* guix/scripts/refresh.scm (%options, show-help, guix-refresh): Add
  --list-dependent option.
* doc/guix.texi (Invoking guix refresh): Document '--list-dependent' option.

9 years agoguix: utils: Add fold-tree and fold-tree-leaves.
Eric Bavier [Sun, 20 Jul 2014 16:22:46 +0000 (11:22 -0500)]
guix: utils: Add fold-tree and fold-tree-leaves.

* guix/utils.scm (fold-tree, fold-tree-leaves): New functions.
* tests/utils.scm: Add tests for them.

9 years agognu: htop: Update to 1.0.3.
Jason Self [Sun, 20 Jul 2014 13:48:58 +0000 (06:48 -0700)]
gnu: htop: Update to 1.0.3.

* gnu/packages/admin.scm (htop): Update to version 1.0.3.

9 years agognu: dfc: Update to 3.0.4.
Jason Self [Sun, 20 Jul 2014 13:47:14 +0000 (06:47 -0700)]
gnu: dfc: Update to 3.0.4.

* gnu/packages/admin.scm (dfc): Update to version 3.0.4.

9 years agognu: Enable swig tests.
John Darrington [Fri, 18 Jul 2014 08:06:13 +0000 (10:06 +0200)]
gnu: Enable swig tests.

* gnu/packages/swig.scm (swig): Add boost as input and enable tests.

9 years agognu: linux-libre: Update to 3.15.6.
Jason Self [Sat, 19 Jul 2014 14:14:09 +0000 (07:14 -0700)]
gnu: linux-libre: Update to 3.15.6.

* gnu/packages/linux.scm (linux-libre): Update to version 3.15.6.

9 years agoinstall: Add wireless-tools package.
David Thompson [Sat, 19 Jul 2014 13:42:43 +0000 (09:42 -0400)]
install: Add wireless-tools package.

* gnu/system/install.scm (installation-os): Add wireless-tools to packages.

9 years agolinux-initrd: Add AHCI modules.
David Thompson [Fri, 18 Jul 2014 15:03:02 +0000 (11:03 -0400)]
linux-initrd: Add AHCI modules.

* gnu/system/linux-initrd (linux-modules): Add them.

9 years agognu: Add wireless-tools.
David Thompson [Sat, 19 Jul 2014 01:23:58 +0000 (21:23 -0400)]
gnu: Add wireless-tools.

* gnu/packages/linux.scm (wireless-tools): New variable.

9 years agoinstall: Set the store's permission to #o1775.
Ludovic Courtès [Sat, 19 Jul 2014 12:25:39 +0000 (14:25 +0200)]
install: Set the store's permission to #o1775.

Fixes <http://bugs.gnu.org/18053>.
Reported by Mark H Weaver <mhw@netris.org>.

* guix/build/install.scm (directives): Add mode #o1775 for STORE.

9 years agognu: Add datamash.
Eric Bavier [Fri, 18 Jul 2014 19:36:09 +0000 (14:36 -0500)]
gnu: Add datamash.

* gnu/packages/datamash.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.

9 years agoThank Marek.
Ludovic Courtès [Fri, 18 Jul 2014 09:08:04 +0000 (11:08 +0200)]
Thank Marek.

9 years agoguix system: init: Always use /var/guix as the target state directory.
Ludovic Courtès [Fri, 18 Jul 2014 09:07:33 +0000 (11:07 +0200)]
guix system: init: Always use /var/guix as the target state directory.

Fixes <http://bugs.gnu.org/18049>.
Reported by Marek Benc <merkur32@gmail.com>.

* guix/scripts/system.scm (copy-closure): Pass #:state-directory to
  'register-path'.

9 years agoguix-register: Add '--state-directory' parameter.
Ludovic Courtès [Fri, 18 Jul 2014 09:03:50 +0000 (11:03 +0200)]
guix-register: Add '--state-directory' parameter.

* nix/guix-register/guix-register.cc (GUIX_OPT_STATE_DIRECTORY): New
  macro.
  (parse_opt): Honor it.
* tests/guix-register.sh: Add test with '--state-directory'.
* guix/store.scm (register-path): Add #:state-directory parameter.

9 years agoFix typos in manual.
Mark H Weaver [Fri, 18 Jul 2014 14:41:47 +0000 (10:41 -0400)]
Fix typos in manual.

* doc/guix.texi (Using the Configuration System): 'gid' -> 'group'
  in user-account example.
  (Initial RAM Disk): 'base-init' -> 'base-initrd'.

9 years agognu: Add Aegis.
John Darrington [Fri, 24 Jan 2014 14:01:00 +0000 (15:01 +0100)]
gnu: Add Aegis.

* gnu/packages/version-control.scm (aegis): New variable.
* gnu/packages/patches/aegis-constness-error.patch: New file.
* gnu/packages/patches/aegis-perl-tempdir1.patch: New file.
* gnu/packages/patches/aegis-perl-tempdir2.patch: New file.
* gnu/packages/patches/aegis-test-fixup-1.patch: New file.
* gnu/packages/patches/aegis-test-fixup-2.patch: New file.

9 years agognu: whitespace change only
John Darrington [Wed, 16 Jul 2014 07:42:31 +0000 (09:42 +0200)]
gnu: whitespace change only

* gnu/packages/version-control.scm: Remove blank line

9 years agoUpdate 'AUTHORS'.
John Darrington [Fri, 18 Jul 2014 04:43:21 +0000 (06:43 +0200)]
Update 'AUTHORS'.

* AUTHORS: Correct the email address I use for Guix work.

9 years agognu: apr-util: Run 'make check' sequentially.
Ludovic Courtès [Thu, 17 Jul 2014 22:52:45 +0000 (00:52 +0200)]
gnu: apr-util: Run 'make check' sequentially.

* gnu/packages/apr.scm (apr-util)[arguments]: Add #:parallel-tests?.

9 years agoMerge branch 'gettext-upgrade'
Ludovic Courtès [Thu, 17 Jul 2014 16:42:28 +0000 (18:42 +0200)]
Merge branch 'gettext-upgrade'

9 years agognu: ffmpeg: Update to 2.3.
Jason Self [Wed, 16 Jul 2014 18:07:11 +0000 (11:07 -0700)]
gnu: ffmpeg: Update to 2.3.

* gnu/packages/video.scm (ffmpeg): Update to version 2.3.

Signed-off-by: Jason Self <j@jxself.org>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
9 years agognu: libogg: Update to 1.3.2.
Jason Self [Wed, 16 Jul 2014 15:13:26 +0000 (08:13 -0700)]
gnu: libogg: Update to 1.3.2.

* gnu/packages/xiph.scm (libogg): Update to version 1.3.2.

Signed-off-by: Jason Self <j@jxself.org>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
9 years agoinstall: Show the "System Installation" node.
Ludovic Courtès [Thu, 17 Jul 2014 16:37:53 +0000 (18:37 +0200)]
install: Show the "System Installation" node.

* gnu/system/install.scm (log-to-info): Go to the new 'System
  Installation' node.

9 years agognu: guix: Upgrade development snapshot.
Ludovic Courtès [Thu, 17 Jul 2014 16:30:11 +0000 (18:30 +0200)]
gnu: guix: Upgrade development snapshot.

* gnu/packages/package-management.scm (guix): Upgrade to commit
  0ae8c15.

9 years agodoc: Add "Setuid Programs" node.
Ludovic Courtès [Thu, 17 Jul 2014 16:10:16 +0000 (18:10 +0200)]
doc: Add "Setuid Programs" node.

* doc/guix.texi (Setuid Programs): New node.

9 years agodoc: Add "Initial RAM Disk" section.
Ludovic Courtès [Thu, 17 Jul 2014 15:49:34 +0000 (17:49 +0200)]
doc: Add "Initial RAM Disk" section.

* doc/guix.texi (Initial RAM Disk): New node.
* gnu/system/linux-initrd.scm (expression->initrd): Adjust docstring.

9 years agorecords: Report unknown field names in inheriting forms.
Ludovic Courtès [Thu, 17 Jul 2014 14:45:45 +0000 (16:45 +0200)]
records: Report unknown field names in inheriting forms.

* guix/records.scm (define-record-type*)[record-inheritance]: Check for
  unexpected field names.
* tests/records.scm ("define-record-type* with let* behavior"): Return
  #t, not *unspecified*.
  ("define-record-type* & inherit & extra initializers"): New test.

9 years agorecords: Factorize error-reporting macro.
Ludovic Courtès [Thu, 17 Jul 2014 14:42:19 +0000 (16:42 +0200)]
records: Factorize error-reporting macro.

* guix/records.scm (record-error): New macro.
  (define-record-type*)[error*]: Remove.
  Use 'record-error' instead.

9 years agorecords: Add tests for error cases.
Ludovic Courtès [Thu, 17 Jul 2014 14:06:36 +0000 (16:06 +0200)]
records: Add tests for error cases.

* tests/records.scm (test-module): New procedure.
  ("define-record-type* & missing initializers",
  "define-record-type* & extra initializers"): New tests.

9 years agoservices: Add 'console-font-service'.
Ludovic Courtès [Thu, 17 Jul 2014 13:53:01 +0000 (15:53 +0200)]
services: Add 'console-font-service'.

* gnu/services/base.scm (unicode-start, console-font-service): New
  procedures.
  (%base-services): Call 'console-font-service' for TTY1 to TTY6.
* gnu/system/install.scm (installation-services): Add comment about the
  console font.  Call 'console-font-service' for TTY1 to TTY6.

9 years agogexp: Gracefully handle printing of gexps with spliced references.
Ludovic Courtès [Thu, 17 Jul 2014 13:40:06 +0000 (15:40 +0200)]
gexp: Gracefully handle printing of gexps with spliced references.

* guix/gexp.scm (write-gexp): Wrap 'write' call in
  'false-if-exception'.
* tests/gexp.scm ("printer", "printer vs. ungexp-splicing"): New tests.

9 years agodoc: List noteworthy limitations.
Ludovic Courtès [Thu, 17 Jul 2014 12:36:36 +0000 (14:36 +0200)]
doc: List noteworthy limitations.

* doc/guix.texi (Limitations): New subsection.

9 years agoservices: syslog: Don't write trivial error messages to /dev/console.
Ludovic Courtès [Wed, 16 Jul 2014 20:40:14 +0000 (22:40 +0200)]
services: syslog: Don't write trivial error messages to /dev/console.

* gnu/services/base.scm (syslog-service): Change "*.err" to "*.alert".

9 years agosystem: Add e2fsprogs to the base packages.
Ludovic Courtès [Wed, 16 Jul 2014 13:54:15 +0000 (15:54 +0200)]
system: Add e2fsprogs to the base packages.

* gnu/system.scm (%base-packages): Add E2FSPROGS.

9 years agosystem: Use kmod instead of module-init-tools.
Ludovic Courtès [Wed, 16 Jul 2014 13:50:13 +0000 (15:50 +0200)]
system: Use kmod instead of module-init-tools.

* gnu/system.scm (%base-packages): Use kmod instead of
  module-init-tools.

9 years agogexp: Build 'gexp->file' derivations locally.
Ludovic Courtès [Wed, 16 Jul 2014 13:48:28 +0000 (15:48 +0200)]
gexp: Build 'gexp->file' derivations locally.

* guix/gexp.scm (gexp->file): Add #:local-build? argument.

9 years agognu: kbd: Make sure unicode_{start,stop} work as expected.
Ludovic Courtès [Wed, 16 Jul 2014 13:46:57 +0000 (15:46 +0200)]
gnu: kbd: Make sure unicode_{start,stop} work as expected.

* gnu/packages/linux.scm (kbd): Patch 'src/unicode_{start,stop}' to use
  'tty'.
  <phases>: Add 'post-install' phase.

9 years agodoc: Move "System Configuration" higher.
Ludovic Courtès [Wed, 16 Jul 2014 09:35:45 +0000 (11:35 +0200)]
doc: Move "System Configuration" higher.

* doc/guix.texi (GNU Distribution): Move "System Configuration" right
  after "System Installation".

9 years agoUpdate 'THANKS'.
John Darrington [Tue, 15 Jul 2014 18:56:41 +0000 (20:56 +0200)]
Update 'THANKS'.

* THANKS: Correct the email address I use for Guix work.

9 years agognu: Tinyproxy: Cleanup xml dependencies
John Darrington [Sun, 13 Jul 2014 14:37:52 +0000 (16:37 +0200)]
gnu: Tinyproxy: Cleanup xml dependencies

* gnu/packages/web.scm (tinyproxy): Use the XML catalog from docbook instead of
  generating a temporary one.

9 years agognu: Enable gnome-doc-utils tests
John Darrington [Sun, 13 Jul 2014 14:38:26 +0000 (16:38 +0200)]
gnu: Enable gnome-doc-utils tests

* gnu/packages/gnome (gnome-doc-utils): Set the XML_CATALOG_FILES variable and
  enable the tests.

9 years agognu: docbook-xsl write absolute file:// uris in catalogs instead of ./ relative ones
John Darrington [Sun, 13 Jul 2014 15:15:47 +0000 (17:15 +0200)]
gnu: docbook-xsl write absolute file:// uris in catalogs instead of ./ relative ones

* gnu/packages/docbook.scm (docbook-xsl):  Replace ./ paths with file:// uris

9 years agognu: docbook-xml: Substitute remote xml_catalog uris with local ones.
John Darrington [Sun, 13 Jul 2014 15:08:55 +0000 (17:08 +0200)]
gnu: docbook-xml: Substitute remote xml_catalog uris with local ones.

* gnu/packages/docbook.scm: substitute remote uri with local ones.

9 years agognu: Add docbook-xml version 4.3 and 4.4
John Darrington [Sun, 13 Jul 2014 15:02:09 +0000 (17:02 +0200)]
gnu: Add docbook-xml version 4.3 and 4.4

* gnu/packages/docbook.scm (docbook-xml-4.3, docbook-xml-4.4): New variables.

9 years agognu: docbook-xsl update to 1.78.1
John Darrington [Sun, 13 Jul 2014 14:59:44 +0000 (16:59 +0200)]
gnu: docbook-xsl update to 1.78.1

* gnu/packages/docbook.scm (docbook-xsl): Upgrade to version 1.78.1

9 years agonls: Update 'eo' and 'vi' translations.
Ludovic Courtès [Tue, 15 Jul 2014 21:43:41 +0000 (23:43 +0200)]
nls: Update 'eo' and 'vi' translations.

9 years agoAdd Jason to 'AUTHORS'.
Ludovic Courtès [Tue, 15 Jul 2014 20:48:48 +0000 (22:48 +0200)]
Add Jason to 'AUTHORS'.

9 years agognu: libvorbis: Update to 1.3.4.
Jason Self [Tue, 15 Jul 2014 17:03:10 +0000 (10:03 -0700)]
gnu: libvorbis: Update to 1.3.4.

* gnu/packages/xiph.scm (libvorbis): Update to version 1.3.4.

Signed-off-by: Jason Self <j@jxself.org>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
9 years agognu: flac: Upgrade to 1.3.0.
Jason Self [Tue, 15 Jul 2014 03:22:28 +0000 (20:22 -0700)]
gnu: flac: Upgrade to 1.3.0.

* gnu/packages/xiph.scm (flac): Update to version 1.3.0.
  Remove 'patches' field.
* gnu/packages/patches/flac-fix-memcmp-not-declared.patch: Remove.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.

Signed-off-by: Jason Self <j@jxself.org>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
9 years agognu: gettext: Update to 0.19.2.
Ludovic Courtès [Tue, 15 Jul 2014 07:55:40 +0000 (09:55 +0200)]
gnu: gettext: Update to 0.19.2.

* gnu/packages/gettext.scm (gnu-gettext): Update to 0.19.2.

9 years agoguix: refresh: Correctly identify invalid package names.
Eric Bavier [Tue, 15 Jul 2014 05:10:10 +0000 (00:10 -0500)]
guix: refresh: Correctly identify invalid package names.

* guix/scripts/refresh.scm (guix-refresh): Check for null list
  returned by find-packages-by-name rather than #f.

9 years agodoc: Add a "System Installation" node.
Ludovic Courtès [Mon, 14 Jul 2014 22:43:04 +0000 (00:43 +0200)]
doc: Add a "System Installation" node.

* doc/guix.texi (Installation): Add cross-ref to "System Installation".
  (System Installation): New section.
  (System Configuration): Remove disclaimer.

9 years agoinstall: Remove GNU fdisk from the image.
Ludovic Courtès [Mon, 14 Jul 2014 16:06:35 +0000 (18:06 +0200)]
install: Remove GNU fdisk from the image.

* gnu/system/install.scm (installation-os): Remove FDISK.

9 years agovm: Make sure disk image initrds load 'usb-storage.ko'.
Ludovic Courtès [Mon, 14 Jul 2014 16:05:10 +0000 (18:05 +0200)]
vm: Make sure disk image initrds load 'usb-storage.ko'.

Reported by David Thompson <dthompson2@worcester.edu>.

* gnu/system/vm.scm (system-disk-image): Add usb-storage.ko to the
  initrd.

9 years agodoc: Remove redundant listing of services.
Ludovic Courtès [Mon, 14 Jul 2014 14:34:24 +0000 (16:34 +0200)]
doc: Remove redundant listing of services.

* doc/guix.texi (Defining Services): Remove listing of service
  procedures; add xref to "Services".

9 years agoguix system: reconfigure: Always use "/" as GRUB's target file system.
Ludovic Courtès [Mon, 14 Jul 2014 14:14:15 +0000 (16:14 +0200)]
guix system: reconfigure: Always use "/" as GRUB's target file system.

* guix/scripts/system.scm (perform-action) <reconfigure>: Wrap
  'install-grub' call in 'false-if-exception'.  Always use "/" as the
  target.

9 years agognu: Synchronize synopses and descriptions with the Womb.
Ludovic Courtès [Mon, 14 Jul 2014 13:59:41 +0000 (15:59 +0200)]
gnu: Synchronize synopses and descriptions with the Womb.

* gnu/packages/gimp.scm (gimp): Synchronize synopsis and description.
* gnu/packages/gl.scm (guile-opengl): Likewise.
* gnu/packages/gnome.scm (gnumeric): Likewise.

9 years agoservices: Add options to 'guix-service'.
Ludovic Courtès [Mon, 14 Jul 2014 13:51:22 +0000 (15:51 +0200)]
services: Add options to 'guix-service'.

* gnu/services/base.scm (guix-service): Add #:use-substitutes? and
  #:extra-options parameters, and honor them.
* doc/guix.texi (Base Services): Adjust accordingly.

9 years agosystem: Add 'nano' and 'lsof' to the base packages.
Ludovic Courtès [Mon, 14 Jul 2014 13:35:57 +0000 (15:35 +0200)]
system: Add 'nano' and 'lsof' to the base packages.

* gnu/system.scm (%base-packages): Add NANO and LSOF.

9 years agognu: linux-libre: Update to 3.15.5.
Jason Self [Sun, 13 Jul 2014 22:06:21 +0000 (00:06 +0200)]
gnu: linux-libre: Update to 3.15.5.

* gnu/packages/linux.scm (linux-libre): Update to version 3.15.5.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
9 years agognu: linux-libre: Disable CONFIG_DEBUG_INFO and turn off nvidiafb module.
Jason Self [Sun, 13 Jul 2014 16:31:55 +0000 (09:31 -0700)]
gnu: linux-libre: Disable CONFIG_DEBUG_INFO and turn off nvidiafb module.

Disabling CONFIG_DEBUG_INFO so that local builds aren't so enormous.
Also turning off nvidiafb module based on a bug report I received.
Nouveau has its own framebuffer device and it looks like they conflict
if you load both.

* gnu/packages/linux-libre-x86_64.conf: Comment out CONFIG_FB_NVIDIA,
  and remove related items.  Comment out CONFIG_DEBUG_INFO.
* gnu/packages/linux-libre-i686.conf: Likewise.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
9 years agonls: Add German translation.
Ludovic Courtès [Sun, 13 Jul 2014 21:59:48 +0000 (23:59 +0200)]
nls: Add German translation.

9 years agonls: Update eo, pt_BR, sr, and vi package translations.
Ludovic Courtès [Sun, 13 Jul 2014 21:56:05 +0000 (23:56 +0200)]
nls: Update eo, pt_BR, sr, and vi package translations.

9 years agoMerge branch 'bug-17853'
Ludovic Courtès [Sun, 13 Jul 2014 21:44:55 +0000 (23:44 +0200)]
Merge branch 'bug-17853'

9 years agoguix system: Fix return value for 'reconfigure'.
Ludovic Courtès [Sun, 13 Jul 2014 21:44:37 +0000 (23:44 +0200)]
guix system: Fix return value for 'reconfigure'.

* guix/scripts/system.scm (perform-action) <reconfigure>: Add missing
  'return' expression.

9 years agolinux-initrd: Allow extra modules to be passed to 'base-initrd'.
Ludovic Courtès [Sun, 13 Jul 2014 21:43:00 +0000 (23:43 +0200)]
linux-initrd: Allow extra modules to be passed to 'base-initrd'.

* gnu/system/linux-initrd.scm (base-initrd): Add #:extra-modules
  parameter.

9 years agoinstall: Make /var/db and /mnt.
Ludovic Courtès [Sun, 13 Jul 2014 14:35:24 +0000 (16:35 +0200)]
install: Make /var/db and /mnt.

* guix/build/install.scm (directives): Add /var/db and /mnt.

9 years agoguix system: Convert to monadic style.
Ludovic Courtès [Sun, 13 Jul 2014 14:13:42 +0000 (16:13 +0200)]
guix system: Convert to monadic style.

* guix/scripts/system.scm (references*, topologically-sorted*,
  show-what-to-build*): New procedures.
  (copy-closure): Turn into a monadic procedure.
  (install): Likewise, and adjust parameter list.
  (switch-to-system): Likewise.
  (system-derivation-for-action, grub.cfg, maybe-build, perform-action):
  New procedures.
  (guix-system): Use them.

9 years agovm: Add support for i686.
Ludovic Courtès [Sun, 13 Jul 2014 14:07:26 +0000 (16:07 +0200)]
vm: Add support for i686.

Partially fixes <http://bugs.gnu.org/18002>.
Reported by David Thompson <dthompson2@worcester.edu>.

* guix/build/vm.scm (qemu-command): Add optional 'system' parameter.
  Special-case "^i[3456]86$".
* gnu/system/vm.scm (system-qemu-image/shared-store-script): Use it.

9 years agognu: Add chess and xboard.
John Darrington [Sat, 12 Jul 2014 17:42:13 +0000 (19:42 +0200)]
gnu: Add chess and xboard.

* gnu/packages/games.scm (xboard, chess): New variables.

9 years agoservices: Add Tor service.
Ludovic Courtès [Sat, 12 Jul 2014 21:14:10 +0000 (23:14 +0200)]
services: Add Tor service.

* gnu/services/networking.scm (tor-service): New procedure.
* doc/guix.texi (Networking Services): Document it.
* build-aux/hydra/demo-os.scm: Use it.  Add TOR and TORSOCKS to
  'packages'.

9 years agoservices: networking: Set interfaces up; delete default route only when needed.
Ludovic Courtès [Sat, 12 Jul 2014 20:56:40 +0000 (22:56 +0200)]
services: networking: Set interfaces up; delete default route only when needed.

* gnu/services/networking.scm (static-networking-service): Use -i, -A,
  and --up with Inetutils' ifconfig.  Do 'route del -net default' only
  when GATEWAY is true.

9 years agosystem: Add 'which' to the base packages.
Ludovic Courtès [Sat, 12 Jul 2014 20:53:56 +0000 (22:53 +0200)]
system: Add 'which' to the base packages.

* gnu/system.scm (%base-packages): Add WHICH.

9 years agoservices: Provide a 'loopback' service by default.
Ludovic Courtès [Sat, 12 Jul 2014 20:46:44 +0000 (22:46 +0200)]
services: Provide a 'loopback' service by default.

* gnu/services/networking.scm (static-networking-service): Add
  #:provision parameter; use it.
* gnu/services/base.scm (%base-services): Call
  'static-networking-service' for "lo".

9 years agosystem: Remove erroneous system binding in profile maker.
Ludovic Courtès [Sat, 12 Jul 2014 20:16:34 +0000 (22:16 +0200)]
system: Remove erroneous system binding in profile maker.

Partly fixes <http://bugs.gnu.org/18002>.
Reported by David Thompson <dthompson2@worcester.edu>.

* gnu/system.scm (union): Remove #:system parameter, which was unused.

9 years agogexp: Resolve the default system at '>>=' time.
Ludovic Courtès [Sat, 12 Jul 2014 20:11:12 +0000 (22:11 +0200)]
gexp: Resolve the default system at '>>=' time.

Partly fixes <http://bugs.gnu.org/18002>.
Reported by David Thompson <dthompson2@worcester.edu>.

* guix/gexp.scm (gexp->derivation): Change #:system to default #f.
  Use (%current-system) from within the 'mlet*'.
* tests/gexp.scm ("gexp->derivation, default system"): New test.

9 years agomonads: Fix 'mapm' so that effects happen from left to right.
Ludovic Courtès [Sat, 12 Jul 2014 15:16:36 +0000 (17:16 +0200)]
monads: Fix 'mapm' so that effects happen from left to right.

* guix/monads.scm (mapm): Don't reverse LST, so that items are processed
  from left to right.  Bind the result of 'foldm' and reverse it.
* tests/monads.scm ("sequence"): Change 'frob' so it performs its side
  effect within an 'mlet' body.  Adjust call accordingly.

9 years agognu: Add links.
John Darrington [Fri, 11 Jul 2014 08:01:05 +0000 (10:01 +0200)]
gnu: Add links.

* gnu-system.am (GNU_SYSTEM_MODULES): Add new file.
* gnu/packages/links.scm: New file.

9 years agodoc: Start writing about services.
Ludovic Courtès [Fri, 11 Jul 2014 21:01:57 +0000 (23:01 +0200)]
doc: Start writing about services.

* doc/guix.texi (Using the Configuration System): Remove details about
  '%base-services', and link to "Services".
  (Services): Add introductory text.
  (Base Services, Networking Services, X Window): New nodes.

9 years agoservices: Use more Texinfo markup in docstrings.
Ludovic Courtès [Fri, 11 Jul 2014 20:57:02 +0000 (22:57 +0200)]
services: Use more Texinfo markup in docstrings.

* gnu/services/base.scm (host-name-service): Use Texinfo markup.
  (mingetty-service): Comment on #:allow-empty-passwords?.  Improve
  markup.
  (syslog-service, guix-service): Use Texinfo markup.
* gnu/services/networking.scm (static-networking-service): Likewise.
* gnu/services/xorg.scm (slim-service): Likewise.

9 years agosystem: Allow root to use 'groupadd' & co. without authenticating.
Ludovic Courtès [Fri, 11 Jul 2014 12:02:44 +0000 (14:02 +0200)]
system: Allow root to use 'groupadd' & co. without authenticating.

This fixes a bug whereby, if #:allow-root-passwords was #f, 'groupadd'
would ask for a password.  This is particularly problematic during
activation.

* gnu/system/linux.scm (rootok-pam-service): New procedure.
  (base-pam-services): Use it for all the user* and group* commands.

9 years agopackages: Add printer for <origin>.
Ludovic Courtès [Fri, 11 Jul 2014 11:59:54 +0000 (13:59 +0200)]
packages: Add printer for <origin>.

* guix/packages.scm (print-origin): New procedure.
  (<origin>): Add it as record type printer.

9 years agognu: texlive: Upgrade to 2014.
Eric Bavier [Fri, 11 Jul 2014 15:58:56 +0000 (10:58 -0500)]
gnu: texlive: Upgrade to 2014.

* gnu/packages/texlive.scm (texlive-extra-src, texlive-texmf-src,
  texlive): Upgrade to 2014.
  (texlive)[arguments]: Remove 'patch-perl-shebang' phase.

9 years agognu: Add fish.
David Thompson [Thu, 10 Jul 2014 12:07:00 +0000 (08:07 -0400)]
gnu: Add fish.

* gnu/packages/fish.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.

9 years agosystem: Add "netdev" group.
Ludovic Courtès [Thu, 10 Jul 2014 22:27:27 +0000 (00:27 +0200)]
system: Add "netdev" group.

* gnu/system/shadow.scm (%base-groups): Add "netdev".

9 years agognu: linux-libre: Remove '--strip-all' argument.
Ludovic Courtès [Thu, 10 Jul 2014 22:26:27 +0000 (00:26 +0200)]
gnu: linux-libre: Remove '--strip-all' argument.

* gnu/packages/linux.scm (linux-libre)[arguments]: Remove
  #:strip-flags, which led to unloadable modules.  This reverts
  commit 9ca7eaa1.
  [build-phase]: Add INSTALL_MOD_STRIP=1.

9 years agognu: glib: Fix build on i686.
Eric Bavier [Thu, 10 Jul 2014 22:03:42 +0000 (17:03 -0500)]
gnu: glib: Fix build on i686.

* gnu/packages/patches/glib-tests-timer.patch: New patch.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/glib.scm: Use it.

9 years agognu: Remove overlooked patch.
Eric Bavier [Thu, 10 Jul 2014 21:43:17 +0000 (16:43 -0500)]
gnu: Remove overlooked patch.

* gnu-system.am (dist_patch_DATA): Remove patch deleted previously.

9 years agognu: Add VTK.
Ludovic Courtès [Thu, 10 Jul 2014 19:34:07 +0000 (21:34 +0200)]
gnu: Add VTK.

* gnu/packages/vtk.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.

9 years agognu: plotutils: Propagate libXaw.
Ludovic Courtès [Thu, 10 Jul 2014 11:05:47 +0000 (13:05 +0200)]
gnu: plotutils: Propagate libXaw.

* gnu/packages/plotutils.scm (plotutils): Move LIBXAW to from 'inputs'
  to 'propagated-inputs'.

9 years agognu: linux-libre: Fallback to 'defconfig' when there's no config file.
Ludovic Courtès [Thu, 10 Jul 2014 11:03:46 +0000 (13:03 +0200)]
gnu: linux-libre: Fallback to 'defconfig' when there's no config file.

* gnu/packages/linux.scm (kernel-config): Return #f rather than error
  out in the default case.
  (linux-libre)[native-inputs]: Add "kconfig" input only when
  'kernel-config' returns true.
  [build-phase]: Adjust accordingly.

9 years agognu: linux-libre: Strip everything with '--strip-all'.
Ludovic Courtès [Wed, 9 Jul 2014 22:34:33 +0000 (00:34 +0200)]
gnu: linux-libre: Strip everything with '--strip-all'.

* gnu/packages/linux.scm (linux-libre)[arguments]: Add #:strip-flags.

9 years agognu: linux-libre: Add i686 and x86_64 full-blown configs.
Ludovic Courtès [Wed, 9 Jul 2014 22:31:31 +0000 (00:31 +0200)]
gnu: linux-libre: Add i686 and x86_64 full-blown configs.

Thanks to Jason Self <jself@gnu.org> for the kernel configs.

* gnu/packages/linux.scm (kernel-config): New procedure.
  (linux-libre)[build-phase]: Copy it to .config.  Reduce the list of
  things appended to .config.
  [native-inputs]: Add "kconfig" input.
* gnu/packages/linux-libre-i686.conf,
  gnu/packages/linux-libre-x86_64.conf: New files, from
  <http://jxself.org/x86-32.txt> and <http://jxself.org/x86-64.txt>.
* Makefile.am (KCONFIGS): New variable.
  (nobase_dist_guilemodule_DATA): Add it.

9 years agoservices: udev: Improve synchronization when starting.
Ludovic Courtès [Wed, 9 Jul 2014 22:20:57 +0000 (00:20 +0200)]
services: udev: Improve synchronization when starting.

* gnu/services/base.scm (udev-service)[start]: Add 'wait-for-udevd', and
  call it before running 'udevadm trigger'.  Pass --action=add to
  'udevadm trigger'.  Call 'udevadm settle' after 'udevadm trigger'.

9 years agoservices: xorg: Remove optional sections from xorg.conf.
Ludovic Courtès [Wed, 9 Jul 2014 21:55:33 +0000 (23:55 +0200)]
services: xorg: Remove optional sections from xorg.conf.

* gnu/services/xorg.scm (xorg-start-command)[xserver.conf]: Remove
  sections "Monitor", "InputClass", "ServerLayout", "Device", and
  "Screen".

9 years agoservices: xorg: Require 'udev'.
Ludovic Courtès [Wed, 9 Jul 2014 21:53:35 +0000 (23:53 +0200)]
services: xorg: Require 'udev'.

* gnu/services/xorg.scm: Add 'udev' to the 'requirement' field.

9 years agoservices: xorg: Add drivers to the default search path.
Ludovic Courtès [Wed, 9 Jul 2014 21:52:49 +0000 (23:52 +0200)]
services: xorg: Add drivers to the default search path.

* gnu/services/xorg.scm (xorg-start-command)[xserver.conf]: Add
  'ModulePath' entries for xf86-video-{fbdev,cirrus,intel,mach64,nv} and
  xf86-input-{synaptics,vmmouse}.

9 years agoservices: xorg: Fix typo in font path.
Ludovic Courtès [Wed, 9 Jul 2014 21:51:19 +0000 (23:51 +0200)]
services: xorg: Fix typo in font path.

* gnu/services/xorg.scm (xorg-start-command)[xserver.conf]: Fix typo in
  font path.

9 years agognu: Add sipwitch and dependent packages
John Darrington [Tue, 8 Jul 2014 16:59:09 +0000 (18:59 +0200)]
gnu: Add sipwitch and dependent packages

* gnu-system.am (GNU_SYSTEM_MODULES): Add new file.
* gnu/packages/telephony.scm: New file.

9 years agoguix system: Add '--system' option.
Ludovic Courtès [Tue, 8 Jul 2014 21:42:35 +0000 (23:42 +0200)]
guix system: Add '--system' option.

* guix/scripts/system.scm (switch-to-system): Add #:system parameter;
  pass it to 'run-with-store'.
  (%options): Add '--system'.
  (guix-system): Pass the 'system' option to 'run-with-store',
  'package-derivation', and 'switch-to-system' calls.
* doc/guix.texi (Invoking guix system): Document '--system' and
  '--image-size'.