Commit graph

144385 commits

Author SHA1 Message Date
David Boilleau
e62dc1ebd0
guix-install.sh: Run the uninstall even if already partially done
Removing users, groups or Systemd units fails if they are already absent,
causing the uninstall script to exit. The goal here is to make the uninstall
always run entirely, whatever parts are already done.

* etc/guix-install.sh (sys_delete_build_user): Test if users and groups exist
before deleting them.
(sys_delete_guix_daemon): Test if /etc/systemd/system/guix-daemon.service file
exists before removing the matching Systemd unit.

Change-Id: Ibffb1f1b39de675542fb8057af21ecaea1b53d4c
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-11-14 15:41:22 +01:00
David Boilleau
8edd081164
guix-install.sh: Replace ROOT_HOME with ~root
The `ROOT_HOME` variable is natively absent from some systems, however the form
`~root`, which is used by the install functions in this same file, works.

* etc/guix-install.sh (sys_delete_store, sys_delete_guix_daemon)
(sys_delete_user_profiles): Replace `ROOT_HOME` with `~root`.

Change-Id: Ia867e271ac4c5557d9708235fee028bccce68342
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-11-14 15:41:21 +01:00
David Boilleau
e02b3b0a66
guix-install.sh: Test if gnu-store.mount exists before removing the unit
The file /etc/systemd/system/gnu-store.mount has permissions 664, since the
`install_unit()` function installed it so. So the test prior to removing the
matching Systemd unit should not be wether this file is executable, otherwise
it will always fail. The relevant test is on the file existence.

* etc/guix-install.sh (sys_delete_guix_daemon): Test if gnu-store.mount file
exists rather than if it is executable.

Change-Id: Ic7cc186618b0b92fccf49a3b27805756a9126b89
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-11-14 15:41:19 +01:00
Ludovic Courtès
75fc77dc99
gnu: guix-jupyter: Update to 0.3.0.
* gnu/packages/package-management.scm (guix-jupyter): Update to 0.3.0.
[arguments]: Remove ‘define-home’ phase, which is no longer needed.

Change-Id: I18e0897caf6e9ad0bc7d410f2011fad031cecb7e
2024-11-14 15:38:29 +01:00
Ludovic Courtès
2ac93b9b5c
describe: Add hyperlinks for codeberg.org commits.
* guix/scripts/describe.scm (%vcs-web-views): Add “codeberg.org”.

Change-Id: I6749649f9c73434ba6ed424d049e50e6741b0a11
2024-11-14 15:36:02 +01:00
Danny Milosavljevic
b654587cd9
gnu: delve: Update to 1.23.1.
* gnu/packages/debug.scm (delve): Update to 1.23.1.

Change-Id: I4e87ffa86abe6c82743c1a722fa8654e6a5b6366
2024-11-14 11:02:13 +01:00
Artyom V. Poptsov
9aae575828
gnu: bochs: Update to 2.8.
* gnu/packages/virtualization.scm (bochs): Update to 2.8.

Change-Id: I3b16ca08abbdffa126ccd489ddf441459d6fcc51
Reviewed-by: Ludovic Courtès <ludo@gnu.org>
2024-11-13 22:28:17 +03:00
Navid Afkhami
bf96496f17
gnu: Add python-pybio.
* gnu/packages/bioinformatics.scm (python-pybio): New variable.

Change-Id: I8f5c9cb6c7bb03cbc95386e67d46b1bdd78e01f2
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2024-11-13 19:08:39 +01:00
Divya Ranjan
07cd046c20
gnu: audio: Add jack-mixer.
* gnu/packages/audio.scm (jack-mixer): New variable.

Change-Id: I0b278f8674c84a4f43f9d23afc900b0a53e11f7c
Reviewed-by: Ekaitz Zarraga <ekaitz@elenq.tech>
Signed-off-by: Andreas Enge <andreas@enge.fr>
2024-11-13 14:02:01 +01:00
Ashish SHUKLA
1f057603ef
gnu: swaybg: Update to 1.2.1.
* gnu/packages/wm.scm (swaybg): Update to 1.2.1.

Change-Id: Id9dc023f321dbd3c086f4e36e5e8bcf5a784ef2d
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-11-12 23:55:50 +01:00
Evgeny Pisemsky
eca0a777d3
gnu: Add potato-make.
* gnu/packages/build-tools.scm (potato-make): New variable.

Change-Id: I86843b4001298ee984e6d1c35b59dc3b2e51d97f
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Reviewed-by: Noé Lopez <noelopez@free.fr>
2024-11-12 23:53:17 +01:00
Javier Olaechea
9600e345c1
gnu: entr: Switch input from bash to bash-minimal.
* gnu/packages/entr.scm (entr): Switch input from bash to bash-minimal. This
was recommended by guix style lint.

