Commit graph

158909 commits

Author SHA1 Message Date
Nicolas Goaziou
4e04035d36
gnu: profiles.scm: Ignore ls-R databases when building font maps.
* guix/profiles.scm (texlive-font-maps): Ignore ls-R databases when building
font maps.

Change-Id: I942886a89497e94c51e492657150540c6cd35603
2025-05-06 11:25:06 +02:00
Nicolas Goaziou
4df6eda30f
gnu: Rename texlive-updmap.cfg' into texlive-local-tree'.
* doc/build.scm (pdf-manual):
* doc/contributing.texi (Submitting Patches):
* gnu/packages/algebra.scm (pari-gp):
(giac):
* gnu/packages/assembly.scm (asl):
* gnu/packages/audio.scm (chow-tape-model):
* gnu/packages/bioconductor.scm (r-biocstyle):
* gnu/packages/bioinformatics.scm (discrover):
(phyml):
(velvet):
* gnu/packages/chemistry.scm (yaehmop):
* gnu/packages/chez.scm (chez-scheme-for-racket):
(stex-bootstrap):
(chez-web):
(chez-sockets):
* gnu/packages/cran.scm (r-papaja):
(r-prereg):
* gnu/packages/docbook.scm (dblatex):
* gnu/packages/emacs-xyz.scm (emacs-auctex):
* gnu/packages/engineering.scm (fastcap):
* gnu/packages/finance.scm (optionmatrix):
* gnu/packages/fsf.scm (book-faif):
* gnu/packages/gettext.scm (po4a):
(po4a-minimal):
* gnu/packages/graphics.scm (mmg):
* gnu/packages/graphviz.scm (dot2tex):
* gnu/packages/guile-xyz.scm (emacsy):
(guile-cv):
* gnu/packages/lisp.scm (sbcl):
* gnu/packages/maths.scm (cddlib):
(gnuplot):
(itpp):
(octave):
(suitesparse-amd):
(suitesparse-camd):
(suitesparse-cholmod):
(suitesparse-klu):
(suitesparse-ldl):
(suitesparse-mongoose):
(suitesparse-spex):
(suitesparse-spqr):
(suitesparse-umfpack):
(hypre):
* gnu/packages/music.scm (lilypond):
* gnu/packages/ocaml.scm (unison):
(ocaml-bibtex2html):
* gnu/packages/pdf.scm (extractpdfmark):
* gnu/packages/photo.scm (enblend-enfuse):
* gnu/packages/plotutils.scm (asymptote):
* gnu/packages/python-xyz.scm (python-numpy-documentation):
(python-ipython-documentation):
(python-pypandoc):
* gnu/packages/radio.scm (gnuradio):
(libosmo-dsp):
* gnu/packages/scheme.scm (mit-scheme):
* gnu/packages/security-token.scm (yubico-piv-tool):
* gnu/packages/sphinx.scm (python-sphinx):
(python-sphinx-5):
* gnu/packages/statistics.scm (r-with-tests):
(r-spams):
* gnu/packages/tex.scm (texlive-local-tree): Renamed from…
(texlive-updmap.cfg): … this. Deprecate the latter.
(texlive-biblatex-philosophy):
(texlive-bropd):
(texlive-fontsize):
(texlive-poetrytex):
(texlive-reverxii):
(texlive-stix):
(texlive-suftesi):
(texlive-thucoursework):
(texlive-ulqda):
(texlive-yathesis):
(texlive-makecell):
(texlive-robotarm):
(texlive-bbold):
(texlive-babel-romansh):
(texlive-polyglossia):
(texlive-innerscript):
(teximpatient):
(texlive-xkeyval):
(texlive-arabxetex):
(texlive-blox):
(texlive-ecgdraw):
(texlive-gradientframe):
(texlive-everyhook):
(texlive-actuarialangle):
(texlive-actuarialsymbol):
(texlive-autopdf):
(texlive-etaremune):
(texlive-extract):
(texlive-forarray):
(texlive-graphicx-psmin):
(texlive-ha-prosper):
(texlive-namespc):
(texlive-newspaper):
(texlive-powerdot):
(texlive-recipecard):
(texlive-show2e):
(texlive-tablists):
(texlive-ted):
(texlive-xargs):
(texlive-xpeek):
* gnu/packages/xdisorg.scm (xforms):
* gnu/packages/algebra.scm (gap):
* gnu/packages/cpp.scm (jthread):
* guix/lint.scm (check-inputs-should-be-native): Rename `texlive-updmap.cfg' into `texlive-local-tree'.

