Ludovic Courtès
2bf6f962b9
packages: 'package-input-rewriting/spec' can rewrite implicit dependencies.
...
With this change, '--with-input', '--with-graft', etc. also apply to
implicit dependencies. Thus, it's now possible to do:
guix build python-itsdangerous --with-input=python-wrapper=python@2
or:
guix build hello --with-graft=glibc=glibc@2.29
Additionally, before, implicit inputs were not rewritten, which could
lead to duplicates in the output of 'bag-transitive-inputs' (packages
that are not 'eq?' but lead to the same derivation). This in turn would
lead to unnecessary rebuilds when using '--with-input' & co. This
change fixes it by ensuring even implicit inputs are rewritten.
Fixes <https://bugs.gnu.org/42156 >.
* guix/packages.scm (package-input-rewriting/spec): Add #:deep?
defaulting to #true, and pass it to 'package-mapping'.
[replacement-property]: New variable.
[rewrite]: Check that property and set it on the result of PROC.
[cut?]: New procedure.
* tests/packages.scm ("package-input-rewriting/spec"): Ensure implicit
inputs were unchanged.
("package-input-rewriting/spec, partial match"): Pass #:deep? #f.
("package-input-rewriting/spec, deep")
("package-input-rewriting/spec, no duplicates"): New tests.
(package/inherit): Move before use.
* tests/guix-build.sh: Add tests.
* tests/scripts-build.scm ("options->transformation, with-graft"):
Compare dependencies by package name or derivation file name.
* doc/guix.texi (Defining Packages): Adjust accordingly.
2020-09-27 21:41:08 +02:00
Ludovic Courtès
ff39361c80
packages: 'package-mapping' can recurse on implicit inputs.
...
* guix/packages.scm (build-system-with-package-mapping): New procedure.
(package-mapping): Add #:deep? and honor it.
* tests/packages.scm ("package-mapping"): Compare the direct inputs of
the bag of P0 and that of P1.
("package-mapping, deep"): New test.
2020-09-27 21:41:05 +02:00
Ludovic Courtès
f458cfbcc5
guix build: Add '--without-tests'.
...
* guix/scripts/build.scm (transform-package-tests): New procedure.
(%transformations, %transformation-options)
show-transformation-options-help): Add it.
* tests/scripts-build.scm ("options->transformation, without-tests"):
New test.
* doc/guix.texi (Package Transformation Options): Document it.
2020-09-27 21:32:09 +02:00
Pierre Neidhardt
d753aee0be
gnu: bbswitch-module: Fix build on Linux >= 5.6.
...
* gnu/packages/linux.scm (bbswitch-module): Update to 20200526.
2020-09-27 17:29:31 +02:00
Nicolas Goaziou
f1f076c9dc
gnu: emacs-mood-line: Fix license.
...
* gnu/packages/emacs-xyz.scm (emacs-mood-line)[license]: Switch to GPL2+.
2020-09-27 14:23:07 +02:00
AuPath
0bf662b35b
gnu: Add emacs-mood-line.
...
* gnu/packages/emacs-xyz.scm (emacs-mood-line): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2020-09-27 14:17:03 +02:00
Stefan
740fd97ebe
doc: Document new bootloader grub-efi-netboot-bootloader.
...
* doc/guix.texi (Bootloader Configuration)[bootloader]: Add
grub-efi-netboot-bootloader.
[target]: Document TFTP root directory for grub-efi-netboot-bootloader.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-09-27 13:39:28 +02:00
Stefan
c85f316ae9
gnu: grub: Support for network boot via TFTP.
...
* gnu/bootloader/grub.scm (grub-efi-netboot-bootloader): New variable.
(install-grub-efi-netboot): New procedure.
(grub-root-search): Update comment.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-09-27 13:38:35 +02:00
Efraim Flashner
59223c5bc6
gnu: gama: Update to 2.10.
...
* gnu/packages/gps.scm (gama): Update to 2.10.
2020-09-27 08:50:26 +03:00
Vinicius Monego
6854b44602
gnu: cozy: Update to 0.7.1.
...
* gnu/packages/ebook.scm (cozy): Update to 0.7.1.
[arguments]: Substitute only the Exec line in the desktop file.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-09-26 23:13:23 +02:00
Ludovic Courtès
6c5197226d
gnu: lzlib: Don't build static library.
...
* gnu/packages/compression.scm (lzlib)[arguments]: Pass "--disable-static".
2020-09-26 23:07:03 +02:00
Ludovic Courtès
31dcc27276
gnu: lzlib: Support cross-compilation.
...
Until now, since lzlib's 'configure' ignores '--host', we'd always end
up building it natively.
* gnu/packages/compression.scm (lzlib)[arguments]: Use (cc-for-target)
instead of "gcc".
2020-09-26 23:07:03 +02:00
Oleg Pykhalov
d868655a7d
gnu: Add ipset.
...
* gnu/packages/linux.scm (ipset): New variable.
2020-09-26 23:18:42 +03:00
Oleg Pykhalov
3876ed32f2
gnu: Add webssh.
...
* gnu/packages/ssh.scm (webssh): New variable.
2020-09-26 21:47:38 +03:00
Tim Howes
0939462e3f
gnu: emacs-ess: Update to 18.10.2-0.24da603.
...
* gnu/packages/statistics.scm (emacs-ess): Update to 18.10.2-0.24da603.
[version]: Use version-revision-commit for version numbering.
[source]: Fix snippet for removing julia-mode. Remove snippet to modify
roxy-preview-Rd-test. Add snippet to modify r-help-mode test. Add
snippet to fix install target to install files to correct directories.
Correct Makefile so that ess-autoloads.el is not built twice.
[arguments]: Add flag to specify INFODIR. Remove patch modifying SHELL.
[license]: License is now GPLv3+.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2020-09-26 11:58:25 +02:00
Nicolas Goaziou
22b12e3ec2
gnu: emacs-auctex: Update to 12.2.5.
...
* gnu/packages/emacs-xyz.scm (emacs-auctex): Update to 12.2.5.
2020-09-26 11:25:39 +02:00
Nicolas Goaziou
c9f70031b3
gnu: emacs-edit-indirect: Update to 0.1.6.
...
* gnu/packages/emacs-xyz.scm (emacs-edit-indirect): Update to 0.1.6.
2020-09-26 11:20:03 +02:00
Nicolas Goaziou
094871fe73
gnu: emacs-edit-indirect: Fix license field.
...
* gnu/packages/emacs-xyz.scm (emacs-edit-indirect): Fix license field.
2020-09-26 11:14:21 +02:00
Ludovic Courtès
a0d4aa2457
doc: Use @var for meta-syntactic variables.
...
* doc/guix.texi (Transparent Emulation with QEMU): Use @var instead of
angle brackets for meta-syntactic variables.
2020-09-25 23:26:22 +02:00
Ludovic Courtès
e71d7b5e23
doc: Remove "--hda" from non-volatile childhurd example.
...
Reported by Andreas Enge.
* doc/guix.texi (Transparent Emulation with QEMU): Remove "--hda" in
'image' example.
2020-09-25 23:26:22 +02:00
Ludovic Courtès
13a2272d1a
doc: Explain how to connect to a childhurd.
...
* doc/guix.texi (The Hurd in a Virtual Machine): Add instructions for
VNC and SSH access. Mention childhurd secrets and /etc/childhurd.
2020-09-25 23:26:22 +02:00
Ludovic Courtès
4e896da45d
gnu: nyacc: Add 1.03.0.
...
* gnu/packages/mes.scm (nyacc): Rename to...
(nyacc-0.99): ... this.
(nyacc): New variable.
(mes)[propagated-inputs]: Replace NYACC with NYACC-0.99.
(mes-rb5)[native-inputs]: Likewise.
* gnu/packages/commencement.scm (mes-boot)[native-inputs]: Likewise.
(tcc-boot0)[native-inputs]: Likewise.
2020-09-25 23:26:22 +02:00
Pierre Langlois
2bab532fdf
gnu: rust: Fix install phase for non-x86_64 platforms.
...
* gnu/packages/rust.scm (rust-1.20)[arguments]: Replace hardcoded x86_64
triplet with nix-system->gnu-triplet-for-rust in 'delete-install-logs phase.
2020-09-25 20:24:46 +01:00
Leo Famulari
73e7a42447
gnu: linux-libre 4.4: Update to 4.4.237.
...
* gnu/packages/linux.scm (linux-libre-4.4-version): Update to 4.4.237.
(linux-libre-4.4-pristine-source): Update hash.
2020-09-25 13:16:16 -04:00
Leo Famulari
fff9209444
gnu: linux-libre 4.9: Update to 4.9.237.
...
* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.237.
(linux-libre-4.9-pristine-source): Update hash.
2020-09-25 13:16:16 -04:00
Leo Famulari
76aa30100b
gnu: linux-libre 4.14: Update to 4.14.199.
...
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.199.
(linux-libre-4.14-pristine-source): Update hash.
2020-09-25 13:16:16 -04:00
Leo Famulari
b328d55702
gnu: linux-libre 4.19: Update to 4.19.147.
...
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.147.
(linux-libre-4.19-pristine-source): Update hash.
2020-09-25 13:16:16 -04:00
Leo Famulari
ce59a1397d
gnu: linux-libre 5.4: Update to 5.4.67.
...
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.67.
(linux-libre-5.4-pristine-source): Update hash.
2020-09-25 13:16:16 -04:00
Leo Famulari
55d4259dff
gnu: linux-libre: Update to 5.8.11.
...
* gnu/packages/linux.scm (linux-libre-5.8-version): Update to 5.8.11.
(linux-libre-5.8-pristine-source): Update hash.
2020-09-25 13:16:15 -04:00
Ludovic Courtès
795065533d
gnu: Replace uses of 'guile3.0-gnutls' by 'gnutls'.
...
* gnu/packages/package-management.scm (guix)[propagated-inputs]: Use
GNUTLS instead of GUILE3.0-GNUTLS.
(guix-daemon)[inputs]: Likewise.
* guix/self.scm (specification->package): Likewise.
2020-09-25 19:05:08 +02:00
Jesse Gibbons
0fa3d89fbc
gnu: freedink: Make "freedink-engine" and "freedink-data" public.
...
* gnu/packages/games.scm: (freedink-engine): Make public.
[arguments]: Add 'delete-freedinkedit-desktop' phase.
(freedink-data): Make public.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-09-25 19:05:08 +02:00
Jens Mølgaard
4423cadc9a
gnu: font-adobe-source-serif-pro: Update to 3.001R.
...
* gnu/packages/fonts.scm (font-adobe-source-serif-pro): Update to 3.001R.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-09-25 19:05:08 +02:00
Jens Mølgaard
62246843d2
gnu: font-adobe-source-sans-pro: Update to 3.028R.
...
* gnu/packages/fonts.scm (font-adobe-source-sans-pro): Update to 3.028R.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-09-25 19:05:08 +02:00
Ludovic Courtès
4eeaae7994
guix package: Simplify 'package->manifest-entry*'.
...
* guix/scripts/package.scm (package->manifest-entry*): Rewrite in terms
of 'manifest-entry-with-provenance'.
2020-09-25 19:05:08 +02:00
Jan (janneke) Nieuwenhuizen
db2785cd86
ci: Remove native-system restriction from "hello" and "list" jobsets.
...
* gnu/ci.scm (hydra-jobs): Remove restriction for system to
equal (%current-system).
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2020-09-25 18:14:58 +02:00
Efraim Flashner
67ad1e148c
gnu: vim: Update to 8.2.1738.
...
* gnu/packages/vim.scm (vim): Update to 8.2.1738.
2020-09-25 15:55:09 +03:00
Peng Mei Yu
3e5ed76df5
gnu: librime: Update to 1.6.1.
...
* gnu/packages/ibus.scm (librime): Update to 1.6.1.
[inputs]: Add capnproto.
[native-inputs]: Add pkg-config.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-09-25 14:26:41 +02:00
Leo Prikler
62d0f69ecf
gnu: komikku: Update to 0.21.0.
...
* gnu/packages/gnome.scm (komikku): Update to 0.21.0.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-09-25 14:14:13 +02:00
Mădălin Ionel Patrașcu
0990d61193
gnu: mafft: Update to 7.471.
...
* gnu/packages/bioinformatics.scm (mafft): Update to 7.471.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-09-25 14:12:13 +02:00
André Batista
9c4aaa630d
licenses: Add Apple Public Source License 2.0.
...
* guix/licenses.scm (apsl2): New variable.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-09-25 14:11:04 +02:00
André Batista
fd67774d27
doc: Fix outdated info and add missing space.
...
* doc/guix.texi (Messaging Services): Fix outdated info and add
missing space.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-09-25 14:07:06 +02:00
Vinicius Monego
7075082f71
gnu: Add gnome-latex.
...
* gnu/packages/gnome.scm (gnome-latex): New variable.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-09-25 14:02:13 +02:00
Pierre Neidhardt
c32f662e39
gnu: sbcl-cl-webkit: Update to 20200925.
...
* gnu/packages/lisp-xyz.scm (sbcl-cl-webkit): Update to 20200925.
2020-09-25 12:57:44 +02:00
Marius Bakke
d48b17adb9
services: WPA Supplicant: Conditionally depend on D-Bus.
...
Fixes <https://bugs.gnu.org/43567 >.
Reported by calcium <calcium@disroot.org>.
* gnu/services/networking.scm (<wpa-supplicant-configuration>)[requirement]:
Remove 'dbus-system.
(wpa-supplicant-shepherd-service)[requirement]: Add 'dbus-system when DBUS? is true.
* doc/guix.texi (Networking Services)[wpa-supplicant-service-type]: Adjust
accordingly.
2020-09-24 20:18:20 +02:00
Maxim Cournoyer
d14a3e5c0c
gnu: nfs-utils: Do not generate static libraries.
...
* gnu/packages/nfs.scm (nfs)[configure-flags]: Add "--disable-static".
2020-09-24 14:01:29 -04:00
Maxim Cournoyer
f8c15d8f42
gnu: ntfs-3g: Do not generate static libraries.
...
* gnu/packages/linux.scm (ntfs-3g)[configure-flags]: Add "--disable-static".
2020-09-24 14:01:28 -04:00
Efraim Flashner
3d0c0ae661
gnu: java-rsyntaxtextarea: Don't use unstable tarball.
...
* gnu/packages/textutils.scm (java-rsyntaxtextarea)[source]: Download
using git-fetch.
2020-09-24 20:06:41 +03:00
Efraim Flashner
e3b40906eb
gnu: vifm: Update to 0.11.
...
* gnu/packages/vim.scm (vifm): Update to 0.11.
2020-09-24 19:36:28 +03:00
Tanguy Le Carrour
ec9bc07c25
gnu: Add python-robber.
...
* gnu/packages/python-xyz.scm (python-robber): New variable.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2020-09-24 17:53:02 +02:00
Ivan Kozlov
1af5e57d87
gnu: awesome: Fix command completion in the prompt and Lua paths
...
* gnu/packages/wm.scm (awesome): Delete useless ‘env’ invocation in lib/awful/completion.lua. Change the delimiter for LUA_PATH and LUA_CPATH variables.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-09-24 17:53:02 +02:00