Commit graph

94072 commits

Author SHA1 Message Date
Ludovic Courtès
25261cbf96
guix home: Implement the 'extension-graph' and 'shepherd-graph' actions.
Until now these two actions were silently ignored.

* guix/scripts/home.scm (show-help, %options): Add "--graph-backend".
(%default-options): Add 'graph-backend' key.
(export-extension-graph, export-shepherd-graph): New procedures.
(perform-action): Add #:graph-backend parameter.  Add cases for the
'extension-graph' and 'shepherd-graph' actions.
(process-action): Pass #:graph-backend to 'perform-action'.
* guix/scripts/system.scm (service-node-type)
(shepherd-service-node-type): Export
* tests/guix-home.sh: Add tests.
* doc/guix.texi (Invoking guix home): Document it.
2022-03-18 16:03:33 +01:00
Ludovic Courtès
e607c377bb
home: services: Export record type accessors.
* gnu/home/services/shepherd.scm: Export <home-shepherd-configuration>
accessors.  Re-export <shepherd-service> accessors.
2022-03-18 16:03:33 +01:00
Ludovic Courtès
f5a94b3a9f
graph: Factorize 'lookup-backend'.
* guix/graph.scm (lookup-backend): New procedure.
* guix/scripts/graph.scm (lookup-backend): Remove.
* guix/scripts/system.scm (lookup-backend): Remove.
* po/guix/POTFILES.in: Add 'guix/graph.scm'.
2022-03-18 16:03:33 +01:00
Ludovic Courtès
625fa3cfe8
ui: 'show-what-to-build' highlights "would be downloaded" headings.
* guix/ui.scm (show-what-to-build): Highlight "X MB would be downloaded".
2022-03-18 16:03:33 +01:00
Ludovic Courtès
9e0f0123a0
ui: 'show-what-to-build' highlights "The following [...] will be built".
* guix/colors.scm (highlight/warn): New procedure.
* guix/ui.scm (show-what-to-build): Use 'highlight/warn' when displaying
what would/will be built.
2022-03-18 16:03:32 +01:00
Ludovic Courtès
2da0f2828b
gnu: petsc-openmpi: Remove input labels.
* gnu/packages/maths.scm (petsc-openmpi)[inputs]: Use 'modify-inputs'.
[arguments]: Adjust label name for hdf5.
2022-03-18 16:03:32 +01:00
Ludovic Courtès
5f83f95210
gnu: petsc-openmpi: Fix compilation with Scotch 7.0.
* gnu/packages/maths.scm (petsc-openmpi)[inputs]: Add SCOTCH:METIS.
[arguments]: Add 'adjust-pt-scotch-library-names' phase.
2022-03-18 16:03:32 +01:00
Efraim Flashner
3e34b01b70
gnu: Add python-scikit-allel.
* gnu/packages/python-science.scm (python-scikit-allel): New variable.
2022-03-18 15:58:23 +02:00
cage
cab5f92836
gnu: Add cl-purgatory.
* gnu/packages/lisp-xyz.scm (cl-purgatory, ecl-purgatory, sbcl-purgatory): New
  variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-03-18 14:19:46 +01:00