Change-Id: I129280807c418e57acbcbda399545ab27a9e0a33
2025-05-06 11:25:06 +02:00
Nicolas Goaziou
01be897177
gnu: texlive-updmap.cfg: Provide a full TeX Live tree.
* gnu/packages/tex.scm: (texlive-updmap.cfg): Provide a full TeX Live tree
instead of the font maps only. Activate it by generating a ls-R file. Also
limit propagated inputs to the bare minimum, i.e, texlive-libkpathsea.
[synopsis, documentation]: Update it so as to reflect the new nature of the
generated package.
(texlive-polyglossia, texlive-arabxetex)[native-inputs]:
Make sure texlive-updmap.cfg only contains TeX Live inputs as it doesn’t
propagate its arguments anymore.

Change-Id: I91e5e851a88c67f40215a07ae95138099edfe1a6
2025-05-06 11:25:06 +02:00
Nicolas Goaziou
31a6b4a4f9
gnu: texlive-newverbs: Remove input labels.
* gnu/packages/tex.scm (texlive-newverbs)[native-inputs]: Remove labels.

Change-Id: I2cccd5a010310ee4509d40999bd35283e8548656
2025-05-06 11:25:05 +02:00
Nicolas Goaziou
181c19fadf
gnu: texlive-hyphen-complete: Remove input labels.
* gnu/packages/tex.scm (texlive-hyphen-complete)[native-inputs]: Remove
labels.

Change-Id: Id6a56bb228311a2172a8f469e117611725b34103
2025-05-06 11:25:05 +02:00
Nicolas Goaziou
f5914d5b2e
gnu: texlive build system: Un-dumbify a comment.
* guix/build/texlive-build-system.scm (build): Clarify a poorly explained
design choice.

Change-Id: Ida4e4ccb3934f8b5cc7a6e36e33cec7a5e5581e8
2025-05-06 11:25:05 +02:00
Nicolas Goaziou
fbc334928b
gnu: tex.scm: Fix typo.
* gnu/packages/tex.scm: Fix typo in initial comments.

