Commit Graph

13162 Commits (c1629416d89b187b1f37ed0c834570846f8a087a)

Author SHA1 Message Date
Ludovic Courtès c1629416d8
gnu: Remove unneeded 'imported-modules' fields for 'origin'.
* gnu/packages/engineering.scm (fastcap)[source](modules,
imported-modules): Remove.
* gnu/packages/wm.scm (awesome)[source](imported-modules): Remove.
* tests/packages.scm ("package-source-derivation, snippet"): Remove
'imported-modules' field.
2016-07-12 22:47:08 +02:00
Ludovic Courtès 66a35ceb43
gexp: Remove more uses of #:modules.
* guix/scripts/system.scm (switch-to-system): Adjust comment.
* tests/gexp.scm ("gexp->derivation #:references-graphs"): Use
'with-imported-modules' instead of #:modules.
* tests/grafts.scm ("graft-derivation, preserve empty directories"):
Likewise.
2016-07-12 22:47:08 +02:00
Ludovic Courtès 9c14a487bb
gexp: 'program-file' and 'gexp->script' no longer have #:modules.
* guix/gexp.scm (<program-file>)[modules]: Remove.
(program-file): Remove #:modules and adjust accordingly.
(program-file-compiler): Likewise.
(gexp->script): Likewise.
2016-07-12 22:47:08 +02:00
Ludovic Courtès a769bffb65
gexp: 'computed-file' no longer has a #:modules parameter.
* guix/gexp.scm (<computed-file>)[modules]: Remove.
(computed-file): Remove #:modules.
(computed-file-compiler): Likewise.
* doc/guix.texi (G-Expressions): Adjust accordingly.
2016-07-12 22:47:08 +02:00
Ludovic Courtès e9b046fdda
download: Use 'with-imported-modules'.
* guix/cvs-download.scm (cvs-fetch): Use 'with-imported-modules' instead
of the #:modules argument of 'gexp->derivation'.
* guix/download.scm (url-fetch): Likewise.
* guix/git-download.scm (git-fetch): Likewise.
* guix/hg-download.scm (hg-fetch): Likewise.
* guix/svn-download.scm (svn-fetch): Likewise.
2016-07-12 22:47:08 +02:00
Ludovic Courtès 99b231dee6
profiles: Use 'with-imported-modules'.
* guix/profiles.scm (info-dir-file): Use 'with-imported-modules' instead
of the #:module argument to 'gexp->derivation'.
(ghc-package-cache-file): Likewise.
(ca-certificate-bundle): Likewise.
(gtk-icon-themes): Likewise.
(xdg-desktop-database): Likewise.
(xdg-mime-database): Likewise.
(profile-derivation): Likewise.
2016-07-12 22:47:08 +02:00
Ludovic Courtès a91c3fc727
services: <shepherd-service> no longer has an 'imported-modules' field.
* gnu/services/shepherd.scm (<shepherd-service>)[imported-modules]:
Remove.
(%default-imported-modules): Make private.
(shepherd-service-file): Use 'with-imported-modules'.
(shepherd-configuration-file): Remove 'modules' and the calls to
'imported-modules' and 'compiled-modules'.  Use
'with-imported-modules' instead.
* doc/guix.texi (Shepherd Services): Adjust accordingly.
* gnu/services/base.scm (file-system-shepherd-service): Use
'with-imported-modules'.  Remove 'imported-modules' field.
* gnu/system/mapped-devices.scm (device-mapping-service-type): Remove
'imported-modules'.
(open-luks-device): Use 'with-imported-modules'.
* gnu/tests.scm (marionette-shepherd-service): Remove 'imported-modules'
field and use 'with-imported-modules'.
2016-07-12 22:47:08 +02:00
Ludovic Courtès fd12989398
gnu: Use 'gexp->file' in conjunction with 'with-imported-modules'.
* gnu/services.scm (activation-script): Remove code to set '%load-path'
and use 'with-imported-modules' instead.
(cleanup-gexp): Likewise.
* gnu/system/vm.scm (%vm-module-closure): New variable.
(expression->derivation-in-linux-vm): Remove #:modules.
[loader]: Remove code to set '%load-path'.
[builder]: Use %VM-MODULE-CLOSURE.
(qemu-image): Use 'with-imported-modules'.
2016-07-12 22:47:08 +02:00
Ludovic Courtès 2b4185792d
gexp: 'gexp->file' emits code to set '%load-path'.
* guix/gexp.scm (gexp->file): Add #:set-load-path? parameter and honor it.
* gnu/system.scm (operating-system-parameters-file): Pass
  #:set-load-path? #f.