Change-Id: Iccd37c3bf04b95ed510900f9d6ffd9359a227948
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-11-12 23:51:44 +01:00
Javier Olaechea
3806c39c91
gnu: entr: Improve package style.
* gnu/packages/entr.scm (entr): Improve package style. The changes are the
result of running ./pre-inst-env guix style entr.

Change-Id: I9579e326f88c6066078f2df78a12431f3f4badd4
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-11-12 23:51:43 +01:00
Javier Olaechea
4abcff77ce
gnu: entr: Update to 5.6.
* gnu/packages/entr.scm (entr): Update to 5.6.

Change-Id: Idfa2fc88e526deccc7a9ff4d07ede6b0dc6daf72
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Reviewed-by: Ekaitz Zarraga <ekaitz@elenq.tech>
2024-11-12 23:51:31 +01:00
Ashish SHUKLA
45a594a964
gnu: sway: Update to 1.10.
* gnu/packages/wm.scm (sway): Update to 1.10.
[inputs] Replace wlroots-0.17 with wlroots.

Change-Id: Ia5230c58ecb11e3b1e5a94557f2965d7e648851f
Reviewed-by: Mazin Alhaddad <mazin@getstate.dev>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-11-12 23:48:31 +01:00
Ludovic Courtès
f7a0be4d73
ui: ‘show-what-to-build’ displays builds in topological order.
That gives something like:

  $ ./pre-inst-env guix build vim --no-grafts --no-substitutes -n
  The following derivations would be built:
    /gnu/store/…-tcsh-6.24.01.tar.gz.drv
    /gnu/store/…-tcsh-6.24.01.tar.zst.drv
    /gnu/store/…-tcsh-6.24.01.drv
    /gnu/store/…-vim-9.1.0744-checkout.drv
    /gnu/store/…-vim-9.1.0744.drv

… with the derivation(s) being asked for coming last.

* guix/ui.scm (show-what-to-build): Reverse ‘build/full’ before folding it.

Change-Id: Ic0da9f4f8a58c7ed5e2d10f6ec2226f0865aed75
2024-11-12 23:46:52 +01:00
Ludovic Courtès
c62f8ab11f
derivations: ‘derivation-build-plan’ returns builds in topological order.
That makes ‘derivation-build-plan’ directly usable in cases where one
wants to sequentially build derivations one by one, or to report builds
in the right order in the user interface.

* guix/derivations.scm (derivation-build-plan): Wrap ‘loop’ in
‘traverse’.  Perform a depth-first traversal.  Return the list of builds
in topological order.
* tests/derivations.scm ("derivation-build-plan, topological ordering"):
New test.

Change-Id: I7cd9083f42c4381b4213794a40dbb5b234df966d
2024-11-12 23:46:49 +01:00
Ting-Wei Lan
9793403bc0
tests: Fix gremlin.scm for GCC 14
* tests/gremlin.scm: Include stdio.h before using puts since GCC 14 no
longer allows implicit declarations.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-11-12 23:40:39 +01:00
aurtzy
ab80403eea
doc: Fix `copy-recursively' arguments.
The `select?' keyword is part of the description instead of immediately
following `keep-permissions?' in the arguments list for `copy-recursively'.
This adds a missing '@' to fix that.