Change-Id: Ib336500bbdfe6e532db8ae1088eaed41e833c04f
2025-05-06 11:25:05 +02:00
Nicolas Goaziou
0b57435285
gnu: Remove deprecated TeX Live aliases.
* gnu/packages/tex.scm (texlive-base):
(texlive-tiny):
(texlive-union):
(texlive-generic-unicode-data):
(texlive-generic-tex-ini-files):
(texlive-metafont-base):
(texlive-tex-fontinst-base):
(texlive-fonts-cm):
(texlive-fonts-cm-super):
(texlive-fonts-lm):
(texlive-fonts-knuth-lib):
(texlive-fonts-latex):
(texlive-latex-mflogo):
(texlive-fonts-mflogo-font):
(texlive-fonts-amsfonts):
(texlive-latex-amsfonts):
(texlive-fonts-ec):
(texlive-tex-plain):
(texlive-latex-base):
(texlive-latex-atveryend):
(texlive-latex-auxhook):
(texlive-latex-epstopdf-pkg):
(texlive-latex-filecontents):
(texlive-generic-epsf):
(texlive-latex-fancyvrb):
(texlive-latex-graphics):
(texlive-latex-hycolor):
(texlive-latex-xcolor):
(texlive-latex-hyperref):
(texlive-latex-oberdiek):
(texlive-latex-rerunfilecheck):
(texlive-latex-tools):
(texlive-latex-url):
(texlive-latex-l3kernel):
(texlive-dvips-l3backend):
(texlive-latex-l3backend):
(texlive-latex-l3packages):
(texlive-latex-fontspec):
(texlive-luatex-lualibs):
(texlive-luatex-luaotfload):
(texlive-latex-amsmath):
(texlive-latex-amscls):
(texlive-latex-babel):
(texlive-generic-babel-english):
(texlive-generic-babel-french):
(texlive-generic-babel-german):
(texlive-latex-cyrillic):
(texlive-latex-psnfss):
(texlive-latex-ifplatform):
(texlive-generic-iftex):
(texlive-generic-ifxetex):
(texlive-latex-amsrefs):
(texlive-latex-bigfoot):
(texlive-latex-blindtext):
(texlive-latex-dinbrief):
(texlive-latex-environ):
(texlive-latex-eqparbox):
(texlive-latex-etoc):
(texlive-latex-expdlist):
(texlive-latex-filemod):
(texlive-latex-hanging):
(texlive-latex-natbib):
(texlive-latex-newfloat):
(texlive-latex-newunicodechar):
(texlive-latex-pdftexcmds):
(texlive-latex-psfrag):
(texlive-latex-pstool):
(texlive-latex-refcount):
(texlive-latex-seminar):
(texlive-latex-seqsplit):
(texlive-latex-stackengine):
(texlive-latex-tocloft):
(texlive-latex-trimspaces):
(texlive-latex-capt-of):
(texlive-latex-doi):
(texlive-latex-etoolbox):
(texlive-latex-fncychap):
(texlive-latex-framed):
(texlive-latex-g-brief):
(texlive-latex-galois):
(texlive-latex-gcite):
(texlive-latex-geometry):
(texlive-latex-mdwtools):
(texlive-latex-marginfix):
(texlive-latex-polyglossia):
(texlive-latex-supertabular):
(texlive-tex-texinfo):
(texlive-latex-upquote):
(texlive-latex-anysize):
(texlive-latex-appendix):
(texlive-latex-bookmark):
(texlive-latex-changebar):
(texlive-latex-cmap):
(texlive-latex-colortbl):
(texlive-latex-fancybox):
(texlive-latex-fancyhdr):
(texlive-latex-float):
(texlive-latex-footmisc):
(texlive-latex-letltxmacro):
(texlive-latex-frankenstein):
(texlive-latex-listings):
(texlive-latex-jknapltx):
(texlive-jknappen):
(texlive-latex-kvoptions):
(texlive-fonts-adobe-times):
(texlive-fonts-adobe-palatino):
(texlive-fonts-adobe-zapfding):
(texlive-fonts-rsfs):
(texlive-latex-eso-pic):
(texlive-latex-eepic):
(texlive-latex-enotez):
(texlive-latex-enumitem):
(texlive-latex-multirow):
(texlive-latex-overpic):
(texlive-latex-parskip):
(texlive-latex-pbox):
(texlive-latex-pdfpages):
(texlive-latex-sidecap):
(texlive-fonts-stmaryrd):
(texlive-latex-subfigure):
(texlive-latex-tabulary):
(texlive-fonts-txfonts):
(texlive-fonts-iwona):
(texlive-latex-titlesec):
(texlive-latex-type1cm):
(texlive-latex-lh):
(texlive-latex-acmart):
(texlive-latex-varwidth):
(texlive-latex-wasysym):
(texlive-latex-wrapfig):
(texlive-latex-ucs):
(texlive-latex-preview):
(texlive-latex-acronym):
(texlive-generic-pdftex):
(biber):
(texlive-latex-media9):
(texlive-latex-ocgx2):
(texlive-latex-ms):
(texlive-latex-numprint):
(texlive-latex-needspace):
(texlive-latex-changepage):
(texlive-latex-eukdate):
(texlive-latex-pgf):
(texlive-latex-koma-script):
(texlive-generic-atbegshi):
(texlive-generic-bigintcalc):
(texlive-generic-bitset):
(texlive-generic-etexcmds):
(texlive-generic-gettitlestring):
(texlive-generic-infwarerr):
(texlive-generic-intcalc):
(texlive-generic-kvdefinekeys):
(texlive-generic-kvsetkeys):
(texlive-generic-listofitems):
(texlive-generic-ltxcmds):
(texlive-generic-pdfescape):
(texlive-generic-uniquecounter):
(texlive-latex-readarray):
(texlive-latex-verbatimbox):
(texlive-latex-examplep):
(texlive-fonts-xypic):
(texlive-generic-xypic):
(texlive-fonts-charter):
(texlive-context-base):
(texlive-latex-beamer):
(texlive-latex-xmpincl):
(texlive-latex-pdfx):
(texlive-latex-xkeyval):
(texlive-latex-ebproof):
(texlive-latex-bussproofs):
(texlive-latex-translations):
(texlive-latex-textpos):
(texlive-generic-babel-norsk):
(texlive-latex-hyphenat):
(texlive-latex-lastpage):
(texlive-latex-tabto-ltx):
(texlive-generic-soul):
(texlive-soulutf8):
(texlive-generic-xstring):
(texlive-latex-totcount): Remove alias.

