Commit Graph

121192 Commits

Author SHA1 Message Date
Ludovic Courtès 3363ff1867
ui: 'load*' accepts /dev/fd/N files pointing to a pipe.
This allows users to write Bash commands like:

  guix time-machine -C <(echo %default-channels) -- ...

or:

  guix build -m <(echo '(specifications->manifest (list "guile"))')

Previously, on GNU/Linux, they would fail with:

  error: failed to load '/dev/fd/63': No such file or directory

* guix/ui.scm (try-canonicalize-path): New procedure.
(load*): Use it.
* tests/guix-build.sh: Test 'guix build -m' with a /dev/fd/N file.
2023-08-17 17:33:53 +02:00
Maxim Cournoyer 9896b37ac5
doc: Fix typo.
* doc/guix.texi (VPN Services): Fix typo.
2023-08-17 10:52:32 -04:00
Andreas Enge ba206f903e
gnu: texlive: Make inputs to monolithic texlive private.
* gnu/packages/texlive.scm: Remove imports of unused modules.
  (texlivebin, texlivetexmf): Make packages private.
2023-08-17 16:26:00 +02:00
Andreas Enge 4385fbcde5
gnu: texlive: Drop special handling of mips64.
The architecture is effectively abandoned and cannot be tested any more.

* gnu/packages/texlive.scm (texlivebin)[arguments]: Remove check for mips64
when enabling tests.
2023-08-17 16:19:05 +02:00
Andreas Enge 4b6a82517e
gnu: texlive: Deprecate biber again in favor of texlive-biber.
The monolithic texlive package and texlive-biber can apparently be used
together now.

* gnu/packages/texlive.scm (biber): Remove variable.
* gnu/packages/tex.scm (biber): Define as deprecated in favor of
texlive-biber.
2023-08-17 16:19:05 +02:00
Andreas Enge ce63901128
gnu: texlive: Improve the monolithic packages for non-x86_64 architectures.
* gnu/packages/texlive.scm (texlivebin)[arguments]: Enable tests also
on aarch64 and powerpc64le. Remove 'disable-failing-test and
'skip-faulty-test phases.
(texlivetexmf)[arguments]: Define a missing variable.
2023-08-17 16:19:05 +02:00
Andreas Enge 6274dcbdbd
gnu: biber: Update to 2.19.
* gnu/packages/texlive.scm (biber): Update to 2.19. Remove patch.
* gnu/packages/patches/biber-adapt-perl-5.36.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Unregister patch.
2023-08-17 16:19:05 +02:00
Andreas Enge 8b71ddf91a
gnu: texlive: Update to 20230313.
Also use full date for version again, since otherwise the update would be
considered a downgrade.

* gnu/packages/texlive.scm (%texlive-date): Update to 20230313.
(%texlive-version): Rename to...
(%texlive-year): ...this.
(texlive-extra-src, texlive-texmf-src, texlivebin): Update source hashes.
(texlivebin, texlivetexmf, texlive): Use %texlive-date for version.
(texlivebin)[arguments]: Remove 'skip-mendex-tests phase, which does not
apply any more. Remove 'patch-dvisvgm-build-files, which apparently is not
needed any more. Remove a configure flag which is not recognized by the
configure script any more.
2023-08-17 16:19:05 +02:00
Andreas Enge 8767bc48f6
gnu: biber: Update to 2.17.
* gnu/packages/texlive.scm (biber): Update to 2.17.
2023-08-17 16:19:05 +02:00
Andreas Enge e13b631e03
gnu: texlive: Update to 2022.
* gnu/packages/texlive.scm (%texlive-date): Update to 20220321.
(texlive-extra-src, texlive-texmf-src, texlivebin): Update source hashes.
2023-08-17 16:19:05 +02:00
Andreas Enge 9e6e6b3610
gnu: texlive: Simplify the monolithic build.
This removes phases added for the needs of the modular build system.
It reverts commit dfdc002c9b and subsequent
ones, which download scripts from subversion instead of using those from
the distribution.
It also reverts the changes started in commit
04a0b1e09a and removes the GUIX_TEXMF
environment variable.