* doc/guix.texi (G-Expressions): Adjust accordingly.
2016-07-12 22:47:08 +02:00
Ludovic Courtès dd8d1a3046
gexp: Factorize load-path-setting expression.
* guix/gexp.scm (load-path-expression): New procedure.
(gexp->script): Use it.
2016-07-12 22:47:08 +02:00
Ludovic Courtès 43dcce8674
linux-container: Fix list of imported modules.
This fixes a regression introduced in
958dd3ce68.

* gnu/system/linux-container.scm (container-script)[script]: Add (guix
combinators) to the list of imported modules.
2016-07-12 22:47:08 +02:00
Ludovic Courtès 4ee96a7912
gnu: Switch to 'with-imported-modules'.
* gnu/services.scm (directory-union): Use 'with-imported-modules'
instead of the '#:modules' argument of 'computed-file'.
* gnu/services/base.scm (udev-rules-union): Likewise.
* gnu/services/dbus.scm (system-service-directory): Likewise.
* gnu/services/desktop.scm (wrapped-dbus-service):
(polkit-directory): Likewise.
* gnu/services/networking.scm (tor-configuration->torrc): Likewise.
* gnu/services/xorg.scm (xorg-configuration-directory): Likewise.
* gnu/system/install.scm (self-contained-tarball): Likewise.
* gnu/system/linux-container.scm (container-script): Likewise.
* gnu/system/linux-initrd.scm (expression->initrd): Likewise, and
remove #:modules parameter.
(flat-linux-module-directory): Use 'with-imported-modules'.
(base-initrd): Likewise.
* gnu/system/locale.scm (locale-directory): Likewise.
* gnu/system/shadow.scm (default-skeletons): Likewise.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Likewise.
* gnu/tests/base.scm (run-basic-test): Likewise.
* gnu/tests/install.scm (run-install): Likewise.
* doc/guix.texi (Initial RAM Disk): Update 'expression->initrd'
documentation.
2016-07-12 22:47:08 +02:00
Ludovic Courtès 0bb9929eaa
gexp: Add 'with-imported-modules' macro.
* guix/gexp.scm (<gexp>)[modules]: New field.
(gexp-modules): New procedure.
(gexp->derivation): Use it and append the result to %MODULES.
Update docstring to mark #:modules as deprecated.
(current-imported-modules, with-imported-modules): New macros.
(gexp): Pass CURRENT-IMPORTED-MODULES as second argument to 'gexp'.
(gexp->script): Use and honor 'gexp-modules'; define '%modules'.
* tests/gexp.scm ("gexp->derivation & with-imported-modules")
("gexp->derivation & nested with-imported-modules")
("gexp-modules & ungexp", "gexp-modules & ungexp-splicing"):
New tests.
("program-file"): Use 'with-imported-modules'.  Remove #:modules
argument to 'program-file'.
* doc/guix.texi (G-Expressions): Document 'with-imported-modules'.
Mark #:modules of 'gexp->derivation' as deprecated.
* emacs/guix-devel.el: Add syntax for 'with-imported-modules'.
(guix-devel-keywords): Add it.
* .dir-locals.el: Likewise.
2016-07-12 22:47:08 +02:00
Ludovic Courtès affd7761f3
gexp: Keep only a single 'references' field.
The distinction between native inputs and "normal" inputs can already be
determined by looking at the 'native?' field of <gexp-input>.  The extra
'natives' field of <gexp> added complexity for no good reason.