Change-Id: I5feffac15326e49470c45394adb87f1b8da188e0
2025-05-06 11:25:05 +02:00
Nicolas Goaziou
51d08a6c4f
gnu: texlivebin: Create missing "dvilualatex" symlink.
* gnu/packages/texlive.scm (texlivebin)[arguments]: Create missing
"dvilualatex" symlink.

Change-Id: I9eea99795ddb2f376977a4d7af4044617c2ef901
2025-05-06 11:25:05 +02:00
Nicolas Goaziou
d7f6e4eb1d
gnu: texlive-kpathsea: Enable all format configurations.
* gnu/packages/tex.scm (texlive-kpathsea)[arguments]<#:phases>: Allow
generating all formats provided in TeX Live.

Change-Id: I8131e1e42b827a1f603af4aa80e4de366bf9492a
2025-05-06 11:25:05 +02:00
Nicolas Goaziou
c22a795dd4
gnu: texlive-luahbtex: Generate missing "luahbtex.fmt".
* gnu/packages/tex.scm (texlive-luahbtex)[native-inputs]: Add TEXLIVE-KPATHSEA.
[properties]: Preserve native-input from upgrade.

Change-Id: I68b117276f88c8f87bfb3b5a93f9dd66c8d0ea1c
2025-05-06 11:25:05 +02:00
Nicolas Goaziou
7909349b0b
gnu: texlive-mflua-bin: Also install "*-nowin" binaries.
* gnu/packages/tex.scm (texlive-mflua-bin)[arguments]<#:phases>: Also generate
and install "mfluajit-nowin" and "mflua-nowin" binaries.

Change-Id: Id8b77abdf69699a831d3b52dadfc2eed0622bbf0
2025-05-06 11:25:05 +02:00
Nicolas Goaziou
8f10e21b56
gnu: texlive-latex-bin: Create missing "dvilualatex" symlink.
* gnu/packages/tex.scm (texlive-latex-bin)[arguments]: Create dvilualatex symlink.

Change-Id: I690b1ef09194907845ff229c9a58925efe16b0df
2025-05-06 11:24:56 +02:00
Maxim Cournoyer
a897159a7c
gnu: bash: Fix package indentation.
* gnu/packages/bash.scm (bash): Fix indentation.

Change-Id: I5d370ec90dcfcb7d78611809ef42da0f642212f5
2025-05-06 16:35:07 +09:00
Maxim Cournoyer
10cb04d8ac
tests: Fix indentation of (gnu tests base).
* gnu/tests/base.scm: Fix indentation.

Change-Id: I84ae82a8ce85ff0113a3eb1215b11c191d3929d6
2025-05-06 16:32:06 +09:00
Leo Famulari
ea874d0b3f
gnu: linux-libre 5.4: Update to 5.4.293.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.293.
(linux-libre-5.4-pristine-source, deblob-scripts-5.4): Update hashes.

Change-Id: I249b2ef27f4f5c0956949a0af8091f65c6998e2a
2025-05-05 22:09:31 -04:00
Leo Famulari
56027a40a1
gnu: linux-libre 5.10: Update to 5.10.237.
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.237.
(linux-libre-5.10-pristine-source, deblob-scripts-5.10): Update hashes.

Change-Id: I3e7ccf17f8e02670c8fa38a6857a5d26f019527b
2025-05-05 22:09:31 -04:00
Leo Famulari
db481d83d1
gnu: linux-libre 5.15: Update to 5.15.181.
* gnu/packages/linux.scm (linux-libre-5.15-version): Update to 5.15.181.
(linux-libre-5.15-pristine-source, deblob-scripts-5.15): Update hashes.

Change-Id: Ia38669031b4cd33d624dc47790708b823219689c
2025-05-05 22:09:31 -04:00
Leo Famulari
90d15f2949
gnu: linux-libre 6.1: Update to 6.1.136.
* gnu/packages/linux.scm (linux-libre-6.1-version): Update to 6.1.136.
(linux-libre-6.1-pristine-source): Update hash.

