me
/
guix
Archived
1
0
Fork 0
Commit Graph

135248 Commits (44c8ce8334ade3612747d72784fa4af9fdaa71f4)

Author SHA1 Message Date
Richard Sent 44c8ce8334
home: services: bash: Move default PS1 prompt to bashrc
Fixes <https://issues.guix.gnu.org/70164>.

* home/services/shells.scm (add-bash-configuration): Move default PS1 prompt
from .bash_profile to .bashrc.

Change-Id: Ic437458ee362cc4aa803a71c9962af866749f59a
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-04-29 23:54:13 +02:00
Tomas Volf 08bb2dbb13
guix-install.sh: Fix setting GUIX_LOCPATH.
After installing Guix home on my new foreign system, the locale did not
work and GDM did not even let me to log in.  After some digging around using
tty3 and tty4, I realized the GUIX_LOCPATH is not being set properly.

I had nothing installed in the ~/.guix-profile (the symlink did not even
exist) and I had glibc-locales installed in ~/.guix-home, yet GUIX_LOCPATH
contained "$HOME/.guix-profile/lib/locale:".

I believe when the code was modified from the original "home or profile" to
the current "home and profile" the || was used by accident instead of &&.

I also remove the trailing :, since it is taken care of by the ${...:+:}.

* etc/guix-install.sh (sys_create_init_profile):

Change-Id: I8a3287fe809af58aee2edc924154eecf91fa1eb8
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-04-29 22:56:44 +02:00
Tomas Volf d7bf731573
guix-install.sh: Add default value for XCURSOR_PATH.
This improves compatibility with (at least) Gnome based systems.  On my new
Ubuntu 22.04 install the mouse cursor was broken (after I installed Guix)
until I set this.

* etc/guix-install.sh (sys_create_init_profile): Set default value for
XCURSOR_PATH.

Change-Id: I489f0307d99e4d8d82671f291c78b90c7b6dae4a
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-04-29 22:56:05 +02:00
Ludovic Courtès a15db2ee50
pack: ‘-R’ (once) does not include fakechroot fallback.
Previously, ‘guix pack -R’ would build a wrapper containing both the
“userns” and “fakechroot” engines, instead of providing nothing but the
“userns” engine as the manual says.  This patch fixes it.

* guix/scripts/pack.scm (wrapped-package): Add #:fakechroot?
[build]: When FAKECHROOT? is false, ‘elf-loader-compile-flags’ always
returns '().

Change-Id: Ic75cc8c36bf0a3881f299b274d78bd9fc2d4e2bb
2024-04-29 22:54:15 +02:00
Ludovic Courtès 5f89f45e74
linux-initrd: Further strip the static Guile.
‘guile-static-initrd’ weighs in at 46 MiB, compared to 54 MiB for
‘guile-static-stripped’ (15% reduction).

* gnu/packages/make-bootstrap.scm (make-guile-static-stripped): Add
‘directories-to-remove’ parameter and honor it.
(%guile-static-initrd): New variable.
* gnu/system/linux-initrd.scm (expression->initrd): Default to
‘%guile-static-initrd’.
* doc/guix.texi (Initial RAM Disk): Adjust accordingly.

Change-Id: I2baf06fed7a3698433e7c83b1d7726054a8c746e
2024-04-29 22:52:08 +02:00
Ludovic Courtès fb61323dba
services: build-vm: Provide only one locale.
* gnu/services/virtualization.scm (%virtual-build-machine-operating-system)
[locale, locale-definitions]: New fields.

Change-Id: Ieb24b3a0c210291d8c04412e4c263b5e377b5704
2024-04-29 22:52:08 +02:00
Ludovic Courtès 6228a2b8ba
locale: Shrink ‘%default-locale-definitions’ from 34 to 10 locales.
This reduces the default set of locales from 92 MiB to 28 MiB.

* gnu/system/locale.scm (%default-locale-definitions): Reduce to 10
locales.

Change-Id: I3c092604301d69db591957bcfd62a062c3ac5ab0
2024-04-29 22:52:08 +02:00
Ludovic Courtès 0575933ac2
system: Remove ‘glibc-2.33’ from ‘%default-locale-libcs’.
The transition from glibc 2.33 to 2.35 was done in
c919bfefd9 (one year ago), so we can
assume that the backward-compatible locales are no longer needed by
default.

This removes 92 MiB from the system closure.

* gnu/system/locale.scm (%default-locale-libcs): Remove GLIBC-2.33.

