This is a follow-up to e9b1329470. If
the EMACSNATIVELOADPATH environment variable (by mistake) has duplicated
paths, Emacs fails to start up with a message along the lines of
List contains a loop:
("$HOME/.guix-profile/lib/emacs/native-site-lisp" […] . #2)
To prevent this issue in the face of possibly duplicated search path elements,
use non-destructive methods where possible.
* guix/profiles.scm (emacs-subdirs): Use 'append' rather than 'nconc'.
Change-Id: If646b806f24666b5247850d30d2819c7482c130b
Fixes: Emacs "List contains a loop" <https://issues.guix.gnu.org/75709>
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This is a followup to and simplification of
3331d675fb.
* guix/grafts.scm (graft-derivation/shallow)[mapping]: Wrap origin and
replacement in ‘with-parameters’.
(cumulative-grafts)[finalize-graft]: Remove, and remove its sole user.
* guix/packages.scm (input-graft, input-cross-graft): Add ‘replacement’
straight into the ‘replacement’ field of <graft>.
* tests/packages.scm ("package-grafts, indirect grafts")
("package-grafts, indirect grafts, propagated inputs")
("package-grafts, same replacement twice")
("package-grafts, dependency on several outputs")
("replacement also grafted"): Adjust accordingly.
Suggested-by: David Elsing <david.elsing@posteo.net>
Change-Id: I286fceae53df9d3051137bbca5f944d51d0c92f3
* guix/gexp.scm (compile-parameterized): Return ‘obj’ as-is when it’s
not a struct.
* tests/gexp.scm ("with-parameters + store item"): New test.
Change-Id: I5b5348b98bce923d07f6fa39b2f0948723011db8
* gnu/packages/maths.scm (lapack): Update to 3.12.0 and switch to
‘git-fetch’.
[inputs]: Remove labels.
Change-Id: I3ae813f55ddd3229b9924853cdb8c31c4e420112
Co-authored-by: Andy Tai <atai@atai.org>
* gnu/packages/toys.scm (sl): Update to 5.05.
[source]<uri>: Set to "https://github.com/eyJhb/sl".
Change-Id: I7e0c3f44ab6741eef4737965faa1cae3f329210c
This fixes a runtime error of "QUAKE ERROR: Your version of SDL library is
incompatible with me. You need a library version in the line of 2.0.6".
* gnu/packages/games.scm (vkquake)[inputs]: Replace sdl2 with sdl2-2.0.
Change-Id: Iab65796a85a8a8247f565323e5cb1e2c9ae8329e
Reported-by: meaty on #guix
Change-Id: Ifc4d86014a5a9e8e584edbde8057c7929d534303
* gnu/packages/wm.scm (hyprland): Update to 0.47.0.
[arguments]<#:configure-flags>: New field. Add flag to disable trying to
build hyprpm.
Change-Id: I8a8ff5fd9ff9931322296dadc673ab4ea152520b
* gnu/packages/golang-xyz.scm (go-github-com-pelletier-go-toml-v2)
[arguments] <tests?>: Disable as all of them hang in CI without any
obvious reason.
Change-Id: I90d74254df46d0fb215bae3823e1c1f744156357
This is a follow-up to 79510f5e62, adjusting
minetest-server for the minetest -> luanti name change too.
* gnu/packages/minetest.scm (minetest-server)[#:phases]<check>: Set
MINETEST_GAME_PATH.
Adjust server executable path.
Change-Id: I4bcf798dea5dc1c920c2747950e970cb5fbddc3f
Fixes <https://issues.guix.gnu.org/61690>.
Until now, this would work:
guix shell --no-cwd -CWP -- guix shell -C coreutils -- ls -R /home
… but this would not:
$ guix shell --no-cwd -CWPN -- guix shell -C coreutils -- ls -R /home
guix shell: error: mount: mount "none" on "/tmp/guix-directory.Wnc2OI/sys": Operation not permitted
This is annoying and hardly understandable. Since we already disable
/sys mounts when sharing the global network namespace is asked (as in
‘guix shell -CN‘), for the very same reason, we can just as well disable
/sys mounts anytime it fails with EPERM.
* gnu/build/linux-container.scm (mount-file-systems): Silently ignore
EPERM when attempting to mount /sys.
Change-Id: If85b1d703ab58a98ea9873f4f8fed71a06b7aa63
Since symlinks to shell completion files are installed, it is useful to remove
them during the uninstallation, especially when they point to files that are
removed by 'guix-install.sh --uninstall'.
* etc/guix-install.sh (sys_delete_shell_completion): Create.
(sys_create_shell_completion): hardcode files being installed.
(sys_customize_bashrc): call sys_delete_shell_completion.
Change-Id: I70008bb55e7e1604f0c485c798460e160af7c9e5
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
The build fails because the types of function pointers with return type
'__m256' and 'const __m256' (or '__m512' and 'const __m512') are not treated
as compatible by the compiler.
* gnu/packages/machine-learning.scm (python-pytorch-for-r-torch)
[arguments]: New field.
[inputs]: Add foxi.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu/packages/python-xyz.scm (python-sympy): Update to 1.13.3.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Adjust 'check phase.
[native-inputs]: New field to add python-hypothesis, python-pytest,
python-setuptools and python-wheel.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>