Change-Id: Iaf9a2431dd596d3e9c0fbd0ccfda6a5c5eaf730b
2025-05-05 22:09:31 -04:00
Leo Famulari
eba1909b61
gnu: linux-libre 6.6: Update to 6.6.89.
* gnu/packages/linux.scm (linux-libre-6.6-version): Update to 6.6.89.
(linux-libre-6.6-pristine-source): Update hash.

Change-Id: Id0524a4e05a0d781b6d76c0fe89785dc8f64d8ba
2025-05-05 22:09:30 -04:00
Leo Famulari
b4ce8ab251
gnu: linux-libre 6.12: Update to 6.12.26.
* gnu/packages/linux.scm (linux-libre-6.12-version): Update to 6.12.26.
(linux-libre-6.12-pristine-source): Update hash.

Change-Id: I60dc56d6a3d582781775661da3aa438b33c15810
2025-05-05 22:09:30 -04:00
Leo Famulari
e79198acd8
gnu: linux-libre 6.14: Update to 6.14.5.
* gnu/packages/linux.scm (linux-libre-6.14-version): Update to 6.14.5.
(linux-libre-6.14-pristine-source): Update hash.

Change-Id: I6e81210e7237dabef9eff430ba9920ef3d501b1d
2025-05-05 22:09:30 -04:00
Sergey Trofimov
eab097c682
gnu: openssh: Adapt for root-less guix store.
Fixes <https://issues.guix.gnu.org/78067>.

Previously sshd would use /gnu/store/…-openssh-…/var/empty as its
PRIVSEP_PATH.  However, when using the unprivileged daemon, that
directory would belong to guix-daemon:guix-daemon, leading to this
error:

  sshd[234]: fatal: /gnu/store/…-openssh-10.0p1/var/empty must be owned by root and not group or world-writable.

Fix that by switching to /var/empty.

* gnu/packages/patches/openssh-trust-guix-store-directory.patch
(openssh): Adjust to trust files in guix store owned by guix-daemon.
* gnu/packages/ssh.scm (openssh)[arguments]:  Remove ‘reset-/var/empty’
phase; change ‘install’ phase to not create PRIVSEP_PATH..  Append
ending slash when substituting STORE_DIRECTORY.

Change-Id: I3bd01f8b9d6406e3b886eea8f4b8c265a51cc72f
Reported-by: Zack Weinberg <zack@owlfolio.org>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-05-06 00:16:33 +02:00
Ayush Jha
d9e0bb44c0
gnu: Add guile-slugify.
* gnu/packages/guile-xyz.scm (guile-slugify): New variable.

Change-Id: I4e7ab7a4821f53cf7372388efa07cea2fd3c17ef
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Modified-by: Ludovic Courtès <ludo@gnu.org>
2025-05-06 00:16:33 +02:00
Ludovic Courtès
94c9e53fa4
install: Do not leak local checkout URL.
Fixes <https://issues.guix.gnu.org/67707>.

Previously ‘guix describe’ in the installation image would show the
URL of the local checkout that was used to build the image.  It now
shows the default URL.

* gnu/system/install.scm (%installation-services): Change channel of
‘guix’ package to inherit from ‘%default-guix-channel’.

Change-Id: If848b5a6166904e982e0f9a0780f3e3f53bdfc28
2025-05-06 00:16:33 +02:00
Steve George
4a32b83753
gnu: Update neomutt.
* gnu/packages/mail.scm (neomutt): Update to 20250404.
[arguments] <configure-flags>: remove deprecated options --disable-idn,
  --with-ui and --debug. Change --ssl option to new format. Add --zstd.
<phases>: Remove breaking tests.
[inputs]: Add zstd.

Change-Id: Id823068d28595b398911cde4fce4d1a5c5576561
Signed-off-by: Steve George <steve@futurile.net>
2025-05-05 22:20:04 +01:00
jgart
ce37c47492
gnu: trealla: Update to 2.70.4.
* gnu/packages/prolog.scm (trealla): Update to 2.70.4.

Change-Id: Ib30d3cd9d4f3fed089184bc8202fba3997cf57b7
2025-05-05 16:14:38 -05:00
Ricardo Wurmus
90f0f8713d
gnu: lsp-plugins: Update to 1.2.21.
* gnu/packages/music.scm (lsp-plugins): Update to 1.2.21.
[arguments]: Update file name of test binary.

