Commit graph

126430 commits

Author SHA1 Message Date
Ludovic Courtès
344e39c928
profiles: Hooks honor the #:system parameter of ‘profile-derivation’.
Fixes <https://issues.guix.gnu.org/65225>.

* guix/profiles.scm (info-dir-file, package-cache-file)
(info-dir-file, ghc-package-cache-file, ca-certificate-bundle)
(emacs-subdirs, gdk-pixbuf-loaders-cache-file, glib-schemas)
(gtk-icon-themes, gtk-im-modules, linux-module-database)
(xdg-desktop-database, xdg-mime-database, fonts-dir-file)
(manual-database, manual-database/optional): Add optional #:system
parameter and pass it to ‘gexp->derivation’.
(profile-derivation): Pass HOOK a second parameter, SYSTEM.
* gnu/bootloader.scm (efi-bootloader-profile)[efi-bootloader-profile-hook]:
Add optional #:system parameter and pass it to ‘gexp->derivation’.
* guix/channels.scm (package-cache-file): Likewise.
* tests/profiles.scm ("profile-derivation, #:system, and hooks"): New
test.

Reported-by: Tobias Geerinckx-Rice <me@tobias.gr>
2023-10-28 00:17:24 +02:00
Ludovic Courtès
9d4b720e1f
packages: Add ‘system’ parameter for ‘set-guile-for-build’.
* guix/packages.scm (set-guile-for-build): Add ‘system’ parameter.
2023-10-28 00:17:24 +02:00
Ludovic Courtès
b3ec2a0d37
environment: Honor ‘-s’ for guile-for-build.
Partly fixes <https://issues.guix.gnu.org/65225>.

* guix/scripts/environment.scm (guix-environment*): Pass SYSTEM to
‘package-derivation’ when defining ‘%guile-for-build’.

Reported-by: Simon Tournier <zimon.toutoune@gmail.com>
Change-Id: I9d883f1e61fac72754fdc9dee9b7c8a3dea32add
2023-10-28 00:17:24 +02:00
Ludovic Courtès
67effc1560
grafts: Fix corner case involving multiple-output derivations.
Fixes a bug that would occur with references to two outputs of the same
derivation, with one of them referring to the other one.

For example, the references of libreoffice include both mariadb:dev and
mariadb:lib; additionally, mariadb:dev refers to mariadb:lib.  In this
case, the glibc graft would not be applied on one of the mariadb paths,
and both the grafted and ungrafted glibc would end up in the closure of
libreoffice.

Fixes <https://issues.guix.gnu.org/66662>.

* guix/grafts.scm (non-self-references): Simplify and include references
to outputs of DRV other than OUTPUTS.
(reference-origins): Simplify and possibly return outputs of DRV itself.
(cumulative-grafts)[graft-origin?]: Add OUTPUT parameter and honor it.
[dependency-grafts]: Adjust accordingly.
* tests/grafts.scm ("graft-derivation, multiple outputs need to be replaced"):
New test.

Change-Id: Iac2005024ab7049037537b3af55298696ec90e3c
2023-10-28 00:17:23 +02:00
Rostislav Svoboda
2de3004267
home: services: Fix regression in generated ‘on-first-login’ script.
Fixes <https://issues.guix.gnu.org/66659>.

Fixes a regression introduced in 6b0a321969. The
first attempt in e098ba2f49 to fix this issue didn't work.

* gnu/home/services.scm (compute-on-first-login-script): Add
‘begin *unspecified*’ around #$@gexps.