* gnu/packages/texlive.scm (%texlive-tag, %texlive-revision): Remove
variables.
(texlivebin)[inputs]: Remove texlive-scripts.
[phases]: Remove 'unpack-texlive-scripts, 'patch-scripts and
'customize-texmf.cnf and the script handling in 'post-install.
[native-search-paths]: Remove them.
2023-08-17 16:19:05 +02:00
Andreas Enge 0421160f4a
gnu: texlive: Reinstate the monolithic texlive package.
This goes back essentially to commit
ad457d0114 and defines the monolithic texlive
packages independently of the modular ones. It also downgrades their
version to 2021. Not using dashes in the names of texlivebin and
texlivetexmf prevents the profile hook for font mapping from being run
during the command "guix shell -D texlive".

* gnu/packages/tex.scm (texlive-bin-full): Remove variable.
(biber): Remove variable deprecation.
(texlive-texm, texlive): Move variables from here...
* gnu/packages/texlive.scm (texlivetexm, texlive): ...to this new file.
(%texlive-date, %texlive-version, %texlive-tag, %texlive-revision,
texlive-extra-src, texlive-texmf-src, texlivebin): New variables.
(biber): Add variable again.
* gnu/packages/patches/biber-adapt-perl-5.36.patch: Add file again.
* gnu/local.mk (GNU_SYSTEM_MODULES, dist_patch_DATA): Register files.
2023-08-17 16:19:05 +02:00
Nicolas Goaziou 314e984d6c
gnu: Add texlive-collection-games.
* gnu/packages/tex.scm (texlive-collection-games): New variable.
2023-08-17 15:49:34 +02:00
Nicolas Goaziou 2cc3983ff8
gnu: Add texlive-xskak.
* gnu/packages/tex.scm (texlive-xskak): New variable.
2023-08-17 15:49:33 +02:00
Nicolas Goaziou e76b90b244
gnu: Add texlive-xq.
* gnu/packages/tex.scm (texlive-xq): New variable.
2023-08-17 15:49:33 +02:00
Nicolas Goaziou af5e66818f
gnu: Add texlive-wargame.
* gnu/packages/tex.scm (texlive-wargame): New variable.
2023-08-17 15:49:33 +02:00
Nicolas Goaziou 056b25dc89
gnu: Add texlive-tangramtikz.
* gnu/packages/tex.scm (texlive-tangramtikz): New variable.
2023-08-17 15:49:33 +02:00
Nicolas Goaziou 70686b2808
gnu: Add texlive-sudokubundle.
* gnu/packages/tex.scm (texlive-sudokubundle): New variable.
2023-08-17 15:49:32 +02:00
Nicolas Goaziou d26e616381
gnu: Add texlive-sudoku.
* gnu/packages/tex.scm (texlive-sudoku): New variable.
2023-08-17 15:49:32 +02:00
Nicolas Goaziou 80bfe3a740
gnu: Add texlive-soup.
* gnu/packages/tex.scm (texlive-soup): New variable.
2023-08-17 15:49:32 +02:00
Nicolas Goaziou f84fe09bb4
gnu: Add texlive-skaknew.
* gnu/packages/tex.scm (texlive-skaknew): New variable.
2023-08-17 15:49:31 +02:00
Nicolas Goaziou b555dfe744
gnu: Add texlive-skak.
* gnu/packages/tex.scm (texlive-skak): New variable.
2023-08-17 15:49:31 +02:00
Nicolas Goaziou 4ed85132f3
gnu: Add texlive-sgame.
* gnu/packages/tex.scm (texlive-sgame): New variable.
2023-08-17 15:49:31 +02:00
Nicolas Goaziou 84d015f5be
gnu: Add texlive-scrabble.
* gnu/packages/tex.scm (texlive-scrabble): New variable.
2023-08-17 15:49:30 +02:00
Nicolas Goaziou a36eb99c8d
gnu: Add texlive-schwalbe-chess.
* gnu/packages/tex.scm (texlive-schwalbe-chess): New variable.
2023-08-17 15:49:30 +02:00
Nicolas Goaziou 9b542119c9
gnu: Add texlive-rubik.
* gnu/packages/tex.scm (texlive-rubik): New variable.
2023-08-17 15:49:28 +02:00
Nicolas Goaziou 357612be21
gnu: Add texlive-reverxii.
* gnu/packages/tex.scm (texlive-reverxii): New variable.
2023-08-17 15:48:45 +02:00
Nicolas Goaziou b511fdaf88
gnu: Add texlive-realtranspose.
* gnu/packages/tex.scm (texlive-realtranspose): New variable.
2023-08-17 15:45:56 +02:00
Nicolas Goaziou 514368ee47
gnu: Add texlive-psgo.
* gnu/packages/tex.scm (texlive-psgo): New variable.
2023-08-17 15:45:56 +02:00
Nicolas Goaziou 7330143c3c
gnu: Add texlive-pas-crosswords.
* gnu/packages/tex.scm (texlive-pas-crosswords): New variable.
2023-08-17 15:45:56 +02:00
Nicolas Goaziou a2abfa47f0
gnu: Add texlive-othelloboard.
* gnu/packages/tex.scm (texlive-othelloboard): New variable.
2023-08-17 15:45:56 +02:00
Nicolas Goaziou 5add29a6e9
gnu: Add texlive-othello.
* gnu/packages/tex.scm (texlive-othello): New variable.
2023-08-17 15:45:55 +02:00
Nicolas Goaziou f5a67ac6c6
gnu: Add texlive-nimsticks.
* gnu/packages/tex.scm (texlive-nimsticks): New variable.
2023-08-17 15:45:55 +02:00
Nicolas Goaziou 3dac73eeb1
gnu: Add texlive-musikui.
* gnu/packages/tex.scm (texlive-musikui): New variable.
2023-08-17 15:45:55 +02:00
Nicolas Goaziou c55e42d3e3
gnu: Add texlive-maze.
* gnu/packages/tex.scm (texlive-maze): New variable.
2023-08-17 15:45:55 +02:00
Nicolas Goaziou b2bec5be7e
gnu: Add texlive-logicpuzzle.
* gnu/packages/tex.scm (texlive-logicpuzzle): New variable.
2023-08-17 15:45:55 +02:00
Nicolas Goaziou 5f840b787e
gnu: Add texlive-labyrinth.
* gnu/packages/tex.scm (texlive-labyrinth): New variable.
2023-08-17 15:45:54 +02:00
Nicolas Goaziou 1bb891fce0
gnu: Add texlive-jigsaw.
* gnu/packages/tex.scm (texlive-jigsaw): New variable.
2023-08-17 15:45:54 +02:00
Nicolas Goaziou 222f7d5060
gnu: Add texlive-jeuxcartes.
* gnu/packages/tex.scm (texlive-jeuxcartes): New variable.
2023-08-17 15:45:54 +02:00
Nicolas Goaziou c9ce2168bd
gnu: Add texlive-horoscop.
* gnu/packages/tex.scm (texlive-horoscop): New variable.
2023-08-17 15:45:54 +02:00
Nicolas Goaziou 016ce33418
gnu: Add texlive-hexgame.
* gnu/packages/tex.scm (texlive-hexgame): New variable.
2023-08-17 15:45:54 +02:00
Nicolas Goaziou 5ac51dbe3e
gnu: Add texlive-hexboard.
* gnu/packages/tex.scm (texlive-hexboard): New variable.
2023-08-17 15:45:53 +02:00
Nicolas Goaziou 71404a39dd
gnu: Add texlive-havannah.
* gnu/packages/tex.scm (texlive-havannah): New variable.
2023-08-17 15:45:53 +02:00
Nicolas Goaziou 9a8caeec04
gnu: Add texlive-hanoi.
* gnu/packages/tex.scm (texlive-hanoi): New variable.
2023-08-17 15:45:53 +02:00
Nicolas Goaziou 584013f2ab
gnu: Add texlive-go.
* gnu/packages/tex.scm (texlive-go): New variable.
2023-08-17 15:45:53 +02:00
Nicolas Goaziou ba563ec84a
gnu: Add texlive-gamebooklib.
* gnu/packages/tex.scm (texlive-gamebooklib): New variable.
2023-08-17 15:45:53 +02:00
Nicolas Goaziou 719adbe81d
gnu: Add texlive-gamebook.
* gnu/packages/tex.scm (texlive-gamebook): New variable.
2023-08-17 15:45:52 +02:00
Nicolas Goaziou c6e0b02922
gnu: Add texlive-egameps.
* gnu/packages/tex.scm (texlive-egameps): New variable.
2023-08-17 15:45:52 +02:00
Nicolas Goaziou b5ba3ae637
gnu: Add texlive-customdice.
* gnu/packages/tex.scm (texlive-customdice): New variable.
2023-08-17 15:45:52 +02:00
Nicolas Goaziou 085b379d1a
gnu: Add texlive-crosswrd.
* gnu/packages/tex.scm (texlive-crosswrd): New variable.
2023-08-17 15:45:52 +02:00