Commit Graph

33214 Commits

Author SHA1 Message Date
Ludovic Courtès cdc5b9320f
system: Honor ~/.config/guix/current in /etc/profile.
* gnu/system.scm (operating-system-etc-service)[profile]: Add
~/.config/guix/current/share/info to INFOPATH.  Treat ~/.guix-profile
and ~/.config/guix/current in the same way.
2018-06-09 12:02:28 +02:00
Ludovic Courtès 24cb66d18e
ui: Avoid #:select'ing bindings introduced in the latest (guix build utils).
This should allow 'guix pull' to complete even when invoked from a Guix
that predates commit 5d669883ec.

* guix/ui.scm: Use #:hide instead of #:select.  This is a followup to
5d669883ec.
2018-06-09 12:02:28 +02:00
Ludovic Courtès 4554d4c8a9
self: Build the Info manual.
* guix/self.scm (info-manual): New procedure.
(whole-package): Add #:info and honor it.
(compiled-guix): Pass #:info.
2018-06-09 12:02:28 +02:00
Ludovic Courtès 9f1c3559b0
self: Compute and use locale data.
* guix/self.scm (sub-directory, locale-data): New procedures.
(guix-command): Add SOURCE parameter.  Call 'locale-data' when SOURCE is
true and use it in staged 'bindtextdomain' calls.
(whole-package): Add #:command and honor it.
(compiled-guix): Pass #:command to 'whole-package'.
2018-06-09 12:02:27 +02:00
Ludovic Courtès 75e24d7b0e
pull: Install the new Guix in a profile.
* guix/scripts/pull.scm (%pull-version): New variable.
(build-from-source): Pass #:pull-version to BUILD.
(whole-package-for-legacy, derivation->manifest-entry): New procedure.
(build-and-install): Rewrite in terms of 'build-and-use-profile'.
* guix/scripts/system.scm (maybe-suggest-running-guix-pull)[latest]:
Switch to "/current".
* scripts/guix.in (augment-load-paths!): Remove use of
~/.config/guix/latest.
* build-aux/compile-as-derivation.scm: Replace "/guix/latest/" with
"/current/share/guile/site/X.Y"
* guix/scripts.scm (warn-about-old-distro)[age]: Check "/current"
instead of "/latest".
* doc/guix.texi (Invoking guix pull): Document it.
* doc/contributing.texi (Running Guix Before It Is Installed): Remove
footnote about abusing ~/.config/guix/latest.
2018-06-09 12:02:27 +02:00
Ludovic Courtès 8a0d9bc8a3
self: Produce a complete package with the 'guix' command.
* guix/self.scm (guix-command): New procedure.
(compiled-guix): Add #:pull-version parameter.
[command, package]: New variables.
Honor PULL-VERSION.
(guix-derivation): Add #:pull-version and pass it to 'compiled-guix'.
* build-aux/build-self.scm (build-program): Add #:pull-version
parameter.  Pass it to 'guix-derivation'.
(build): Add #:pull-version and pass it to 'build-program'.
* build-aux/compile-as-derivation.scm: Pass #:pull-version to BUILD.
2018-06-09 12:02:27 +02:00
宋文武 d6fb0985a6
gnu: btrfs-progs: Fix build by disabling tests.
* gnu/packages/linux.scm (btrfs-progs)[#:arguments]: Add '#:tests? #f'.
2018-06-09 17:18:27 +08:00
宋文武 927846b3ab
gnu: lxc: Update to 3.0.1.
* gnu/packages/virtualization.scm (lxc): Update to 3.0.1.
2018-06-09 15:45:16 +08:00
Rutger Helling 945b119fac
gnu: nzbget: Update to 20.0.
* gnu/packages/networking.scm (nzbget): Update to 20.0.
2018-06-09 02:30:07 +02:00
Nicolas Goaziou c8b2fd2866
gnu: mame: New variable.
* gnu/packages/emulators.scm (mame): New variable.
2018-06-09 00:20:00 +02:00
Nicolas Goaziou d597dda6e0
gnu: asio: New variable.
* gnu/packages/networking.scm (asio): New variable.
2018-06-09 00:20:00 +02:00
Oleg Pykhalov da23cc000e
gnu: Add emacs-ivy-yasnippet.
* gnu/packages/emacs.scm (emacs-ivy-yasnippet): New public variable.
2018-06-08 23:19:38 +03:00
Gábor Boskovits c315d37058
gnu: exim: Add libnsl input.
* gnu/packages/mail.scm (exim)[inputs]: Add libnsl.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2018-06-08 22:20:28 +03:00
Julien Lepiller 7f3f72b292
nls: Update 'fr' translation. 2018-06-08 20:38:41 +02:00
Julien Lepiller 136a1e8b57
doc: Document xorg keymap configuration.
* doc/guix.texi (Xorg display): Add an example xorg keymap configuration.
2018-06-08 20:38:18 +02:00
Oleg Pykhalov ca82bdfdfb
gnu: twitchy: Install 'rofi-twitchy'.
* gnu/packages/video.scm (twitchy): Install 'rofi-twitchy'.
2018-06-08 20:30:29 +03:00
Ricardo Wurmus cbc1c27b67
gnu: rcas-web: Update to 0.0.5.
* gnu/packages/bioinformatics.scm (rcas-web): Update to 0.0.5.
2018-06-08 17:39:24 +02:00
宋文武 0d4c2d35af
services: dnsmasq-service-type: Add default configuration and description.
* gnu/services/dns.scm (dnsmasq-service-type)
[default-value, description]: New fields.
2018-06-08 23:32:49 +08:00
宋文武 c061eb587c
services: dnsmasq: Use 'negative-cache?' instead of 'no-negcache?'.
The 'no-negcache?' option is mapped to the '--no-negcache' command-line
argument directly, but we're in the scheme world, where the general guideline
is to avoid double-negations in identifiers.

* gnu/services/dns.scm <dnsmasq-configuration>: Replace the 'no-negcache?'
field with 'negative-cache?'.
* doc/guix.texi (DNS Services)[Dnsmasq Service]: Adjust accordingly.
2018-06-08 23:32:49 +08:00
Kei Kebreau 129948dcbd
gnu: debootstrap: Substitute chroot in 'patch-source' phase.
* gnu/packages/debian.scm (debootstrap)[arguments]: In 'patch-source' phase,
substitute chroot in the debootstrap script file.
[inputs]: Add coreutils.
2018-06-08 11:07:51 -04:00
Rouby Pierre-Antoine ad3a580716
gnu: hpcguix-web: Update to commit '87cb516'.
* gnu/packages/web.scm (hpcguix-web): Update to commit '87cb516'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-06-08 17:04:24 +02:00
Pierre Neidhardt daa9e89d56
gnu: Add emacs-helm-flycheck.
* gnu/packages/emacs.scm (emacs-helm-flycheck): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-06-08 17:04:24 +02:00
Pierre Neidhardt 49fd039217
gnu: Add emacs-helm-exwm.
* gnu/packages/emacs.scm (emacs-helm-exwm): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-06-08 17:04:23 +02:00
Pierre Neidhardt 5a949f5b30
gnu: Add emacs-helm-emms.
* gnu/packages/emacs.scm (emacs-helm-emms): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-06-08 17:04:23 +02:00
Pierre Neidhardt 0b4e4efe97
gnu: Add emacs-helm-descbinds.
* gnu/packages/emacs.scm (emacs-helm-descbinds): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-06-08 17:04:23 +02:00
Pierre Neidhardt 3540c6eb2b
gnu: Add emacs-helm-company.
* gnu/packages/emacs.scm (emacs-helm-company): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-06-08 17:04:23 +02:00
Pierre Neidhardt 2dcea9b446
gnu: Add emacs-google-translate.
* gnu/packages/emacs.scm (emacs-google-translate): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-06-08 17:04:23 +02:00
Pierre Neidhardt a62d872fdf
gnu: Add emacs-gif-screencast.
* gnu/packages/emacs.scm (emacs-gif-screencast): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-06-08 17:04:23 +02:00
Ludovic Courtès 3cacfa9e1b
doc: Regenerate *.fr.texi. 2018-06-08 17:04:23 +02:00
Ludovic Courtès dd8646555a
doc: Update 'fr' translation. 2018-06-08 17:04:23 +02:00
Ludovic Courtès 1e03fa9cdc
nls: Update 'da' translation. 2018-06-08 17:04:22 +02:00
Oleg Pykhalov 62d78ec076
import: elpa: Remove unused (gnu packages) module.
* guix/import/elpa.scm: Remove unused (gnu packages) module.
2018-06-08 17:05:18 +03:00
Tobias Geerinckx-Rice fafeeaa233
gnu: ruby-rack-protection: Update to 2.0.2.
* gnu/packages/ruby.scm (ruby-rack-protection): Update to 2.0.2.
2018-06-08 16:00:18 +02:00
Tobias Geerinckx-Rice d2a48984fc
gnu: r-fastcluster: Update to 1.1.25.
* gnu/packages/statistics.scm (r-fastcluster): Update to 1.1.25.
2018-06-08 16:00:18 +02:00
Tobias Geerinckx-Rice a1eabab1a3
gnu: opensmtpd: Clarify phase name.
* gnu/packages/mail.scm (opensmtpd)[arguments]: Rename
‘install-compatibilitymode’ to ‘install-compatibility-links’ and avoid
needless abbrevs while at it.
2018-06-08 16:00:17 +02:00
Tobias Geerinckx-Rice 19fed04915
gnu: opensmtpd: Patch FHS assumptions.
This fixes the following failure...

  # smtpctl show message 9275c3fbeccbae93
  execl: No such file or directory

...due to the absence of ‘/bin/cat’ on GuixSD.

* gnu/packages/mail.scm (opensmtpd)[arguments]: Add
‘patch-FHS-file-names’ phase.
2018-06-08 16:00:17 +02:00
Oleg Pykhalov 2dfb9bbf23
gnu: duplicity: Update to 0.7.17.
* gnu/packages/backup.scm (duplicity): Update to 0.7.17.
2018-06-08 16:25:44 +03:00
Oleg Pykhalov c0888cefdf
gnu: Add python-fasteners.
* gnu/packages/python.scm (python-fasteners, python2-fasteners): New
variables.
2018-06-08 16:25:44 +03:00
Ludovic Courtès fb126314f8
vm: 'iso9660-image' uses a local /tmp.
Fixes <https://bugs.gnu.org/31752>.
Regression introduced in commit 8c9bf2946a.

* gnu/system/vm.scm (iso9660-image): Pass #:file-systems to
'expression->derivation-in-linux-vm'.
2018-06-08 15:23:39 +02:00
Ludovic Courtès 50e53c1c67
vm: 'expression->derivation-in-linux-vm' takes a #:file-systems parameter.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Add
 #:file-systems and use it instead of %LINUX-VM-FILE-SYSTEMS.
2018-06-08 15:23:39 +02:00
Ludovic Courtès 849a1399ca
gnu: doxygen: Work around GCC ICE on armhf-linux.
Reported by Mark H Weaver <mhw@netris.org>
at <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=31708#10>.

* gnu/packages/patches/doxygen-gcc-ice.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/documentation.scm (doxygen)[inputs]: Add "gcc-ice-patch"
on armhf-* only.
[arguments]: Add 'apply-gcc-patch' phase on armhf-* only.
2018-06-08 15:23:39 +02:00
Ludovic Courtès 9953685c09
config: Remove 'canonicalize-path' call.
The call was unnecessary and would cause test failures because
'test-tmp/db' does not exist initially.

* guix/config.scm.in (%store-database-directory): Remove
'canonicalize-path' call.
2018-06-08 15:23:39 +02:00
Ludovic Courtès 751164bca1
build: Do not add all of $(BUILT_SOURCES) to $(CLEANFILES).
Reported by Gábor Boskovits <boskovits@gmail.com>.
Fixes <https://bugs.gnu.org/31700>.

* nix/local.mk (CLEANFILES): Add nothing but schema.sql.hh.
2018-06-08 15:23:39 +02:00
宋文武 cd8ece22bf
gnu: redis: Update to 4.0.9.
* gnu/packages/database.scm (redis): Update to 4.0.9.
2018-06-08 20:27:30 +08:00
Paul Garlick 0b88f7e7a7
gnu: ikiwiki: Add inputs for CGI script and remove duplicate input.
* gnu/packages/web.scm (ikiwiki)[inputs]: Add perl-cgi-formbuilder and
perl-db-file.  Remove perl-uri duplicate.  Sort 'perl-*' inputs
alphabetically.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2018-06-08 20:27:30 +08:00
Paul Garlick f52de1e17f
gnu: Add perl-cgi-formbuilder.
* gnu/packages/web.scm (perl-cgi-formbuilder): New variable.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2018-06-08 20:27:30 +08:00
Oleg Pykhalov 74032da3a2
import: elpa: Add recursive import.
* doc/guix.texi (Invoking guix import): Document elpa recursive import.
* guix/import/elpa.scm (elpa-package->sexp): Return package and
dependencies values.
(elpa-guix-name, elpa-recursive-import): New procedures.
* guix/scripts/import/elpa.scm (show-help, %options): Add recursive
option.
(guix-import-elpa): Use 'elpa-recursive-import'.
2018-06-08 14:58:33 +03:00
Oleg Pykhalov ae9e5d6602
import: utils: Add recursive-import.
* guix/import/cran.scm (cran-guix-name, cran-recursive-import): New
procedures.
(recursive-import): Remove procedure.
* guix/import/utils.scm (guix-name, recursive-import): New procedures.
* guix/scripts/import/cran.scm (guix-import-cran): Use
'cran-recursive-import' procedure.
2018-06-08 14:58:33 +03:00
Mark H Weaver 0b2fd1600f
gnu: linux-libre@4.9: Update to 4.9.107.
* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.107.
2018-06-07 23:38:28 -04:00
Mark H Weaver b09dc3b911
gnu: linux-libre@4.4: Update to 4.4.136.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.136.
2018-06-07 23:37:46 -04:00