Commit Graph

13423 Commits

Author SHA1 Message Date
Ludovic Courtès 2d94702ff4
system: Change the shell of 'nobody' to 'nologin'.
Fixes <http://bugs.gnu.org/23971>.
Reported by Vincent Legoll <vincent.legoll@gmail.com>.

* gnu/system/shadow.scm (%base-user-accounts): Add 'shell' field.  Set
'home-directory' to "/nonexistent".
2016-07-13 23:42:35 +02:00
Jan Nieuwenhuizen 4c7260011e
gnu: grub: Update to 2.02~beta3.
* gnu/packages/grub.scm (grub): Update to 2.02~beta3.
[arguments]: Modify tests/grub_func_test.in in 'patch-stuff' phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-13 23:26:04 +02:00
Ludovic Courtès 66f8f5f9c3
gnu: screen: Remove unneeded configure flags.
* gnu/packages/screen.scm (screen)[arguments]: Remove --infodir and
--mandir, which are no longer needed.
2016-07-13 23:26:04 +02:00
George Clemmer a7e7981c7d
gnu: screen: Support 256 colors.
* gnu/packages/screen.scm (screen)[arguments]: Pass --enable-colors256.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-13 23:26:04 +02:00
Mark H Weaver 7a7d6b2bde
gnu: linux-libre: Update to 4.6.4.
* gnu/packages/linux.scm (linux-libre): Update to 4.6.4.
2016-07-12 22:09:08 -04:00
Mark H Weaver 8f1488c639
gnu: linux-libre-4.4: Update to 4.4.15.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.15.
2016-07-12 22:08:58 -04:00
Ludovic Courtès bfcb3d767b
lint: 'validate-uri' reports suspiciously small 200 responses.
* guix/scripts/lint.scm (validate-uri): Upon 200 http-response, check
the 'response-content-length' and emit a warning when it is <= 1000.
* tests/lint.scm (call-with-http-server): Add 'data' parameter.
(with-http-server): Likewise.
(%long-string): New variable.
("home-page: 200"): Pass %LONG-STRING to 'with-http-server'.
("home-page: 404", "source: 200", "source: 404"): Likewise.
("home-page: 200 but short length"): New test.
("source: 200 but short length"): New test.
2016-07-13 00:50:05 +02:00
Ludovic Courtès cd4c41fdcf
download: Attempt to update SourceForge mirror URLs.
* guix/download.scm (%mirrors)[sourceforge]: End in "/project" instead
of "/sourceforge".  Remove a couple of dangling URLs.
2016-07-13 00:32:36 +02:00
Jan Nieuwenhuizen abba1d087e
gnu: Add gptfdisk.
* gnu/packages/disk.scm (gptfdisk): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-13 00:32:21 +02:00
Ludovic Courtès bdff55eac3
gnu: emacs-flycheck: Add missing dependency on emacs-seq.
Fixes a regression introduced in
afb6fdaa5d.

* gnu/packages/emacs.scm (flycheck)[propagated-inputs]: Add EMACS-SEQ.
2016-07-12 22:47:08 +02:00
Ludovic Courtès 1929fdba80
packages: <origin> no longer has an 'imported-modules' field.
* guix/packages.scm (<origin>)[imported-modules]: Remove.
(patch-and-repack): Remove #:imported-modules.  Use
'with-imported-modules'.  Remove #:modules argument to
'gexp->derivation'.
(origin->derivation): Adjust accordingly.
* doc/guix.texi (origin Reference): Adjust accordingly.
2016-07-12 22:47:08 +02:00
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