Change-Id: I85948bbe6b2d424f9f158eeafdb5543688c66c6b
2024-04-29 22:44:06 +02:00
Andreas Enge d6a6e832e6
gnu: ntl: Correct license.
* gnu/packages/algebra.scm (ntl)[license]: Set to lgpl2.1+.
[source]: Remove trailing #t in snippet.

Change-Id: Ibfcb520aa7fe71087adf2352b4051185a0d6f11e
2024-04-29 16:37:51 +02:00
Andreas Enge 50e3fb1ee9
gnu: flint: Update to 3.1.2.
* gnu/packages/algebra.scm (flint): Update to 3.1.2.
[arguments]: Add a configure flag.
[license]: Change to lgpl3+.

Change-Id: I57d6dc7e1ce90399d9e4c01b35e62793bfc07bee
2024-04-29 16:37:51 +02:00
Andreas Enge 64ed1f9eec
gnu: pari-gp: Update to 2.15.5.
* gnu/packages/algebra.scm (pari-gp): Update to 2.15.5.

Change-Id: I1facc04b52153b924f4575725404eab4477dad9f
2024-04-29 15:47:48 +02:00
Clément Lassieur 6489f97f4a
gnu: make-torbrowser: Fix file picker.
* gnu/packages/tor-browsers.scm (make-torbrowser): Set
"widget.use-xdg-desktop-portal.file-picker" to 1 (Always) instead of 2 (Auto)
to force the use of XDG portal.

Change-Id: Id3c24a292a309c3a079a3843e8cb1c00f2cf9551
2024-04-29 14:07:06 +02:00
宋文武 3bd8d238ab
services: Add gvfs-service-type.
* gnu/services/desktop.scm (gvfs-service-type): New variable.
(gvfs-configuration, make-gvfs-configuration, gvfs-configuration?,
gvfs-package): New procedures.
(<gvfs-configuration>): New record.
* doc/guix.texi (Desktop Services): Document it.

Change-Id: I584819500e2ce7d2b14e57dac238a96e9888e75e
2024-04-29 08:54:36 +08:00
宋文武 1fbbdef3c9
gnu: thunar: Use glib-or-gtk-build-system.
This wraps 'thunar' with GIO_EXTRA_MODULES to enable support for "Trash" and
remote file systems via GVFS.

Fixes <https://issues.guix.gnu.org/55781> and <https://issues.guix.gnu.org/40885>.

* gnu/packages/xfce.scm (thunar)[build-system]: Switch to glib-or-gtk-build-system.

Change-Id: Ifa4bc931272380e7c98dea40edb683da523bbaea
2024-04-29 08:54:30 +08:00
Sébastien Lerique f1bcbdbde7
gnu: Add hexahop.
* gnu/packages/games.scm (hexahop): New variable.

Change-Id: Id7a998d18c391af8d9722d2e637988ca019db304
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2024-04-29 08:43:25 +08:00
Ludovic Courtès 72432080ad
services: gdm: Use ‘make-forkexec-constructor’.
* gnu/services/xorg.scm (gdm-shepherd-service): Use
‘make-forkexec-constructor’ directly.

Change-Id: I4ede4c99996cea4421316411cf8d887d70ce4253
2024-04-28 23:41:50 +02:00
Ludovic Courtès ae36d514aa
services: lightdm: Use ‘make-forkexec-constructor’.
* gnu/services/lightdm.scm (lightdm-shepherd-service)[start]: Use
‘make-forkexec-constructor’ directly.

Change-Id: Iaaa8dcde123ea80ce63c09033b681e40ccc589a4
2024-04-28 23:37:24 +02:00
Ludovic Courtès f7f31c8595
publish: Catch all compression errors.
* guix/scripts/publish.scm (swallow-zlib-error): Remove.
(exception-with-kind-and-args?): New variable.
(swallow-compression-error): New macro.
(http-write): Use it instead of ‘swallow-zlib-error’.

Change-Id: I835a1eddd9686741d48365ed37f82b1e1d6f6bdd
2024-04-28 23:19:40 +02:00
Ludovic Courtès 7cef6b7ba5
gnu: guile-lzlib: Update to 0.3.0.
Fixes <https://issues.guix.gnu.org/69596>.

* gnu/packages/guile.scm (guile-lzlib): Update to 0.3.0.
[source]: Switch to ‘git-fetch’.