Change-Id: I14339ad684ffe93e692e507b57dcd221d96210ef
Signed-off-by: Clément Lassieur <clement@lassieur.org>
2023-10-27 16:51:58 +02:00
Evgeny Pisemsky
2ff8de3657
gnu: Add sdl2-gamecontrollerdb.
* gnu/packages/sdl.scm (sdl2-gamecontrollerdb): New variable.
2023-10-27 16:33:33 +02:00
Liliana Marie Prikler
c4eb5c6808
gnu: Add emacs-pddl-mode.
* gnu/packages/emacs-xyz.scm (emacs-pddl-mode): New variable.
2023-10-27 16:33:33 +02:00
Liliana Marie Prikler
7f07441b17
gnu: Add popf.
* gnu/packages/maths.scm (popf): New variable.
2023-10-27 16:33:32 +02:00
Ricardo Wurmus
8a7860d9d8
gnu: python-dm-tree: Update to 0.1.8.
* gnu/packages/python-xyz.scm (python-dm-tree): Update to 0.1.8.
[build-system]: Use pyproject-build-system.
[arguments]: Link with absl_strings_internal and use --whole-archive.

Change-Id: I763b01c24082ce1d6a0f4ffd518cfde221b28e72
2023-10-27 16:13:02 +02:00
Nicolas Graves
eeb7f88934
gnu: Add emacs-treebundel.
* gnu/packages/emacs-xyz.scm (emacs-treebundel): New variable.

Change-Id: I1b1037b69febd0bab59aae6dd95aeeaa6a5e1e2e
Signed-off-by: Andrew Tropin <andrew@trop.in>
2023-10-27 17:28:29 +04:00
Zheng Junjie
fca99c89b8
gnu: Add guile-ts.
* gnu/packages/guile-xyz.scm (guile-ts): New variable.

Co-authored-by: Andrew Tropin <andrew@trop.in>
Signed-off-by: Andrew Tropin <andrew@trop.in>
2023-10-27 16:10:04 +04:00
zamfofex
c11b9133d2
gnu: Add moonfish.
* gnu/packages/games.scm (moonfish): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
Change-Id: Idadb367c60648a1c98601302398dae1373e68919
2023-10-27 13:32:37 +02:00
Gabriel Wicki
9291370344
teams: Add myself to audio team.
Message-ID: <cfad42ecdcd190893699ef28d42b35b706729bcd.1698355699.git.gabriel@erlikon.ch>
In-Reply-To: <81d0877b2cb39164563dfbf2c551f1c99aad75ed.1698355699.git.gabriel@erlikon.ch>
References: <81d0877b2cb39164563dfbf2c551f1c99aad75ed.1698355699.git.gabriel@erlikon.ch>
From: Gabriel Wicki <gabriel@erlikon.ch>
Date: Tue, 2 May 2023 16:47:41 +0200
Subject: [PATCH 2/2] teams: Add Gabriel Wicki.

* etc/teams.scm.in ("Gabriel Wicki"): New member.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2023-10-27 12:13:09 +02:00
Gabriel Wicki
e7c8bdac93
teams: Add audio team.
Message-ID: <81d0877b2cb39164563dfbf2c551f1c99aad75ed.1698355699.git.gabriel@erlikon.ch>
From: Gabriel Wicki <gabriel@erlikon.ch>
Date: Tue, 2 May 2023 16:38:15 +0200
Subject: [PATCH 1/2] teams: Add audio team.

* etc/teams.scm.in (audio): Add team.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2023-10-27 12:13:09 +02:00
Wilko Meyer
b96729e22d
gnu: linux-libre 5.15: Update to 5.15.136.
* gnu/packages/linux.scm (linux-libre-5.15-version): Update to 5.15.136.
(linux-libre-5.15-pristine-source): Update hash.

Signed-off-by: Leo Famulari <leo@famulari.name>
Change-Id: I17e958435010099ae41713a2a18d6fc5fac57ce7
2023-07-23 22:26:05 -04:00
Wilko Meyer
8ed7512518
gnu: linux-libre 6.1: Update to 6.1.59.
* gnu/packages/linux.scm (linux-libre-6.1-version): Update to 6.1.59.
(linux-libre-6.1-pristine-source): Update hash.