Change-Id: Ifc65e4fd6d66ef8466c46fd487e710366d5db9b1
2025-05-05 16:28:29 +02:00
Ricardo Wurmus
4f62e63326
gnu: r-posterior: Update to 1.6.1.
* gnu/packages/cran.scm (r-posterior): Update to 1.6.1.
[native-inputs]: Add r-dplyr, r-ggplot2, and r-tidyr.

Change-Id: Ibbea0ab6c98f7d246cdc390e0f8a65f87aca6807
2025-05-05 16:28:29 +02:00
Tomas Volf
99af1fee57
gnu: deluge: Update to 2.2.0.
* gnu/packages/bittorrent.scm (deluge): Update to 2.2.0.
[arguments]<#:phases>: Drop 'fix-deluge-console.

Change-Id: Iad8461c7ea73042fb208ea182f4dc67d4e74adcf
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-05-05 16:24:18 +02:00
André Batista
68874bb230
gnu: torbrowser: Update to 14.5.1 [security-fixes].
Fixes CVEs 2025-2817, 2025-4082, 2025-4083, 2025-4084, 2025-4087,
2025-4091 and 2025-4093.  See:
<https://www.mozilla.org/en-US/security/advisories/mfsa2025-29/> for
details.

* gnu/packages/tor-browsers.scm (%torbrowser-build-date): Update to
20250428205842.
(%torbrowser-version): Update to 14.5.1.
(%torbrowser-firefox-version): Update to 128.10.0esr-14.5-1-build2.
(torbrowser-translation-base): Update to
04331f4c8177a09f0785f8cf2604dcebde139be5.
(torbrowser-translation-specific): Update to
5f4849f6d050316f9d7fe90018d1a83a3d191341.

Change-Id: I4192dc53ea2f67ca127c61cfc98b4a057954942a
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-05-05 16:21:53 +02:00
André Batista
c6b40dd9ce
gnu: mullvadbrowser: Update to 14.5.1 [security-fixes].
Fixes CVEs 2025-2817, 2025-4082, 2025-4083, 2025-4084, 2025-4087,
2025-4091 and 2025-4093.  See:
<https://www.mozilla.org/en-US/security/advisories/mfsa2025-29/> for
details.

* gnu/packages/tor-browsers.scm (%mullvadbrowser-build-date): Update to
20250428205842.
(%mullvadbrowser-version): Update to 14.5.1.
(%mullvadbrowser-firefox-version): Update to 128.10.0esr-14.5-1-build2.
(mullvadbrowser-translation-base): Update to
04331f4c8177a09f0785f8cf2604dcebde139be5.
(mullvadbrowser-translation-specific): Update to
88915281a11105bef03e638336b2852bd806ef78.

Change-Id: I8d71343b86b41318e7f4c7906cd4d2cf7c60e52e
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-05-05 16:19:00 +02:00
宋文武
3993d1961a
gnu: quickjs: Update to 2025-04-26.
* gnu/packages/javascript.scm (quickjs): Update to 2025-04-26.

Change-Id: Ia759ec18e58613734446d9cce88f781c3c415c14
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-05-05 16:09:49 +02:00
宋文武
cbc9fbcf2d
Revert "gnu: quickjs: Deprecate."
It seems quickjs-ng and quickjs are not API compatible.
This fixes building tic80.

This reverts commit b94cf86a89.

Change-Id: I3666ddbef8d1b2e71d49f9b14aef5a1be4b8495a
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-05-05 16:03:55 +02:00
Vagrant Cascadian
a824edd45e
gnu: lcrq: Update to 0.2.4.
* gnu/packages/networking.scm (lcrq): Update to 0.2.4.
[homepage]: Update redirected URL.

Change-Id: I22fe5ecb012d915552779acc2d7f69d43ea03a3b
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-05-05 15:22:31 +02:00
Ludovic Courtès
8745239dd2
news: Add entry for ‘guix shell --writable-root’.
* etc/news.scm: Add it.

Change-Id: I3b07d8156c32c0cb6de8e8bf3a26a3e1e5af66b1
2025-05-05 14:34:39 +02:00
Ludovic Courtès
a57ed987ff
linux-container: Lock mounts by default.
This makes it impossible to unmount or remount things from within
‘call-with-container’.