Change-Id: Ic9f8fe2d0ab24b66cfba618840773a3e89aea48c
2024-04-28 23:08:57 +02:00
Sharlatan Hellseher 9f183c3627
gnu: kubo: Adjust inputs.
* gnu/packages/ipfs.scm (kubo): Adjust inputs. Clean up all propagated
inputs from other packages. Inputs are aggregated into 2 groups - direct
and indirect as seen in Kubo's go.mod.
[inputs]: Remove go-github-com-cespare-xxhash,
go-github-com-cheekybits-genny, go-github-com-davecgh-go-spew,
go-github-com-golang-snappy, go-github-com-klauspost-cpuid,
go-github-com-lucas-clemente-quic-go, go-github-com-mattn-go-colorable,
go-github-com-mattn-go-isatty, go-github-com-minio-blake2b-simd,
go-github-com-minio-sha256-simd, go-github-com-mr-tron-base58,
go-github-com-multiformats-go-multiaddr,
go-github-com-pmezard-go-difflib, go-github-com-prometheus-client-model,
go-github-com-prometheus-common, go-github-com-prometheus-procfs,
go-github-com-spaolacci-murmur3, go-golang-org-x-lint,
go-golang-org-x-net, go-golang-org-x-tools, go-gopkg-in-yaml-v2, and
go-lukechampine-com-blake3.

Add go-github-com-benbjohnson-clock, go-github-com-ipfs-go-cid,
go-github-com-jbenet-go-temp-err-catcher,
go-github-com-multiformats-go-multiaddr-0.12,
go-github-com-multiformats-go-multicodec, go-google-golang-org-protobuf,
go-github-com-multiformats-go-multiaddr-fmt, and
go-github-com-multiformats-go-multistream.

Change-Id: I2f06a08839a761413b9225b3f2dd8e5f9f866a0f
2024-04-28 16:27:37 +01:00
Sharlatan Hellseher 9a3a2b5ca6
gnu: Add go-github-com-multiformats-go-multiaddr-fmt.
* gnu/packages/golang-web.scm (go-github-com-multiformats-go-multiaddr-fmt):
New variable.

Change-Id: Id66bad94946e3cb1bac1b4f341241b33e75cd217
2024-04-28 16:27:37 +01:00
Sharlatan Hellseher 5bbb1ab715
gnu: Add go-github-com-multiformats-go-multistream.
* gnu/packages/golang-web.scm (go-github-com-multiformats-go-multistream):
New variable.

Change-Id: Iba20fe848901fa5df59303f1673160f8c75d7831
2024-04-28 16:27:37 +01:00
Sharlatan Hellseher 37e35f6f59
gnu: Add go-github-com-multiformats-go-multicodec.
* gnu/packages/golang-xyz.scm (go-github-com-multiformats-go-multicodec):
New variable.

Change-Id: I2adf3f8200818675ba1de6322a1280d4b231cda4
2024-04-28 16:27:37 +01:00
Sharlatan Hellseher 3220226b40
gnu: go-github-com-mgutz-ansi: Propagate inputs.
* gnu/packages/golang-xyz.scm (go-github-com-mgutz-ansi): Propagate inputs.

* gnu/packages/music.scm (demlo) [native-inputs]: Remove
go-github-com-mattn-go-isatty, and go-github-com-mattn-go-colorable.

Change-Id: I26949e5ef7dd5cf3e118883c28a30d9e859a11b0
2024-04-28 16:27:37 +01:00
Sharlatan Hellseher 995151b7ed
gnu: go-github-com-mgutz-ansi: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-mgutz-ansi): Move from here...
* gnu/packages/golang-xyz.scm: ... to here.

Change-Id: Ic0e6a1400da75f8ef3c663e1ed10ff51408480f6
2024-04-28 16:27:36 +01:00
Sharlatan Hellseher 3bc07d1feb
gnu: go-github-com-multiformats-go-multihash: Adjust inputs.
* gnu/packages/golang-crypto.scm (go-github-com-multiformats-go-multihash):
Adjust inputs.
[propagated-inputs]: Remove go-github-com-gxed-hashland-keccakpg and
go-github-com-minio-blake2b-simd.

Change-Id: I72e9e019de72d368e0fa63d6e49af8e24b98f5e1
2024-04-28 16:27:36 +01:00
Sharlatan Hellseher 78257b564c
gnu: Remove go-github-com-multiformats-go-multihas-0.2.3.
* gnu/packages/golang-crypto.scm (go-github-com-multiformats-go-multihas):
Update to 0.2.3.

* gnu/packages/golang-crypto.scm (go-github-com-multiformats-go-multihas-0.2.3):
Revmoe variable.