Signed-off-by: Leo Famulari <leo@famulari.name>
Change-Id: Id98b393a6fedaa2ccfb25972407c74755c3a1310
2023-07-23 22:26:05 -04:00
Wilko Meyer
d366ca387f
gnu: linux-libre 6.5: Update to 6.5.8.
* gnu/packages/linux.scm (linux-libre-6.5-version): Update to 6.5.8.
(linux-libre-6.5-pristine-source): Update hash.

Signed-off-by: Leo Famulari <leo@famulari.name>
Change-Id: Ia7c9f2347269c61cd39d4801a939296931b00d1c
2023-07-23 22:26:00 -04:00
Tomas Volf
a69dec7149
gnu: Add rust-cbindgen-0.26.
* gnu/packages/rust-apps.scm (rust-cbindgen-0.26): New variable.
(rust-cbindgen-0.24): Inherit from rust-cbindgen-0.26.

Change-Id: Id17f8e251ceecc8ae0708dcfc19acfc5c56b824f
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2023-10-26 12:04:01 -04:00
Zheng Junjie
33f5b747b4
gnu: fcode-utils: Fix cross-compilation.
* gnu/packages/firmware.scm (fcode-utils)
[arguments]: use STRIP-FOR-TARGET.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2023-10-26 15:21:36 +02:00
Zheng Junjie
dd3b9e84b9
utils: Add 'strip-for-target'.
* guix/utils.scm (strip-for-target): New procedure.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2023-10-26 15:21:35 +02:00
Andrew Tropin
486dcafb45
gnu: Add emacs-corfu-candidate-overlay.
* gnu/packages/emacs-xyz.scm (emacs-corfu-candidate-overlay): New variable.
2023-10-26 15:44:39 +04:00
Zheng Junjie
2337666833
gnu: cups: Fix cross-compiling.
* gnu/packages/cups.scm (cups-filters)[native-inputs]: When cross-compiling
add cups-minimal.
(cups-minimal)[native-inputs]: When cross-compiling add this-package.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Change-Id: Ifcc34f09d0a5afb3a1b95be51715c509b8ef5ed4
2023-10-26 11:30:01 +02:00
Ricardo Wurmus
a7083cab3a
gnu: swineherd: Update to 0.0.3.
* gnu/packages/admin.scm (swineherd): Update to 0.0.3.

Change-Id: I4b0907c5e57a82b5bd628a8c6a7f9851b19e0a5e
2023-10-26 11:12:44 +02:00
Tobias Geerinckx-Rice
6d7e181ba1
gnu: linux-libre@6: Enable Coreboot framebuffer support (again).
This also resolves an unexplained divergence in the i686 and x86_64
kernel configurations.

* gnu/packages/aux-files/linux-libre/6.1-i686.conf,
gnu/packages/aux-files/linux-libre/6.5-i686.conf:
Set CONFIG_DRM_SIMPLEDRM=m.
* gnu/packages/aux-files/linux-libre/6.1-x86_64.conf,
gnu/packages/aux-files/linux-libre/6.5-x86_64.conf:
Likewise, and set CONFIG_SYSFB_SIMPLEFB=y and
CONFIG_GOOGLE_FRAMEBUFFER_COREBOOT=m.

Change-Id: I707a293b58f7502cf107057ee0fa0b23d5630696
2023-10-22 02:00:00 +02:00
Clément Lassieur
6c894b7a1a
gnu: Add passff.
* gnu/packages/browser-extensions.scm (passff-host): New variable.
(passff): New variable.

Change-Id: I0f6f4b0c319e5cffd0940421a4d8bdc73d8d806b
2023-10-25 22:42:52 +02:00
Florian Pelz
2844f24e89
doc: cookbook: Fix a broken cross-reference.
* doc/guix-cookbook.texi (Building with Guix): Adjust xref target.

Change-Id: I87d6dc2648ff8898e3dd3b5ffca748193f14751e
2023-10-25 17:01:43 +02:00
Ricardo Wurmus
fa849a177a
gnu: r-prabclus: Update to 2.3-3.
* gnu/packages/statistics.scm (r-prabclus): Update to 2.3-3.

