Commit Graph

14128 Commits

Author SHA1 Message Date
Ludovic Courtès db8f6b3412
challenge: Disable grafting.
* guix/scripts/challenge.scm (guix-challenge): Set %GRAFT? to #f.
2016-07-14 19:07:07 +02:00
Ludovic Courtès a7a3b39060
substitute: Gracefully handle trailing slashes in URLs.
Previously, using something like
"--substitute-urls=http://example.org///" would lead to a
'cache-narinfo!' call with #f as its second argument.

It would also do the wrong thing for URLs with a non-empty initial path
component, such as "http://example.org/foo/bar".

* guix/scripts/substitute.scm (fetch-narinfos)[handle-narinfo-response]:
Add call to 'basename' for PATH.
2016-07-14 19:07:07 +02:00
Ricardo Wurmus 6619f9c769
gnu: Add eigensoft.
* gnu/packages/bioinformatics.scm (eigensoft): New variable.
2016-07-14 08:58:35 +02:00
Efraim Flashner 42d6d0d0d6
gnu: python-setuptools-scm: Update to 1.11.1.
* gnu/packages/python.scm (python-setuptools-scm): Update to 1.11.1.
2016-07-14 05:51:03 +03:00
Ludovic Courtès db97a03a89
doc: Explain 'guix hash -r' for Git checkouts.
* doc/guix.texi (origin Reference): Add xref to "guix download" and
"guix hash".
(Invoking guix hash): Provide an example to compute the hash of a Git
checkout.

Co-authored-by: Troy Sankey <sankeytms@gmail.com>
2016-07-13 23:51:17 +02:00
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
Leo Famulari 91f9f33a19
Revert "gnu: Add python-imagesize."
This reverts commit d8fa9cf7f4.
2016-07-12 18:21:25 -04:00
Leo Famulari ced40bd7b5
Revert "gnu: Add python-alabaster."
This reverts commit 15c36240f0b9ab3e8dc0b57702bb6a5174e4ad58.
2016-07-12 18:21:24 -04:00
Leo Famulari ce09c02c4c
Revert "gnu: Add python-snowballstemmer."
This reverts commit b3283dbaf395e024b6d88e63dbb0ccff42209f28.
2016-07-12 18:21:24 -04:00
Leo Famulari 1a27944905
Revert "gnu: python-sphinx: Update to 1.4.4."
This reverts commit efb386ca5c07c5a4571de8561fd5dcd2a4d9cec7.
2016-07-12 18:21:24 -04:00
Leo Famulari bfd77809ec
Revert "gnu: python-sphinx-rtd-theme: Update to 0.1.9."
This reverts commit e1257225e7bb211e3dd8d9373fb5a81fe83b6baf.
2016-07-12 18:21:23 -04: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
Efraim Flashner 5edf2f0561
gnu: grue-hunter: Adapt to gzip-1.8 update.
* gnu/packages/games.scm (grue-hunter)[arguments]: Change gunzip call to
gzip call, add `-d' to the gzip command.
2016-07-11 16:52:41 +03:00
Efraim Flashner 38e9373b0d
gnu: glibc-2.21: Fix substitutes in glibc-2.21.
* gnu/packages/base.scm (glibc-2.21)[arguments]: Add back substitution
for /bin/pwd which was removed in the update of glibc to 2.23.
2016-07-11 16:52:40 +03:00
Efraim Flashner 4277313883
gnu: exim: Adjust to pcre output split.
* gnu/packages/mail.scm (exim)[native-inputs]: Add pcre:bin.
[inputs]: Remove pcre.
2016-07-11 16:52:36 +03: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