* guix/gexp.scm (<gexp>)[natives]: Remove.
(write-gexp): Remove use of 'gexp-native-references'.
(gexp-inputs)[native-input?]: New procedure.
Use it.
(gexp->sexp)[reference->sexp]: Honor N? for input lists.
Remove use of 'gexp-native-references'.
(gexp)[collect-native-escapes]: Remove.
Simplify.
2016-07-12 22:47:08 +02:00
Efraim Flashner 08858812b5
gnu: obs: Remove compiler flags for non-Intel hardware.
* gnu/packages/video.scm (obs)[arguments]: If compiling for arm or mips
devices then don't add Intel specific compiler flags.
2016-07-12 18:14:22 +03:00
Ricardo Wurmus 17dc32a400
gnu: Add Ribotaper.
* gnu/packages/bioinformatics.scm (ribotaper): New variable.
2016-07-12 12:19:39 +02:00
Ricardo Wurmus 9a8f309cf1
gnu: Add bedtools-2.18.
* gnu/packages/bioinformatics.scm (bedtools-2.18): New variable.
2016-07-12 12:19:15 +02:00
Efraim Flashner 34c553b07e
gnu: xscreensaver: Update to 5.35.
* gnu/packages/xdisorg.scm (xscreensaver): Update to 5.35.
2016-07-12 10:34:43 +03:00
Efraim Flashner 46cd684e2c
gnu: sxhkd: Update to 0.5.6.
* gnu/packages/xdisorg.scm (sxhkd): Update to 0.5.6.
2016-07-12 09:59:10 +03:00
Efraim Flashner 1f1e620f88
gnu: mtdev: Update to 1.1.5.
* gnu/packages/xdisorg.scm (mtdev): Update to 1.1.5.
2016-07-12 09:45:07 +03:00
Efraim Flashner af2b0b1507
gnu: libxkbcommon: Update to 0.6.1.
* gnu/packages/xdisorg.scm (libxkbcommon): Update to 0.6.1.
2016-07-12 09:34:24 +03:00
Efraim Flashner 16d8f9beb5
gnu: arandr: Update to 0.1.9.
* gnu/packages/xdisorg.scm (arandr): Update to 0.1.9.
2016-07-12 09:29:57 +03:00
Leo Famulari 6dc4d4655e
gnu: mpd: Update to 0.19.17.
* gnu/packages/mpd.scm (mpd): Update to 0.19.17.
2016-07-12 01:54:47 -04:00
Ben Woodcroft 51d8039b4a
gnu: parallel: Update to 20160622.
* gnu/packages/parallel.scm (parallel): Update to 20160622.
2016-07-12 14:47:50 +10:00
Matthew Jordan cdd8e0776e
gnu: Add Tmux Themepack.
* gnu/packages/tmux.scm (tmux-themepack): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-07-10 15:18:17 -04:00
Efraim Flashner 8ac012d0ca
gnu: help2man: Update to 1.47.4.
* gnu/packages/man.scm (help2man): Update to 1.47.4.
2016-07-10 21:34:37 +03:00
Efraim Flashner c635ff8369
gnu: man-pages: Update to 4.0.6.
* gnu/packages/man.scm (man-pages): Update to 4.0.6.
2016-07-10 21:34:37 +03:00
Efraim Flashner dfce38993e
gnu: man-db: Update to 2.7.5.
* gnu/packages/man.scm (man-db): Update to 2.7.5.
2016-07-10 21:34:37 +03:00
Efraim Flashner cf1dc4b7e6
gnu: obs: Update to 0.15.1.
* gnu/packages/video.scm (obs): Update to 0.15.1.
2016-07-10 21:34:37 +03:00
Efraim Flashner 5e3f68e67c
gnu: libbluray: Update to 0.9.3.
* gnu/packages/video.scm (libbluray): Update to 0.9.3.
2016-07-10 21:34:37 +03:00
Ricardo Wurmus 0e6ee10c07
gnu: libmtp: Update to 1.1.11.
* gnu/packages/patches/libmtp-devices.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove patch.
* gnu/packages/libusb.scm (libmtp): Update to 1.1.11.
2016-07-10 18:02:04 +02:00
Ben Woodcroft 7f575d3e56
gnu: diamond: Update to 0.8.12.
* gnu/packages/bioinformatics.scm (diamond): Update to 0.8.12.
2016-07-10 22:32:57 +10:00
Alex Griffin 0e74bb5bd6
gnu: Add gnome-mpv.
* gnu/packages/video.scm (gnome-mpv): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-07-10 07:11:08 +03:00
Alex Griffin 6cf83e3f83
gnu: mpv: Enable shared library support.
* gnu/packages/video.scm (mpv): Enable shared library support.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-07-10 07:10:55 +03:00
Efraim Flashner 9d5448f35f
gnu: ccache: Update to 3.2.5.
* gnu/packages/ccache.scm (ccache): Update to 3.2.5.
[native-inputs]: Add which.
2016-07-10 06:48:27 +03:00
Efraim Flashner e9fd10a83b
gnu: ldb: Update to 1.1.26.
* gnu/packages/samba.scm (ldb): Update to 1.1.26.
2016-07-10 06:48:27 +03:00
Efraim Flashner ea26457dad
gnu: tevent: Update to 0.9.28.
* gnu/packages/samba.scm (tevent): Update to 0.9.28.
2016-07-10 06:48:27 +03:00
Efraim Flashner 67e7452dda
gnu: talloc: Update to 2.1.7.
* gnu/packages/samba.scm (talloc): Update to 2.1.7.
2016-07-10 06:48:27 +03:00
Efraim Flashner 8b21d22d6a
gnu: samba: Update to 4.3.11 [fixes CVE-2016-2119].
* gnu/packages/samba.scm (samba): Update to 4.3.11.
2016-07-10 06:48:27 +03:00
Leo Famulari 1a6d3d2df7
gnu: dropbear: Update to 2016.73.
* gnu/packages/ssh.scm (dropbear): Update to 2016.73.
2016-07-09 19:38:36 -04:00
Danny Milosavljevic a502dfbf4c
gnu: Add python-jedi.
* gnu/packages/python.scm (python-jedi, python2-jedi): New variables.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-07-09 14:12:14 -04:00
Ben Woodcroft ec2a67de88
gnu: Add python-dendropy.
* gnu/packages/bioinformatics.scm (python-dendropy, python2-dendropy): New
variables.
* gnu/packages/patches/python-dendropy-exclude-failing-tests.patch: New
file.
* gnu/local.mk (dist_patch_DATA): Add it.
2016-07-09 08:00:34 +10:00
Ben Woodcroft c11f79a49e
gnu: star: Restrict supported systems to 64-bit systems.
* gnu/packages/bioinformatics.scm (star)[supported-systems]: Restrict to
x86_64-linux and mips64el-linux.
2016-07-08 22:10:05 +10:00
Leo Famulari 71ca053928
gnu: rxvt-unicode: Update to 9.22.
* gnu/packages/xdisorg.scm (rxvt-unicode): Update to 9.22.
2016-07-07 20:46:29 -04:00
ng0 6c12abbdb2
services: nginx: Fix typo.
* gnu/services/web.scm (nginx-service): Fix typo.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-07-07 20:42:58 -04:00
John J. Foerch 614023981a
gnu: Add di.
* gnu/packages/admin.scm (di): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-07-07 20:38:49 -04:00
Efraim Flashner 1a5fd02a82
gnu: getmail: Update to 4.49.0.
* gnu/packages/mail.scm (getmail): Update to 4.49.0.
2016-07-07 20:02:11 +03:00
Efraim Flashner a0b15f5eef
gnu: python-pyusb: Update to 1.0.0.
* gnu/packages/libusb.scm (python-pyusb): Update to 1.0.0.
2016-07-07 19:59:25 +03:00
Efraim Flashner 6b810897a0
gnu: python-websocket-client: Update to 0.37.0.
* gnu/packages/python.scm (python-websocket-client): Update to 0.37.0.
[source]: Use pypi uri format.
2016-07-07 19:44:11 +03:00
Efraim Flashner 697e86ddca
gnu: ansible: Update to 2.1.0.0.
* gnu/packages/admin.scm (ansible): Update to 2.1.0.0.
[source]: Use pypi format.
2016-07-07 18:59:28 +03:00