Efraim Flashner
8075fb64a9
gnu: vim: Update to 8.2.4564.
* gnu/packages/vim.scm (vim): Update to 8.2.4564.
[arguments]: Adjust custom 'patch-absolute-paths phase to upstream
changes.
2022-03-18 14:09:07 +02:00
Mathieu Othacehe
a03936a223
gnu: gnome-shell-extension-customize-ibus: Update to 82.
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-customize-ibus): Update to 82.
2022-03-18 10:48:24 +01:00
Olivier Dion
ba15abc008
gnu: capstone: Update to 4.0.2.
* gnu/packages/engineering.scm (capstone): Update to 4.0.2.
[source]: Fix indentation and git URL.
[phases]: Strip trailing #t.
[home]: Update URL.

Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-03-18 01:44:32 -04:00
Maxim Cournoyer
c886968bb1
gnu: Add sysbench.
* gnu/packages/benchmark.scm (sysbench): New variable.
2022-03-18 01:32:23 -04:00
Maxim Cournoyer
7be44e8587
gnu: Add ck.
* gnu/packages/c.scm (ck): New variable.
2022-03-18 01:26:26 -04:00
Maxim Cournoyer
cd85f8bb95
utils: Add ar-for-target and ld-for-target procedures.
* guix/utils.scm (ar-for-target, ld-for-target): New procedures.
2022-03-18 01:26:26 -04:00
Maxim Cournoyer
93e9712952
gnu: postgresql-14: Update to 14.2.
* gnu/packages/databases.scm (postgresql-14): Update to 14.2.
2022-03-18 00:49:40 -04:00
Brice Waegeneire
573a15474f
gnu: postgresql-11: Update to 11.15.
* gnu/packages/databases.scm (postgresql-11): Update to 11.15.

Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-03-18 00:49:40 -04:00
Brice Waegeneire
284c0dca4e
gnu: postgresql-10: Update to 10.20.
* gnu/packages/databases.scm (postgresql-10): Update to 10.20.

Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-03-18 00:49:40 -04:00
Maxim Cournoyer
a464cd556e
gnu: postgresql-9.6: Remove EOL package.
* gnu/packages/databases.scm (postgresql-9.6): Delete variable.
2022-03-18 00:49:39 -04:00
Leo Famulari
df2e19f376
gnu: MPD: Update to 0.23.6.
* gnu/packages/mpd.scm (mpd): Update to 0.23.6.
2022-03-18 00:18:12 -04:00
Tobias Geerinckx-Rice
f73af2f88e
gnu: linux-libre: Enable UTF-8 normalization and casefolding.
Without this it is apparently impossible to mount file systems with the
feature, which apparently some distributions do by default now.

  podiki[m]> I have an sdcard that was formatted with ext4 casefold
             [by Arch Linux], cannot be mounted

* gnu/packages/aux-files/linux-libre/5.10-arm.conf,
gnu/packages/aux-files/linux-libre/5.10-arm64.conf,
gnu/packages/aux-files/linux-libre/5.10-i686.conf,
gnu/packages/aux-files/linux-libre/5.10-x86_64.conf,
gnu/packages/aux-files/linux-libre/5.15-arm.conf,
gnu/packages/aux-files/linux-libre/5.15-arm64.conf,
gnu/packages/aux-files/linux-libre/5.15-i686.conf,
gnu/packages/aux-files/linux-libre/5.15-x86_64.conf,
gnu/packages/aux-files/linux-libre/5.16-arm.conf,
gnu/packages/aux-files/linux-libre/5.16-arm64.conf,
gnu/packages/aux-files/linux-libre/5.16-i686.conf,
gnu/packages/aux-files/linux-libre/5.16-x86_64.conf,
gnu/packages/aux-files/linux-libre/5.4-arm.conf,
gnu/packages/aux-files/linux-libre/5.4-arm64.conf,
gnu/packages/aux-files/linux-libre/5.4-i686.conf,
gnu/packages/aux-files/linux-libre/5.4-x86_64.conf:
Set CONFIG_UNICODE=y.
2022-03-13 01:00:00 +01:00
J. Sims via Guix-patches via
a28dd47192
gnu: rtl8812au-aircrack-ng-linux-module: Update to 5.6.4.2-7.37e27f9.
This fixes issues with Linux 5.17 and adds optimizations for 5.15:

https://github.com/aircrack-ng/rtl8812au/pull/942
2f52f84096