* doc/guix.texi (Build Utilities): Fix `copy-recursively' arguments.

Change-Id: If6802490a6afebc884b039d84f1fe4f9202a1151
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-11-12 23:29:09 +01:00
Ludovic Courtès
dabbf71aa7
doc: Adjust stale reference to quote instead of gexp.
* doc/guix.texi (Build Phases): Mention hash-tilde, not apostrophe.

Change-Id: I8dca74da46d35692be122fb3e8e3ab40dd70606e
2024-11-12 23:27:09 +01:00
Danny Milosavljevic
4e028ecc82
gnu: Add hid-wiimote-plus.
* gnu/packages/linux.scm (hid-wiimote-plus): New variable.

Change-Id: Icd23c3e390211160905b9c84a621ca6f5fbff0a0
2024-11-12 23:21:26 +01:00
Maxim Cournoyer
b10ce47d8b
gnu: curl/fixed: Re-instate erroneously dropped patch.
* gnu/packages/curl.scm (curl/fixed) [source]: Inherit base package patches,
having the effect of re-adding 'curl-use-ssl-cert-env.patch'.

Change-Id: I5c0fb5e44ad26cca9490cbbdef824011cffa9b2b
2024-11-12 21:05:27 +09:00
Maxim Cournoyer
18bd867b24
gnu: torcs: Fix source file name.
* gnu/packages/games.scm (torcs) [source]: Specify file-name field.
[arguments]: Precise URL in comment.

Change-Id: I9730e9aa75e17068b821ce211cb4591f53c47681
2024-11-12 20:48:09 +09:00
Maxim Cournoyer
40625c213a
gnu: Add torcs.
* gnu/packages/games.scm (torcs): New variable.

Change-Id: I1e55fc65ff303c309fed50f2071de0eaf4266d57
2024-11-12 17:41:38 +09:00
Maxim Cournoyer
f0c27b2fa8
gnu: plib: Build with -fPIC.
* gnu/packages/game-development.scm (plib)
[arguments] <#:configure-flags>: New argument.
[inputs]: Move field after...
[native-inputs]: ... this one.

Change-Id: Ieddfb8814632f74c98d0e2cda949709b718c7a0d
2024-11-12 17:41:38 +09:00
Maxim Cournoyer
cd72e43388
gnu: Add vdrift.
* gnu/packages/games.scm (vdrift): New variable.

Change-Id: I55b5884a9d7d4a9e874e76c6a7c8af4974dce701
2024-11-12 17:41:38 +09:00
Maxim Cournoyer
1660456214
gnu: Add vdrift-data.
* gnu/packages/games.scm (vdrift-data): New variable.

Change-Id: I960e2222ea7e9506a306692db552dc1dcc229b01
2024-11-12 17:41:38 +09:00
Maxim Cournoyer
708313bf3e
gnu: iverilog: Update home page.
* gnu/packages/fpga.scm (iverilog) [home-page]: Add a trailing slash to please
'guix lint'.

Change-Id: I89d742950f5d55f8b3ce6d221b1337242a01649f
2024-11-12 17:41:38 +09:00
Maxim Cournoyer
98e470d0a5
gnu: yosys: Remove extraneous characters.
* gnu/packages/fpga.scm (yosys) [arguments]: Drop leading './' from file
names.  Drop leading '/' from file names given to 'search-input-file'.

Change-Id: I49febe7bcf0d60553d2a24d99746e6457fa4d03f
2024-11-12 17:41:38 +09:00
Maxim Cournoyer
badcd4a79f
gnu: yosys: Do not hard-code CC and CXX make flags.
* gnu/packages/fpga.scm (yosys) [make-flags]: Use cc-for-target and
cxx-for-target procedures to compute the correct CC and CXX flags.

Change-Id: I2a81f09ff7d6891d78ad157594bb0d96c38451f8
2024-11-12 17:41:38 +09:00
Maxim Cournoyer
744e8f7d04
gnu: yosys: Sort inputs.
* gnu/packages/fpga.scm (yosys): Sort inputs.

Change-Id: I5a4c97b84ae1e5b7f08b82858c47542fdcfd37b1
2024-11-12 17:41:38 +09:00
Maxim Cournoyer
2bad254d03
gnu: yosys: Update to 0.47.
* gnu/packages/fpga.scm (yosys): Update to 0.47.
[arguments]: Extend fix-paths phase.
[native-inputs]: Add cxxopts.

Change-Id: I14afed45261e7c4830fe91fe2ced8762eed54810
2024-11-12 17:41:38 +09:00
Cayetano Santos
4bfe5fc584
gnu: yosys: Update to 0.46.
* gnu/packages/fpga.scm (yosys): Update to 0.46.

Change-Id: Id980679e6576b27429611f8399eff2185e57d684
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-11-12 17:41:38 +09:00
Cayetano Santos
66b1471199
gnu: iverilog: Re-add zlib to inputs.
Fixes issue introduced in
<https://git.savannah.gnu.org/cgit/guix.git/commit/?id=b32f8bc9da> which
removed zlib.  This caused failures in the yosys test suite.

* gnu/packages/fpga.scm (iverilog) [inputs]: Add zlib.

Change-Id: I262db5db43527a3a2a1753163f7b9a4104f7e895
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-11-12 17:41:38 +09:00
Maxim Cournoyer
742765656e
gnu: iverilog: Remove extraneous #:test-target argument.
'check' is its default value for the gnu-build-system.

* gnu/packages/fpga.scm (iverilog) [arguments] <#:test-target>: Delete argument.

Change-Id: I82c3103f71cfc39988f21d09f9bcdbcbdf9d1e03
2024-11-12 17:41:38 +09:00
Rostislav Svoboda
b8caf74f29
gnu: Add emacs-color-theme-sanityinc-tomorrow.
* gnu/packages/emacs-xyz.scm (emacs-color-theme-sanityinc-tomorrow): New variable.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I10d82838e5127b2b826615365a3eec6b2a937531
2024-11-12 17:41:38 +09:00
Nicolas Graves
44b06b030d
gnu: Remove allegro-5.0. [security fixes]
This package has no dependencies in Guix, is unsupported (see
https://liballeg.org/old.html) and is vulnerable to CVE-2021-36489.

* gnu/packages/game-development.scm (allegro-5.0): Delete variable.
* gnu/local.mk: Deregister patch.
* gnu/packages/patches/allegro-mesa-18.2.5-and-later.patch: Delete file.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-11-12 17:41:38 +09:00
Nicolas Graves
09bbdc3ead
gnu: postgresql-15: Update to 16.4. [security fixes]
This fixes CVE-2024-7348.

* /gnu/packages/databases.scm
(postgresql-15): Move from here...
(postgresql-16): ... to here.
[version]: Update to 16.4.
[source]: Adapt source and add patch.
[native-inputs]: Add pkg-config.
[inputs]: Add icu4c.
* gnu/packages/patches/postgresql-disable-normalize_exec_path.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I57771ebcf462bdeca73eda157274db089816fd12
2024-11-12 17:41:38 +09:00
Nicolas Graves
168001df96
gnu: postgresql-14: Update to 14.13.
* gnu/packages/databases.scm (postgresql-14): Update to 14.13.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-11-12 17:41:38 +09:00
Nicolas Graves
1b0b16c0d3
gnu: postgresql-13: Update to 13.16. [security fixes]
This fixes CVE-2024-7348.

* gnu/packages/databases.scm (postgresql-13): Update to 13.16.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-11-12 17:41:38 +09:00
Maxim Cournoyer
847a7284a8
gnu: sendmail: Remove trailing #t from phases.
* gnu/packages/mail.scm (sendmail) [arguments] <#:phases>: Remove trailing #t
and re-indent some expressions.

Change-Id: I1557b07f53f4f7f4aad6850d98973570d1d2a8cc
2024-11-12 17:41:38 +09:00
Maxim Cournoyer
0a9040a51b
gnu: curl: Update home page.
* gnu/packages/curl.scm (curl) [home-page]: Update URL.

Change-Id: I0fbcdceddd8c7b40edb430e9a5ebc160f47efb29
2024-11-12 17:41:38 +09:00
Nicolas Graves
7b8c099f3e
gnu: rnp: Update to 0.17.1. [security fixes]
This fixes CVE-2023-29479 and CVE-2023-29480.

* gnu/packages/openpgp.scm (rnp): Update to 0.17.1.
[arguments]: Improve style using gexps.
<#:phases>: Add phase 'inject-sexpp-source.
[inputs]: Add sexpp.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: Ic1d4740da168cd9fde8b642f279c2c77a1c3806f
2024-11-12 17:41:38 +09:00
Nicolas Graves
603407fa0a
gnu: Add sexpp.
* gnu/packages/openpgp.scm (sexpp): New variable.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-11-12 17:41:38 +09:00
Nicolas Graves
0bca6c0309
gnu: unicorn: Update to 2.1.1. [security fixes]
Thix fixes CVE-2021-4296.

* gnu/packages/emulators.scm (unicorn): Update to 2.1.1.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-11-12 17:41:38 +09:00
Nicolas Graves
ef7b74f835
gnu: openvpn: Update to 2.6.12. [security fixes]
Thix fixes CVE-2024-24974, CVE-2024-27459 and CVE-2024-27903.

* gnu/packages/vpn.scm (openvpn): Update to 2.6.12.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-11-12 17:41:38 +09:00
Nicolas Graves
6c6d9ea4a6
gnu: sendmail: Update to 8.18.1. [security fixes]
This fixes CVE-2023-51765 and CVE-2021-3618.

* gnu/packages/mail.scm (sendmail): Update to 8.18.1.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-11-12 17:41:38 +09:00
Nicolas Graves
2d459bb830
gnu: pam-u2f: Update to 1.3.0. [security fixes]
This fixes CVE-2021-31924.

* gnu/packages/security-token.scm (pam-u2f): Update to 1.3.0.
[inputs]: Add libfido2, openssl. Remove libu2f-host, libu2f-server.
[native-inputs]: Sort packages.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-11-12 17:41:38 +09:00
Nicolas Graves
b7af6dd6f5
gnu: bart: Update to 0.9.00.
This fixes bart reproducibility.

* gnu/packages/image-processing.scm (bart): Update to 0.9.00.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I2c40957a8e55fec945ec03e097cf3a3c71da85ee
2024-11-12 17:41:38 +09:00
Nicolas Graves
700126f654
gnu: nzbget: Ignore failing tests.
* gnu/packages/networking.scm (nzbget)[arguments]<#:phases>:
Ignore a misconfigured test on aarch64.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-11-12 17:41:14 +09:00