Change-Id: Ib30b381206e92401c1f5af921faefacfed6794e9
2023-10-25 16:58:43 +02:00
Ricardo Wurmus
eee90d7500
gnu: r-plotly: Update to 4.10.3.
* gnu/packages/statistics.scm (r-plotly): Update to 4.10.3.

Change-Id: I4110f2066ce507f8d5d824546b3229bd498982b9
2023-10-25 16:58:43 +02:00
Ricardo Wurmus
99c4716c5d
gnu: r-markdown: Update to 1.11.
* gnu/packages/statistics.scm (r-markdown): Update to 1.11.

Change-Id: I1d8eb8f0414d514b61707d1ac090cf2987f55858
2023-10-25 16:58:43 +02:00
Ricardo Wurmus
d0b3712c6e
gnu: r-gdtools: Update to 0.3.4.
* gnu/packages/statistics.scm (r-gdtools): Update to 0.3.4.
[inputs]: Add zlib.

Change-Id: I9580e0d3313a83e7a9163ec831ab2e5e80f2f627
2023-10-25 16:58:43 +02:00
Ricardo Wurmus
31921b7037
gnu: r-rpart: Update to 4.1.21.
* gnu/packages/statistics.scm (r-rpart): Update to 4.1.21.

Change-Id: I3c87cf0c8ea010a3f32ad70e9ad70cb9206e062a
2023-10-25 16:58:43 +02:00
Ricardo Wurmus
49e6c03117
gnu: r-lattice: Update to 0.22-5.
* gnu/packages/statistics.scm (r-lattice): Update to 0.22-5.

Change-Id: I77cb85f0b548f519216e9e6b31b8e8b3bb78e1d8
2023-10-25 16:58:43 +02:00
Ricardo Wurmus
6eab7ce6c0
gnu: r-paws-common: Update to 0.6.2.
* gnu/packages/cran.scm (r-paws-common): Update to 0.6.2.

Change-Id: Ie843d206f9275499f8ee1e10b071d2f2799e9b50
2023-10-25 16:58:42 +02:00
Ricardo Wurmus
6f3e77cd69
gnu: r-rsq: Update to 2.6.
* gnu/packages/cran.scm (r-rsq): Update to 2.6.
[propagated-inputs]: Add r-deming.

Change-Id: I9ff6747c8fb726585154cb4232136d5aa0e242cb
2023-10-25 16:58:42 +02:00
Ricardo Wurmus
0405c7f1b9
gnu: r-rtweet: Update to 1.2.1.
* gnu/packages/cran.scm (r-rtweet): Update to 1.2.1.

Change-Id: Id4de453409dc5783cc6ee6e0cd1e2f501bb7aedf
2023-10-25 16:58:42 +02:00
Ricardo Wurmus
c3afa50e90
gnu: r-rworldmap: Update to 1.3-8.
* gnu/packages/cran.scm (r-rworldmap): Update to 1.3-8.
[propagated-inputs]: Remove r-maptools; add r-raster and r-terra.

Change-Id: I1477102143aece22ab083cd7193c69dd9a167c47
2023-10-25 16:58:42 +02:00
Ricardo Wurmus
dfe5e040a1
gnu: r-qdapregex: Update to 0.7.8.
* gnu/packages/cran.scm (r-qdapregex): Update to 0.7.8.

Change-Id: Iedcf97ca54205a02d718961c9b7bc01527ce4993
2023-10-25 16:58:42 +02:00
Ricardo Wurmus
1cd877ce9d
gnu: r-ragg: Update to 1.2.6.
* gnu/packages/cran.scm (r-ragg): Update to 1.2.6.

Change-Id: Id49d85354565d8a0e6a72ef935fd1141928f275b
2023-10-25 16:58:42 +02:00
Ricardo Wurmus
7b2fd93f5e
gnu: r-textshaping: Update to 0.3.7.
* gnu/packages/cran.scm (r-textshaping): Update to 0.3.7.