* gnu/packages/linux.scm (rtl8812au-aircrack-ng-linux-module): Update to
5.6.4.2-7.37e27f9.
2022-03-17 17:39:39 -04:00
Leo Famulari
0c0fdae4ab
gnu: linux-libre 4.9: Update to 4.9.307.
* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.307.
(linux-libre-4.9-pristine-source): Update hash.
2022-03-17 17:39:39 -04:00
Leo Famulari
a06b378896
gnu: linux-libre 4.14: Update to 4.14.272.
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.272.
(linux-libre-4.14-pristine-source): Update hash.
2022-03-17 17:39:39 -04:00
Leo Famulari
b498081dcc
gnu: linux-libre 4.19: Update to 4.19.235.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.235.
(linux-libre-4.19-pristine-source): Update hash.
2022-03-17 17:39:39 -04:00
Leo Famulari
38e9afec0d
gnu: linux-libre 5.4: Update to 5.4.185.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.185.
(linux-libre-5.4-pristine-source): Update hash.
2022-03-17 17:39:38 -04:00
Leo Famulari
4dbe57e29d
gnu: linux-libre 5.10: Update to 5.10.106.
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.106.
(linux-libre-5.10-pristine-source): Update hash.
2022-03-17 17:39:38 -04:00
Leo Famulari
297e82fb84
gnu: linux-libre 5.15: Update to 5.15.29.
* gnu/packages/linux.scm (linux-libre-5.15-version): Update to 5.15.29.
(linux-libre-5.15-pristine-source): Update hash.
2022-03-17 17:39:38 -04:00
Leo Famulari
25f4d66705
gnu: linux-libre: Update to 5.16.15.
* gnu/packages/linux.scm (linux-libre-5.16-version): Update to 5.16.15.
(linux-libre-5.16-pristine-source): Update hash.
2022-03-17 17:39:35 -04:00
Maxim Cournoyer
2c4284d952
Revert "services: nfs: Define rpcbind-shepherd-service at the top level."
This reverts commit 0a9e82b430, which didn't end
up fixing anything.  The problem was elsewhere; namely, using
'operating-system-services' instead of 'operating-system-user-services'.
2022-03-17 16:48:21 -04:00
Maxim Cournoyer
0a9e82b430
services: nfs: Define rpcbind-shepherd-service at the top level.
Attempting to use the 'nfs-service-type' as part of a computed
operating-system definition, the following exception would be thrown:

  ice-9/boot-9.scm:1685:16: In procedure raise-exception:
  ERROR:
    1. &ambiguous-target-service-error:
        service: #<<service> type: #<service-type rpcbind 7f7529853780> value: #<<rpcbind-configuration> rpcbind: #<package rpcbind@1.2.6 gnu/packages/onc-rpc.scm:87 7f75389e78f0> warm-start?: #t>>
        target-type: #<service-type shepherd-root 7f7529396080>
    2. &message: "more than one target service of type 'shepherd-root'"

The problem was that the rpcbind shepherd-service object was dynamically
instantiated every time the rpcbind-service-type would be called, causing
multiple objects in some situations, resulting in the above condition.

* gnu/services/nfs.scm (rpcbind-service-type): Refactor and adjust in a way to
extract...
(rpcbind-shepherd-service): ... this new procedure.
2022-03-17 16:10:41 -04:00
Efraim Flashner
276a767e2c
gnu: guile-git: Skip test on powerpc-linux.
* gnu/packages/guile.scm (guile-git)[arguments]: When building on
powerpc-linux add a phase to skip one test.
2022-03-17 20:01:04 +02:00
Ricardo Wurmus
bbe42bb392
gnu: Add r-mbess.
* gnu/packages/cran.scm (r-mbess): New variable.
2022-03-17 15:30:21 +01:00
Efraim Flashner
1c85338cdd
gnu: python-jupyter-sphinx: Run tests.
* gnu/packages/sphinx.scm (python-jupyter-sphinx)[source]: Download
using git-fetch.
[arguments]: Use custom 'check phase.
[native-inputs]: Add python-pytest.
2022-03-17 14:52:44 +02:00
Efraim Flashner
e4b91f10c8
gnu: python-scipy: Adjust phases.
* gnu/packages/python-science.scm (python-scipy)[arguments]: Replace
'check with custom 'check phase.
2022-03-17 14:51:38 +02:00
jgart
bae2201a8d
gnu: sicp: Update to 20180718-2.bda03f7.
* gnu/packages/scheme.scm (sicp): Update to 20180718-2.bda03f7.
  [version]: Use git-version function.
  [source]: Use git-file-name function.
  [arguments]: Remove trailing `#t`.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-03-17 10:02:23 +01:00
jgart
a7b40dff2f
gnu: cl-3bmd: Update to 0.0.0-3.4e08d82.
* gnu/packages/lisp-xyz.scm (sbcl-3bmd): Update to 0.0.0-3.4e08d82.
  [native-inputs]: Add sbcl-fiasco.
  [inputs]: Add python, python-pygments, and use newer inputs guix style.
  [arguments]: Add 'fix-python3-path' phase.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-03-17 10:01:59 +01:00
jgart
b999ce74ba
gnu: cl-envy: Update to 26a7faa.
* gnu/packages/lisp-xyz.scm (sbcl-envy): Update to 26a7faa.
  [native-inputs]: Uncomment test inputs and use new style.
  [arguments]: Add 'asd-systems' parameter, Remove 'fix-tests' phase.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-03-17 09:32:39 +01:00