* gnu/build/linux-container.scm (initialize-user-namespace):
Add #:host-uid and #:host-gid. and honor them.
(run-container): Add #:lock-mounts?.  Honor it by calling ‘unshare’
followed by ‘initialize-user-namespace’.
(call-with-container): Add #:lock-mounts? and pass it down.
(container-excursion): Get the user namespace owning the PID namespace
and join it, then join the remaining namespaces.
* tests/containers.scm ("call-with-container, mnt namespace, locked mounts"):
New test.
("container-excursion"): Pass #:lock-mounts? #f.

Change-Id: I13be982aef99e68a653d472f0e595c81cfcfa392
2025-05-05 14:34:00 +02:00
Ludovic Courtès
e1a0171a56
linux-container: Set up “lo” and generate /etc/hosts by default.
* gnu/build/linux-container.scm (run-container): Add #:loopback-network?
and honor it via #:populate-file-system.
(call-with-container): Add #:loopback-network? and pass it to
‘run-container’.
* guix/scripts/environment.scm (launch-environment/container): Remove
call to ‘set-network-interface-up’ and remove generation of /etc/hosts.
* guix/scripts/home.scm (spawn-home-container): Likewise.

Change-Id: I5933a4e8dc6d8e19235a79696b62299d74d1ba21
2025-05-05 14:34:00 +02:00
Ludovic Courtès
3aa132e8c3
syscalls: Add ‘get-user-ns’.
* guix/build/syscalls.scm (NS_GET_USERNS): New variable.
(get-user-ns): New procedure.

Change-Id: I0cfba6a7cdf2ab64ef658b0f821ba4e7c6c89eab
2025-05-05 14:34:00 +02:00
Ludovic Courtès
ce363c1dc7
environment: Add ‘--writable-root’ and default to read-only root.
This is an incompatible change where the root file system in
‘guix shell -C’ is now read-only by default.

* guix/scripts/environment.scm (show-environment-options-help)
(%options): Add ‘--writable-root’.
* guix/scripts/environment.scm (setup-fhs): Invoke /sbin/ldconfig; moved
from…
(launch-environment): … here.
(launch-environment/container): Add #:writable-root? and pass it to
‘call-with-container’.  Move root file system setup to #:populate-file-system.
(guix-environment*): Honor ‘--writable-root’.
* tests/guix-environment-container.sh: Test it.
* doc/guix.texi (Invoking guix shell): Document ‘--writable-root’.
(Debugging Build Failures): Mention it before “rm /bin/sh”.

Change-Id: I2e8517d6f01eb8093160bffc0f9f56071ad6fee6
Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2025-05-05 14:33:59 +02:00
Ludovic Courtès
7d28e6512c
guix home: ‘container’ provides a read-only root file system.
* guix/scripts/home.scm (spawn-home-container): Move creation of
accounts, /etc/hosts, /tmp, and HOME-DIRECTORY from the first argument
of ‘eval/container’ to #:populate-file-system.  Remove #:writable-root?.
* tests/guix-home.sh: Test that the root file system is read-only.

Change-Id: Icda54706321d51b95b563c86c3fb2238cc65ee20
2025-05-05 14:33:59 +02:00
Ludovic Courtès
a391394a22
linux-container: Support having a read-only root file system.
Until now, the read-only file system set up by ‘call-with-container’
would always be writable.  With this change, it can be made read-only.
With this patch, only ‘least-authority-wrapper’ switches to a read-only
root file system.

* gnu/build/linux-container.scm (remount-read-only): New procedure.
(mount-file-systems): Add #:writable-root? and #:populate-file-system
and honor them.
(run-container): Likewise.
(call-with-container): Likewise.
* gnu/system/linux-container.scm (container-script): Pass #:writable-root?
to ‘call-with-container’.
(eval/container): Add #:populate-file-system and #:writable-root? and
honor them.
* guix/scripts/environment.scm (launch-environment/container):
Pass #:writable-root? to ‘call-with-container’.
* guix/scripts/home.scm (spawn-home-container): Likewise.
* tests/containers.scm ("call-with-container, mnt namespace, read-only root")
("call-with-container, mnt namespace, writable root"): New tests.

Change-Id: I603e2fd08851338b737bb16c8af3f765e2538906
2025-05-05 14:33:59 +02:00
Ludovic Courtès
acc4215644
guix home: ‘container’ explicitly mounts $HOME and /run/user/1000.
* guix/scripts/home.scm (spawn-home-container): Pass #:mounts to
‘eval/container’.

