Ludovic Courtès
8db4ebb0cd
packages: Better preserve object identity when rewriting.
...
Fixes a bug whereby the presence of propagated inputs could lead to two
non-eq? but actually equal packages in a bag's inputs. The problem
would manifest itself when running, for instance:
guix build inkscape -d --with-graft=glib=glib-networking --no-grafts
The resulting derivation would differ due from that without
'--with-graft'. This was due to the fact that glib propagates libffi;
this instance of libffi was not rewritten even though other instances in
the graph were rewritten. Thus, glib would end up with two non-eq?
libffi instances, which in turn would lead to duplicate entries in its
'%build-inputs' variable.
Fixes <https://bugs.gnu.org/43890 >.
* guix/packages.scm (package-mapping)[rewrite]: Remove call to 'cut?'
and call 'replace' unconditionally.
[replace]: Add 'cut?' case.
* tests/guix-build.sh: Add test combining '--no-grafts' and
'--with-graft'.
* tests/packages.scm ("package-input-rewriting/spec, identity")
("package-input-rewriting, identity"): New tests.
2020-10-20 16:30:15 +02:00
Ludovic Courtès
2bd60ca1fb
gnu: guile2.0-git: Remove now unnecessary libgit2 special case.
...
This is a followup to 0a7aa6922b
.
* gnu/packages/guile.scm (guile2.0-git): Remove special 'inputs'
handling, which is no longer necessary.
2020-10-20 16:30:15 +02:00
Ludovic Courtès
a9fd59dbd2
graph: Adjust test for recent OCaml changes.
...
This is a followup to 339177956a
.
* tests/graph.scm ("reverse bag DAG"): Look for "ocaml4.07-dune" rather
than "dune".
2020-10-20 16:30:15 +02:00
Ludovic Courtès
b8085fccf2
doc: Replace @example with @lisp in "Build Phases".
...
* doc/guix.texi (Build Phases): Use @lisp for second example.
2020-10-20 16:30:15 +02:00
Ludovic Courtès
d154462bd8
download: Update docstring.
...
* guix/download.scm (url-fetch): Update docstring to match what's in the
manual.
2020-10-20 16:30:15 +02:00
Pierre Neidhardt
6ea61b4818
gnu: sbcl: Update to 2.0.9.
...
* gnu/packages/lisp.scm (sbcl): Update to 2.0.9.
2020-10-20 15:13:41 +02:00
Pierre Neidhardt
21e7922535
gnu: nyxt: Update to 2-pre-release-3.
...
* gnu/packages/web-browsers.scm (nyxt): Update to 2-pre-release-3.
2020-10-20 15:08:28 +02:00
Christopher Baines
1c498b9e42
gnu: guix-build-coordinator: Update to 0-3.5f11c60.
...
* gnu/packages/package-management.scm (guix-build-coordinator): Update to
0-3.5f11c60.
[inputs]: Add guile-zlib.
2020-10-20 12:43:33 +01:00
Tim Gesthuizen via Guix-patches via
ea85d1d54e
gnu: emacs-epl: Update to 0.9.
...
* gnu/packages/emacs-xyz.scm (emacs-epl): Update to 0.9.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2020-10-20 13:40:49 +02:00
Nicolas Goaziou
be48b0549d
gnu: emacs-ytdl: Small fixes.
...
* gnu/packages/emacs-xyz.scm (emacs-ytdl)[arguments]: End phases with #t. Use
`make-file-writable' instead of `chmod'.
[license]: Use GPL3+.
2020-10-20 12:19:01 +02:00
Christopher Baines
0da77d59b7
gnu: guix-build-coordinator: Update to 0-2.86e446c.
...
* gnu/packages/package-management.scm (guix-build-coordinator): Update to
0-2.86e446c.
2020-10-20 09:45:11 +01:00
Pierre Neidhardt
d096fa939d
gnu: Add emacs-ytdl.
...
* gnu/packages/emacs-xyz.scm (emacs-ytdl): New variable.
2020-10-20 09:32:39 +02:00
Mathieu Othacehe
922a50993e
services: guix: Fix coordinator agent.
...
* gnu/services/guix.scm (guix-build-coordinator-agent-activation): Define
%user variable.
2020-10-20 09:18:04 +02:00
Michael Rohleder
bc44271729
gnu: emacs-evil: Add info page.
...
* gnu/packages/emacs-xyz.scm (emacs-evil): Add info page.
[arguments]: Add phase make-info.
[native-inputs]: Add texinfo.
Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2020-10-20 09:41:50 +03:00
Ludovic Courtès
93c251818d
doc: More uses of @lisp instead of @example.
...
* doc/guix.texi (G-Expressions): Use @lisp for 'let-system' example.
* doc/contributing.texi (Synopses and Descriptions): Use @lisp for
second example.
2020-10-20 01:07:46 +02:00
Ludovic Courtès
ebe6e03949
doc: Fix misuses of @var in "Defining Packages".
...
* doc/guix.texi (Defining Packages): Use @code instead of @var where
appropriate.
2020-10-20 01:07:46 +02:00
Ludovic Courtès
5513d621e9
doc: Add "Build Phases" section.
...
* doc/guix.texi (Build Phases): New section.
(Build Systems): Remove 'modify-phases' example and add cross-reference
to "Build Phases".
(Build Utilities)[Build Phases]: Simplify intro and link to "Build
Phases".
(G-Expressions): Add index entries for "code staging" and add
cross-reference to "Build Phases".
2020-10-20 01:07:46 +02:00
Ludovic Courtès
39befb6261
doc: Document 'url-fetch', 'git-fetch', and 'git-reference'.
...
* doc/guix.texi (origin Reference): Rewrite initial paragraph. Properly
document 'method' and its protocol. Document 'url-fetch', 'git-fetch',
and 'git-reference' separately.
2020-10-20 01:07:46 +02:00
Raghav Gururajan
2cbda6ded8
gnu: Add gajim-openpgp.
...
* gnu/packages/messaging.scm (gajim-openpgp): New variable.
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2020-10-20 00:23:20 +02:00
Raghav Gururajan
a9c72b9a5f
gnu: gajim-omemo: Update description.
...
* gnu/packages/messaging.scm (gajim-omemo) [description]: Modify.
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2020-10-20 00:23:15 +02:00
Raghav Gururajan
ab6d077ae2
gnu: gajim-omemo: Update to 2.7.9.
...
* gnu/packages/messaging.scm (gajim-omemo) [version]: Update to
2.7.9.
[propagated-inputs]: Add python-axolotl-curve25519, python-cryptography
and python-qrcode.
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2020-10-20 00:23:10 +02:00
Raghav Gururajan
7c63d0e29f
gnu: gajim-omemo: Make some cosmetic changes.
...
* gnu/packages/messaging.scm (gajim-omemo): Make some cosmetic changes.
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2020-10-20 00:23:08 +02:00
Raghav Gururajan
7d8f997b1a
gnu: gajim: Update synopsis and description.
...
* gnu/packages/messaging.scm (gajim) [synopsis]: Modify.
[description]: Modify.
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2020-10-20 00:23:05 +02:00
Raghav Gururajan
a4f763cd6a
gnu: gajim: Update to 1.2.2.
...
* gnu/packages/messaging.scm (gajim) [version]: Update to 1.2.2.
[arguments]<#:imported-modules>: New argument.
<#:modules>: New argument.
<#:phases>['wrap-gi-typelib-path]: Remove phase.
['install-icons]: Remove phase.
['wrap-gsettings-schema-dir]: Remove phase.
['check]: Modify phase.
['glib-or-gtk-compile-schemas]: New phase.
['glib-or-gtk-wrap]: New phase.
['wrap-env]: New phase.
[native-inputs]: Add gettext-minimal, glib:bin, gobject-introspection,
gtk+:bin, python-disutils-extra and python-setuptools. Remove intltool
and python-docutils.
[inputs]: Add avahi, dbus, farstream, geoclue, glib, glib-networking,
gsettings-desktop-schemas, gsound, gspell, gstreamer, gst-plugins-base,
gupnp-igd, libsoup, libxscrnsaver, network-manager, python-css-parser
and python-packaging. Remove adwaita-icon-theme, gtkspell3, hicolor-icon-theme,
libsecret, python-cssutils, python-dbus, python-gnupg and python-qrcode.
[propagated-inputs]: Add dconf.
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2020-10-20 00:22:59 +02:00
Raghav Gururajan
51e7e72bca
gnu: gajim: Make some cosmetic changes.
...
* gnu/packages/messaging.scm (gajim): Make some cosmetic changes.
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2020-10-20 00:22:56 +02:00
Raghav Gururajan
6010fde5e9
gnu: python-nbxmpp: Update synopsis and description.
...
* gnu/packages/messaging.scm (python-nbxmpp) [synopsis]: Modify.
[description]: Modify.
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2020-10-20 00:22:43 +02:00
Raghav Gururajan
7c2f46044b
gnu: python-nbxmpp: Update to 1.0.2.
...
* gnu/packages/messaging.scm (python-nbxmpp) [version]: Update to
1.0.2.
[arguments]<#:tests?>: Remove argument.
[native-inputs]: Add glib:bin.
[inputs]: Add glib, glib-networking, libsoup, python-idna,
python-precis-i18n and python-pygobject.
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2020-10-20 00:22:32 +02:00
Raghav Gururajan
0bb718c1b2
gnu: python-nbxmpp: Make some cosmetic changes.
...
* gnu/packages/messaging.scm (python-nbxmpp): Make some cosmetic changes.
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2020-10-20 00:22:18 +02:00
Raghav Gururajan
c87646400d
gnu: Add farstream.
...
* gnu/packages/freedesktop.scm (farstream): New variable.
* gnu/packages/patches/farstream-make.patch: New file.
* gnu/local.mk (dist_PATCH_DATA): Add it.
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2020-10-20 00:21:31 +02:00
Raghav Gururajan
7bc5c0f0e0
gnu: Add gupnp-igd.
...
* gnu/packages/gnome.scm (gupnp-igd): New variable.
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2020-10-20 00:21:28 +02:00
Raghav Gururajan
0c140b12f3
gnu: libnice: Propagate gnutls.
...
* gnu/packages/networking.scm (libnice) [inputs]: Move gnutls to ...
[propagated-inputs]: ... here.
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2020-10-20 00:21:14 +02:00
Ricardo Wurmus
223c447349
gnu: Add texlive-dejavu.
...
* gnu/packages/tex.scm (texlive-dejavu): New variable.
2020-10-20 00:03:40 +02:00
Ricardo Wurmus
40557391ab
gnu: Add texlive-libertine.
...
* gnu/packages/tex.scm (texlive-libertine): New variable.
2020-10-20 00:03:40 +02:00
Ricardo Wurmus
79624befa1
gnu: r-with-tests: Work around reproducibility problem.
...
Fixes <https://bugs.gnu.org/35441 >.
* gnu/packages/statistics.scm (r-with-tests)[arguments]: Avoid reproducibility
problem by patching problematic sequence of characters in DESCRIPTION file
template.
2020-10-20 00:03:40 +02:00
Ricardo Wurmus
615ee12e64
gnu: r-with-tests: Update to 4.0.3.
...
* gnu/packages/statistics.scm (r-with-tests): Update to 4.0.3.
2020-10-20 00:03:36 +02:00
Oleg Pykhalov
61e6d3ca11
services: lxqt-desktop: Delete unbound lxqt-desktop-service.
...
This commit follows 764d896668
.
* gnu/services/desktop.scm:
Delete unbound "lxqt-desktop-service" exported variable.
2020-10-20 00:27:30 +03:00
Reza Alizadeh Majd
764d896668
services: Add LXQt desktop service.
...
* gnu/services/desktop.scm (lxqt-desktop-service-type): New variable.
(<lxqt-desktop-configuration>): New record type.
(lxqt-desktop-configuration?): New procedure.
* doc/guix.texi (Desktop Services): Document this.
Co-authored-by: Oleg Pykhalov <go.wigust@gmail.com>
2020-10-20 00:21:45 +03:00
Reza Alizadeh Majd
807353fe14
gnu: pcmanfm-qt: Fix default wallpaper load path.
...
* gnu/packages/lxqt.scm (pcmanfm-qt)[arguments]: Patch "settings.ini" file and
update "LXQT_SHARE_DIR" environment variable to point to system profile,
instead of an invalid path pointing to "lxqt-build-tools" package.
Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2020-10-20 00:16:43 +03:00
Reza Alizadeh Majd
bdb030a7dc
gnu: lxqt-session: Wrap startlxqt executable.
...
* gnu/packages/lxqt.scm (lxqt-session)[arguments]: Add new phase to wrap
"lxqt-session" and add base paths for "lxqt" and "pcmanfm-qt" config folders
in system profile to "XDG_CONFIG_DIRS" environment variable.
Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2020-10-20 00:16:43 +03:00
Reza Alizadeh Majd
9aa35795d3
gnu: lxqt-session: Fix xsession entry exec path.
...
* gnu/packages/lxqt.scm (lxqt-session)[arguments]: Update path for
"startlxqt" to be able to executed properly by "gdm".
Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2020-10-20 00:16:43 +03:00
zimoun
87f31bf2a8
gnu: emacs-tuareg: Update to 2.2.0-0.ccde45b.
...
* gnu/packages/ocaml.scm (emacs-tuareg): Update to 2.2.0-0.ccde45b.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2020-10-19 22:47:16 +02:00
John Soo
80641727ed
gnu: Add emacs-graphql-mode.
...
* gnu/packages/emacs-xyz.scm (emacs-graphql-mode): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2020-10-19 22:42:36 +02:00
Vagrant Cascadian
4d850f7c5a
gnu: linux-libre-arm64-generic: Enable support for Pinebook.
...
* gnu/packages/linux (linux-libre-arm64-generic): Enable modules for display,
battery, charger and usb on Pinebook.
2020-10-19 13:02:38 -07:00
Miguel Ángel Arruga Vivas
19c14d95b3
installer: Create bios_grub partition when it is needed.
...
* gnu/installer/parted.scm (auto-partition!): Only check for ESP on EFI
installations.
2020-10-19 21:54:25 +02:00
Tobias Geerinckx-Rice
a3ab43f49a
gnu: vim: Update to 8.2.1864.
...
* gnu/packages/vim.scm (vim): Update to 8.2.1864.
2020-10-19 21:44:31 +02:00
Tobias Geerinckx-Rice
fcad8025fc
gnu: tinyscheme: Update to 1.42.
...
* gnu/packages/scheme.scm (tinyscheme): Update to 1.42.
2020-10-19 21:44:31 +02:00
Tobias Geerinckx-Rice
cb4b56508d
gnu: xonsh: Update to 0.9.24.
...
* gnu/packages/shells.scm (xonsh): Update to 0.9.24.
2020-10-19 21:44:31 +02:00
Tobias Geerinckx-Rice
485ee063d6
gnu: libpwquality: Update to 1.4.4.
...
* gnu/packages/password-utils.scm (libpwquality): Update to 1.4.4.
2020-10-19 21:44:31 +02:00
Tobias Geerinckx-Rice
48e8bad36e
gnu: inxi-minimal: Update to 3.1.08-1.
...
* gnu/packages/admin.scm (inxi-minimal): Update to 3.1.08-1.
2020-10-19 21:44:31 +02:00
Maxim Cournoyer
5800d2aae2
maint: update-guix-package: Prevent accidentally breaking guix pull.
...
Fixes <https://issues.guix.gnu.org/43893 >.
This changes the 'update-guix-package' tool so that it:
1. Always uses a clean checkout to compute the hash of the updated 'guix'
package.
2. Ensures the commit used in the updated 'guix' package definition has already
been pushed upstream.
* build-aux/update-guix-package.scm (%savannah-guix-git-repo-push-url): New
variable.
(with-input-pipe-to-string, with-temporary-git-worktree): New syntaxes.
(find-origin-remote, git-add-worktree): New procedures.
(commit-already-pushed?): New predicate.
(main): Check the commit used has already been pushed upstream and compute the
hash from a clean checkout.
* doc/contributing.texi (Updating the Guix Package): Document it.
* .dir-locals.el (scheme-mode): Fix indentation of with-temporary-git-worktree.
2020-10-19 14:02:53 -04:00