Ricardo Wurmus
24f7c64bb2
gnu: Add r-ggtern.
* gnu/packages/cran.scm (r-ggtern): New variable.
2022-03-17 07:46:19 +01:00
Carl Dong
34e9eae68c
gnu: cross-base: Don't specify mingw --with-newlib
Previous to this commit, we added a --with-newlib configure flag to
cross-gcc when cross-newlib?, but cross-newlib? is true only when
target-mingw?.

It turns out that specifying --with-newlib disables the
GLIBCXX_CROSSCONFIG check, which is used to detect
_GLIBCXX_HAVE__WFOPEN, which is required in C++17 std::filesystem for
mingw-w64 systems.

Additional context: In gnu/packages/embedded.scm, --with-newlib is
specified explicitly when we're actually using newlib, which seems like
the correct way of handling it.

Situation in other distros:
- Debian's gcc-mingw-w64 doesn't specify --with-newlib
- Fedora's mingw64-gcc-c++ explicitly specifies --without-newlib

Chesterton's fence: Chatting with janneke, who originally added this
mechanism, reveals that this flag is not only no longer required, but
also that removing it doesn't break his guile-mingw builds. See IRC logs
of #guix for 2022-02-15.

* gnu/packages/cross-base.scm (cross-gcc-arguments): Don't check for and
specify --with-newlib.
(cross-libc): Check for mingw and use mingw-w64 directly.
(cross-newlib?): Remove, unexport.
(native-libc): Remove.
2022-03-16 22:13:48 -04:00
Tobias Geerinckx-Rice
0c6c957a01
gnu: knot: Update to 3.1.6.
* gnu/packages/dns.scm (knot): Update to 3.1.6.
2022-03-13 01:00:00 +01:00
Leo Famulari
69d3896c0f
gnu: expat: Update to 2.4.7.
This fixes some regressions in 2.4.5 and 2.4.6:

https://www.xml.com/news/2022-02-expat-246/
https://www.xml.com/news/2022-03-expat-247/

* gnu/packages/xml.scm (expat/fixed): Update to 2.4.7.
2022-03-16 17:14:19 -04:00
Leo Famulari
62ea3d510f
gnu: OpenSSL 3: Update to 3.0.2 [fixes CVE-2022-0778].
For more information about this vulnerability:

https://www.openssl.org/news/secadv/20220315.txt

* gnu/packages/tls.scm (openssl-3.0): Update to 3.0.2.
2022-03-16 17:14:19 -04:00
Leo Famulari
139a5cab04
gnu: OpenSSL: Update to 1.1.1n [fixes CVE-2022-0778].
For more information about this vulnerability:

https://www.openssl.org/news/secadv/20220315.txt

* gnu/packages/tls.scm (openssl/fixed): Update to 1.1.1n.
2022-03-16 17:14:08 -04:00
Tobias Geerinckx-Rice
3076e69577
gnu: isc-dhcp: Update bundled BIND to 9.11.37.
* gnu/packages/admin.scm (isc-dhcp)[inputs]:
Update bind-source-tarball to 9.11.37.
2022-03-13 01:00:37 +01:00
Tobias Geerinckx-Rice
880e70e8b6
gnu: bind: Update to 9.16.27 [fixes CVE-2022-0396].
* gnu/packages/dns.scm (isc-bind): Update to 9.16.27.
2022-03-13 01:00:00 +01:00
Tobias Geerinckx-Rice
1ef6203630
gnu: cdrtools: Don't return #t from snippet.
* gnu/packages/cdrom.scm (cdrtools)[source]: Don't return #t from snippet.
2022-03-13 01:00:01 +01:00
Tobias Geerinckx-Rice
0ac0f43a90
gnu: cdrtools: Use G-expressions.
* gnu/packages/cdrom.scm (cdrtools)[arguments]:
Rewrite as G-expressions.  Don't return #t from phases.
2022-03-13 01:00:00 +01:00
Tobias Geerinckx-Rice
b97a8b8941
gnu: cdrtools: Link dynamically.
* gnu/packages/cdrom.scm (cdrtools)[arguments]: Add "LINKMODE=dynamic" to
the #:configure-flags.
2022-03-13 01:00:00 +01:00
Tobias Geerinckx-Rice
53ac77389c
gnu: cdrtools: Prepare for cross-compilation.
* gnu/packages/cdrom.scm (cdrtools)[arguments]: Use CC-FOR-TARGET.
2022-03-13 01:00:00 +01:00