Change-Id: I1986c1411711cebaf623f97897d91436d8167037
2025-05-05 14:33:59 +02:00
Ludovic Courtès
d4c3b31b86
linux-container: Add #:mounts to ‘eval/container’.
* gnu/system/linux-container.scm (eval/container): Add #:mounts
parameter and honor it.

Change-Id: I1d5970f53a3d67db93e937e392f9bf36e75d1573
2025-05-05 14:33:59 +02:00
Rutherther
e9cd72875e
services: guix: Fix case when /etc/guix/acl is a dangling symlink.
One possible solution for an issue when /etc/guix/acl file exists, but points
to a non-existent location. This can for example happen if one is
reinitializing the system, and remove only /gnu/store and /var/guix, keep the
rest okay. This is a major advantage of guix as compared to other distros that
usually need you to reinitialize the whole root partition. But this will leave
the user with acl file pointing to non-existent location. The file-exists?
procedure will return #f for broken symbolic links.

I think that another reason one would get this issue is, if one was booted in
a live iso, chrooted, fixing their system. They would switch generations to
one with different acl file, delete other generations gc rooting the original
acl file and then gc. One could do this approach for example when recovering
from file corruptions in the store, to get rid of the unsubstitutable paths
that can't be repaired with guix gc --verify.

This fixes the issue by looking for type of a file through lstat, instead of
relying on file-exists?. If the symlink is a broken symlink, it is
removed. Other than that the old behavior is kept:
- If regular file, back it up
- If symlink pointing to the store, remove it
- If symlink not pointing to the store, back it up

* gnu/services/base.scm (substitute-key-authorization): Check if acl file is a
possibly-dangling symbolic link.

Change-Id: I2f8170606b2f4afeea48f04acfd738b04cafc7cf
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Modified-by: Ludovic Courtès <ludo@gnu.org>
2025-05-05 14:33:59 +02:00
Tomas Volf
a2282c68ff
environment: Restore action for SIGPIPE.
Code in `ui.scm' in `initialize-guix' procedure changes the handling of
SIGPIPE to SIG_IGN.  So restore the handling to SIG_DFL so that process
executed will have the usual action.  Technically we should record what the
handling was, and restore it to the previous value, but that would be much
more invasive change.

Always setting it to SIG_DFL is at least less surprising than always setting
to SIG_IGN.

* guix/scripts/environment.scm (launch-environment): Restore default action
for SIGPIPE.

Change-Id: Ifabae1d3e71aa44e63078cea5bd3824b8f61ba14
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-05-05 12:15:55 +02:00
Romain GARBAGE
79bc4ebb33
transformations: Git source transformations honour RECURSIVE?.
* guix/transformations.scm (package-git-url+recursive?): New variable.
(package-git-url): Remove variable.
(evaluate-git-replacement-specs): Use package-git-url+recursive?.
(transform-package-source-branch, transform-package-source-commit, transform-package-source-git-url): Update
according to changes above.
* doc/guix.texi (Package Transformation Options): Update documentation.
* tests/transformations.scm: Update tests. Add tests for RECURSIVE?
inheritance with WITH-COMMIT and WITH-SOURCE.

Change-Id: Id6a5e6957a9955c8173b06b3e14f2986c6dfc4bc
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-05-05 12:15:47 +02:00
jgart
63088c295d
gnu: trealla: Update to 2.70.3.
* gnu/packages/prolog.scm (trealla): Update to 2.70.3.

Change-Id: Iea8a9a982833384233590fc5874940418cb64fa1
2025-05-05 01:47:48 -05:00
Vinicius Monego
17119f1a35
gnu: librecad: Update to 2.2.1.1.
* gnu/packages/engineering.scm (librecad): Update to 2.2.1.1.
[source]: Update commit string.

Change-Id: Icbbadac1c7c7d0f7f690a3eb44149aa561be0f22
2025-05-04 20:21:12 -03:00
Vinicius Monego
b7d74b4fce
gnu: mixxx: Update to 2.5.1.
* gnu/packages/music.scm (mixxx): Update to 2.5.1.

Change-Id: Ie828f097d8a93d3c42d4e31319e9e229240c16b5
2025-05-04 20:21:12 -03:00