* gnu/packages/golang-web.scm (go-github-com-multiformats-go-multiaddr-0.12):
[propagated-inputs]: Swap go-github-com-multiformats-go-multihas-0.2.3
to go-github-com-multiformats-go-multihas.

* gnu/packages/ipfs.scm (go-github-com-ipfs-go-cid):
[propagated-inputs]: Swap go-github-com-multiformats-go-multihas-0.2.3
to go-github-com-multiformats-go-multihas.

* gnu/packages/ipfs.scm (kubo): [inputs]: Swap
go-github-com-multiformats-go-multihas-0.2.3 to
go-github-com-multiformats-go-multihas.

Change-Id: Ic183a091d05cf93ba7cf430e59bb239951f1384a
2024-04-28 16:27:36 +01:00
Artyom V. Poptsov 46a9857ab0
gnu: kubo: Update to 0.28.0.
* gnu/packages/ipfs.scm (kubo): Update to 0.28.0.
[arguments]: <#:go>: Swap to go-1.21.
[inputs]: Remove go-golang-org-x-exp; add
go-github-com-jbenet-go-random, go-github-com-jbenet-goprocess,
go-github-com-julienschmidt-httprouter,
go-github-com-multiformats-go-multiaddr,
go-github-com-multiformats-go-multibase,
go-github-com-multiformats-go-multiaddr-dns, and
go-golang-org-x-exp-2023.

Change-Id: Id065558905130c7ad0124bcf56e8b38ee6f9656e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-04-28 16:27:36 +01:00
Artyom V. Poptsov f573deab2e
gnu: go-github-com-quic-go-quic-go: Update to 0.42.0.
* gnu/packages/golang-web.scm (go-github-com-quic-go-quic-go): Update to 0.42.0.

Change-Id: I9791bba274f9682cb73082ca5547a59de0ee4c8f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-04-28 16:27:36 +01:00
Artyom V. Poptsov 7790a970ec
gnu: yggdrasil: Use go-1.21.
* gnu/packages/networking.scm (yggdrasil) [arguments]: Use go-1.21.

Change-Id: I3731f49ff7a70114a2454da6985323c011d831a1
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-04-28 16:27:36 +01:00
Roman Scherer 72308f262c
gnu: emacs-plz: Update to 0.8.
* gnu/packages/emacs-xyz.scm (emacs-plz): Update to 0.8.

Change-Id: I0ceb1582e58e7c12e4d60e9658f6ee3ffbe7ebc7
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-28 10:11:26 -04:00
Wilko Meyer c04c03b9dd
gnu: emacs-cape: Update to 1.5.
* gnu/packages/emacs-xyz.scm (emacs-cape): Update to 1.5.

Change-Id: I8dcef81d57fa9eea92e2d4cdd2c942ef12f5abb4
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-28 10:11:25 -04:00
Vasilii Smirnov 4c81c1f734
gnu: hashlink: Update to 1.14
Change-Id: I1fe593cc03675cce81f70efb2576ff7bcd374187
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-28 10:11:25 -04:00
Vasilii Smirnov 2205660ce2
gnu: haxe: Update to 4.3.4
Note that the ocaml-luv library has made a few breaking changes, while
only updating the PATCH number in their version. As of now, haxe can
only be compiled with the 0.5.12 version of ocaml-luv - no lower, no
higher.

Change-Id: I465191aa8db806275b2385d11a602dfb0d8d4bb9
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-28 10:11:25 -04:00
宋文武 cd5afc503b
gnu: kauth: Fix KAUTH_HELPER_INSTALL_ABSOLUTE_DIR.
KAuth helpers use KAUTH_HELPER_INSTALL_ABSOLUTE_DIR as the prefix for "Exec="
in their dbus service files, which should really be an absolute directory.

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

* gnu/packages/kde-frameworks.scm (kauth)[arguments]<#:phases>: In
fix-cmake-install-directories phase, replace KAUTH_HELPER_INSTALL_DIR
with '${KDE_INSTALL_LIBEXECDIR}/kauth' and KAUTH_HELPER_INSTALL_ABSOLUTE_DIR
with '${KDE_INSTALL_FULL_LIBEXECDIR}/kauth'.