Change-Id: Iee4378ac94df52f87e23d5ab4dba1708afb58f4c
2023-10-25 16:58:42 +02:00
Ricardo Wurmus
e09ebb2227
gnu: r-tidyposterior: Update to 1.0.1.
* gnu/packages/cran.scm (r-tidyposterior): Update to 1.0.1.

Change-Id: I16cd6fa1b3ccdf73da0ebe1652f28a13a95793fa
2023-10-25 16:58:42 +02:00
Ricardo Wurmus
7c2969fd6e
gnu: r-slider: Update to 0.3.1.
* gnu/packages/cran.scm (r-slider): Update to 0.3.1.

Change-Id: I7540954ff03379d5b04afaeb263d7443d9e38288
2023-10-25 16:58:42 +02:00
Ricardo Wurmus
45e9d9ca43
gnu: r-spatstat-random: Update to 3.2-1.
* gnu/packages/cran.scm (r-spatstat-random): Update to 3.2-1.

Change-Id: I3b4c476f23407a920053bb37cd476467775752d5
2023-10-25 16:58:42 +02:00
Ricardo Wurmus
4c8ada199d
gnu: r-spatstat-geom: Update to 3.2-7.
* gnu/packages/cran.scm (r-spatstat-geom): Update to 3.2-7.

Change-Id: I220fe0abbc173e35aea198d20874f9d445e269af
2023-10-25 16:58:42 +02:00
Ricardo Wurmus
e6ed303fd1
gnu: r-spatstat-data: Update to 3.0-3.
* gnu/packages/cran.scm (r-spatstat-data): Update to 3.0-3.

Change-Id: Iab1b674c4c1c0fe4ca36ca3e7c78f7727da4c223
2023-10-25 16:58:42 +02:00
Ricardo Wurmus
5b1ffed4b0
gnu: r-spatstat-sparse: Update to 3.0-3.
* gnu/packages/cran.scm (r-spatstat-sparse): Update to 3.0-3.

Change-Id: Ie82a72f45fe8558a8713e76be76ba5baa598ebdd
2023-10-25 16:58:42 +02:00
Ricardo Wurmus
a3f640f883
gnu: r-spatstat-utils: Update to 3.0-4.
* gnu/packages/cran.scm (r-spatstat-utils): Update to 3.0-4.

Change-Id: If1e7b35d0901c086e94e94878b843cb40fc1014c
2023-10-25 16:58:42 +02:00
Ricardo Wurmus
6262deac6a
gnu: r-spatstat-model: Update to 3.2-8.
* gnu/packages/cran.scm (r-spatstat-model): Update to 3.2-8.

Change-Id: I00d8bd8cf9e826516af05b0f4804c5dcfb906593
2023-10-25 16:58:42 +02:00
Ricardo Wurmus
ddca60deec
gnu: r-spatstat-explore: Update to 3.2-5.
* gnu/packages/cran.scm (r-spatstat-explore): Update to 3.2-5.

Change-Id: I14dbfe9d35a7487c3b9433f5dd068f8162f367b9
2023-10-25 16:58:42 +02:00
Ricardo Wurmus
d1574a3a8f
gnu: r-optimx: Update to 2023-10.21.
* gnu/packages/cran.scm (r-optimx): Update to 2023-10.21.
[native-inputs]: Remove r-knitr; add r-r-rsp.

Change-Id: I4077cbfefc499115e0d5bc57a20e1da9373ac3e2
2023-10-25 16:58:42 +02:00
Ricardo Wurmus
8d44e935fe
gnu: r-rstan: Update to 2.32.3.
* gnu/packages/cran.scm (r-rstan): Update to 2.32.3.

Change-Id: Iafaf0788e757ff591c191a4487d757e5728b03cb
2023-10-25 16:58:42 +02:00