* guix/build/go-build-system.scm (setup-go-environment): When building
for windows override the inherited GOOS and set it to 'windows'.
Change-Id: I310aa490bb010370112cfa00c69df2d36387c323
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Fixes: CVE-2024-27280 (Buffer overread vulnerability in StringIO),
CVE-2024-27281 (RCE vulnerability with .rdoc_options in RDoc),
CVE-2024-27282 (Arbitrary memory address read vulnerability with Regex
search), CVE-2025-27219 (Denial of Service in CGI::Cookie.parse)
CVE-2025-27220 (ReDoS in CGI::Util#escapeElement), and
CVE-2025-27221 (userinfo leakage in URI#join, URI#merge and URI#+).
* gnu/packages/ruby.scm (ruby-3.1.7): New variable.
(ruby-3.1)[replacement]: Replace with ruby-3.1.7.
Change-Id: I9c4758f4622d5844cc9a23c2865a3d0210a4ebae
Signed-off-by: Christopher Baines <mail@cbaines.net>
Guix project seems to prefer using lambda over λ. Express that preference for
Geiser users by setting the geiser-insert-actual-lambda variable to nil. In
the 0.31 version it will affect how geiser-insert-lambda works, making it
insert lambda string (instead of the current λ.
* .dir-locals.el (nil): Add geiser-insert-actual-lambda set to nil.
Change-Id: Iccbd4a8df194d60b96b33879c342cfeb224bcfbb
Signed-off-by: Christopher Baines <mail@cbaines.net>
As omega and python-xapian-bindings inherit the same version as xapian,
update them in a single commit.
* gnu/packages/search.scm (xapian): Update to 1.4.29.
(python-xapian-bindings): Update to 1.4.29.
(omega): Update to 1.4.29.
[inputs]: Remove pcre:bin; add file, pcre2, perl, xapian, and zlib.
[native-inputs]: Add pkg-config.
Change-Id: I9a6103135b7b9a116370b211b3ca4eb15a9bff4f
Signed-off-by: Christopher Baines <mail@cbaines.net>
There's a naming conflict with cpp/bioinformatics clipper.
* gnu/packages/bioinformatics.scm
(clipper): Delete variable, rename to clipper-peak.
(clipper-peak): New variable, renamed from clipper.
Change-Id: I1411fe0eebf4ff322e4dadfbe53758feddc36599
Signed-off-by: Christopher Baines <mail@cbaines.net>
This fixes face errors in the emacs-keystore-mode dependent package on
emacs@30.
* gnu/packages/emacs-xyz.scm (emacs-origami-el) [source]
<snippet>: Adapt to emacs@30 face API (:color unspecified has to be changed to
:color nil).
Change-Id: I2d9c2baf8962a170ac1e7d4f6d5b7283e9ebcfe5
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
* gnu/packages/statistics.scm (emacs-ess): Update to Fix install path.
Packages must be installed under "site-packages/name-version/".
Change-Id: Ifdfbd2ad0d006f9f1cef83230876b9a5656949e3
Signed-off-by: Christopher Baines <mail@cbaines.net>
This snd-pcsp driver apparently attempts to load the pcspkr driver even when
it's already been loaded, causing the infamous kernel error message:
Error: Driver 'pcspkr' is already registered, aborting...
This change fixes it by simply not building the snd-pcsp driver, which usage
is to try to play audio via the low quality builtin speaker/beeper hardware.
It was automated via the command:
git grep -l 'CONFIG_SND_PCSP=m' |
xargs sed -i 's/CONFIG_SND_PCSP=m/# CONFIG_SND_PCSP is not set/'
Change-Id: Ide4b73be107d170a6db6be69b7a6bcd7b8036dcb
* gnu/services.scm (vte-integration-service-type): New service type.
* doc/guix.texi (Service Reference): Document it.
Change-Id: I7e4bc1b913b50a5a061894f9ddef27f1877b62a2
This factorizes out the remaining bashrc bits from /etc/skel/.bashrc to a the
template used for both /etc/bashrc on Guix System and ~/.bashrc for
home-bash-service-type.
Rationale: The use of /etc/skel introduce state: the file is only copied
originally when the user account is created, and never (automatically)
refreshed again.
* gnu/system.scm (operating-system-etc-service):
<profile>: Guard against souring /etc/bashrc in non-interactive, SSH case.
<bashrc>: Use %default-bashrc, having migrated the remaining definitions to...
* gnu/system/shadow.scm (%default-bashrc): ... here. Factorize aliases to...
* gnu/services.scm (%default-bash-aliases): ... here.
(%default-bashrc-d-aliases): New variable.
(%default-etc-bashrc-d-files): Include it in the default configuration.
* gnu/services/base.scm (%base-services): Register etc-bashrc-d-service-type.
* gnu/home/services/shells.scm (add-bash-configuration): Do not set PS1, now
part of %default-bashrc.
(home-bash-configuration) [guix-defaults?]: Update doc.
[aliases]: Set %default-bash-aliases as the default value. Update doc.
* doc/guix.texi (Shells Home Services): Update documentation.
(Service Reference): Update example.
Change-Id: I340c614983a78fd20a9c4a9705e7fc542ae9b513
* gnu/services.scm (files->bashrc-d-directory) New procedure.
(etc-bashrc-d-service-type): New service type.
* doc/guix.texi (Service Reference): Document it.
* gnu/tests/base.scm (test-basic-os): Test it.
Change-Id: Ibbb0f684de7aee296adedbce5b1192786d661af2
This causes Bash to treat /etc/bashrc as a startup file, removing the need to
source /etc/bashrc from ~/.bashrc.
* gnu/packages/bash.scm (bash-fixed): New package, with added SYS_BASHRC
define.
(bash) [replacement]: Use it.
* gnu/system/shadow.scm (%default-bashrc): Do not source /etc/bashrc, now done
implicitly.
Change-Id: I5b0afd7d81653ef19c482e5501efdf7e50ef37c0
* gnu/services.scm (make-files->etc-directory)
(files->profile-d-entries): New procedures.
(etc-profile-d-service-type): New service type.
* doc/guix.texi (Service Reference): Document it.
* gnu/tests/base.scm (run-basic-test): Test it.
Change-Id: I45dde43a1b9603c3384b933ebd1d6e45dba146b9
This is useful since our /etc/profile file is otherwise not easily
extendable.
* gnu/system.scm (operating-system-etc-service): Source all '.sh' ending
files found under the /etc/profile.d directory.
Change-Id: Ia6d777195241f69219f00fbd5975e3e6b7c265fb