Change-Id: I57920c59dca503fd4bc8727cb35e1b0fb6016e56
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-28 10:11:25 -04:00
Artyom Bologov 1028e6a00e
gnu: guile-lmdb: Update to 0.0.1-2.56a986f.
* gnu/packages/guile-xyz.scm (guile-lmdb): Update to 0.0.1-2.56a986f.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-28 10:11:25 -04:00
Artyom Bologov 9e719107aa
gnu: guile-gsl: Update to 0.0.1-1.22ac81c.
* gnu/packages/guile-xyz.scm (guile-gsl): Update to 0.0.1-1.22ac81c.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-28 10:11:25 -04:00
Ian Eure 458f704e6d
gnu: librewolf: Update to 125.0.2-1.
* gnu/packages/librewolf.scm (librewolf): Update to 125.0.2-1.  Build with
LLVM/Clang 18; LLVM 13 (the default) segfaults on build.  Minor style tweaks.

Change-Id: Ib515f1596b3ce2dd192baebf1a877b3c2dc8d7e2
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-28 10:01:29 -04:00
Ian Eure baa6d7e04e
gnu: nss-certs: Update to 3.99.
* gnu/packages/certs.scm (nss-certs): Update to 3.99.

Change-Id: I588bc385022df486e596cd6fc5a7363df919b80b
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-28 10:01:29 -04:00
Ian Eure 3875bb1e44
gnu: nss/fixed: Update to 3.99.
* gnu/packages/nss.scm (nss/fixed): Update to 3.99.

Change-Id: I5a2b461c0a13212a45c81304f0ea2c2f4bb777c1
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-28 10:01:29 -04:00
nathan c85a7e1b2b
system: Fix duplicate nss-certs check.
* gnu/system.scm (operating-system-packages): Because packages->manifest
allows other formats, don't assume it's a package object in the list.

Fixes: https://issues.guix.gnu.org/70624
Change-Id: I91c64ca2c463ef5c35fa23856e4622e364e58988
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-28 09:53:46 -04:00
Jean-Pierre De Jesus DIAZ 37f76ab50a
gnu: soqt: Update to 1.6.2.
* gnu/packages/qt.scm (soqt): Update to 1.6.2.

Change-Id: Ie4c9f0c4cff7584801952cc561f4d6fa3515d0ec
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-04-28 09:53:34 -04:00
Maxim Cournoyer 0b8675daf2
gnu: Remove kddockwidgets-1.
* gnu/packages/qt.scm (kddockwidgets-1): Delete variable.

Change-Id: I06292158edbdbc6cf96c07b5ddf0925fbd688c7b
2024-04-28 09:53:34 -04:00
Maxim Cournoyer 22ffba9b4b
gnu: hotspot: Update to 1.5.0.
* gnu/packages/linux.scm (hotspot): Update to 1.5.0.

Change-Id: If8d2127be8ac880a5c9ab2cd7d23325d9be87417
2024-04-28 09:53:34 -04:00
Danny Milosavljevic 4178eaf3b2
gnu: emacs-dap-mode: Add debug toolbar icons.
* gnu/packages/emacs-xyz.scm (emacs-dap-mode)[arguments]<#:include>: New list.

Change-Id: I75ab6ecc0c94a95933cb015b1f19c8cd595953a5
2024-04-28 02:26:02 +02:00
Arun Isaac 8519b35f5f
gnu: mumi: Update to 0.0.10.
* gnu/packages/mail.scm (mumi): Update to 0.0.10.

Change-Id: I1a2f4f81e0c1ccc7fe2eab442e1544f94a08ee2f
2024-04-27 22:01:13 +01:00
Danny Milosavljevic 8d29f416a9
gnu: Add emacs-format-all-the-code.
* gnu/packages/emacs-xyz.scm (emacs-format-all-the-code): New variable.

Change-Id: I7c6cfae8d881a545ed683324823a71ba2bdd3e79
2024-04-27 12:51:35 +02:00
Danny Milosavljevic 0f8bb376b7
gnu: Add emacs-language-id.
* gnu/packages/emacs-xyz.scm (emacs-language-id): New variable.

Change-Id: I2866a788777b958c029b877b01ff7c5a35cb6729
2024-04-27 12:46:16 +02:00
Christopher Baines c81ed09700
gnu: nar-herder: Update to 0-29.fb764aa.
* gnu/packages/package-management.scm (nar-herder): Update to 0-29.fb764aa.

Change-Id: I3085ba1898734d19fd30d3a724929523c712aadd
2024-04-26 16:59:03 +01:00
Andy Tai 52a596077f
gnu: parallel: Update to 20240422.
* gnu/packages/parallel.scm (parallel): Update to 20240422.

Change-Id: I03928db86b3d292c02929b0adc10e09e818e09e3
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-04-26 16:54:24 +01:00