Commit graph

94097 commits

Author SHA1 Message Date
Ludovic Courtès
9ea6a18e99
guix home: Show "container" in '--help' output.
This is a followup to 094a2cfbe4.

* guix/scripts/home.scm (show-help): Add "container".
2022-03-19 22:25:53 +01:00
Ludovic Courtès
a58defdae8
news: Add entry about 'guix home container'.
* etc/news.scm: Add entry.
2022-03-19 19:20:24 +01:00
Ludovic Courtès
094a2cfbe4
guix home: Add 'container' command.
* guix/scripts/home.scm (show-help, %options): Add '--network',
'--share', and '--expose'.
(not-config?, user-shell, spawn-home-container): New procedures.
(%default-system-profile): New variable.
(perform-action): Add #:file-system-mappings, #:container-command,
and #:network?; honor them.
(process-action): Adjust accordingly.
(guix-home)[parse-sub-command]: Add "container".
[parse-args]: New procedure.
Use it instead of 'parse-command-line'.
* tests/guix-home.sh: Add tests.
* doc/guix.texi (Declaring the Home Environment): Mention 'guix home
container' as a way to test configuration.
(Invoking guix home): Document it.
2022-03-19 18:51:09 +01:00
Ludovic Courtès
cff9fee82a
linux-container: Add #:guest-uid and #:guest-gid to 'eval/container'.
* gnu/system/linux-container.scm (eval/container): Add #:guest-uid
and #:guest-gid and honor them.
2022-03-19 18:26:00 +01:00
Ludovic Courtès
c77544b387
linux-container: 'eval/container' honors #:namespaces.
* gnu/system/linux-container.scm (eval/container): Pass #:namespaces to
'call-with-container'.
2022-03-19 18:26:00 +01:00
Maxim Cournoyer
b45a301618
tests: install: Add two new Btrfs RAID10 install test.
* gnu/tests/install.scm (%btrfs-raid10-root-os)
(%btrfs-raid10-root-os): New variables.
(%btrfs-raid10-root-installation-script): Likewise.
(%test-btrfs-raid10-root-images): Likewise.
(%test-btrfs-raid10-root-os, %test-btrfs-raid10-root-os-degraded): New tests.
2022-03-19 11:08:30 -04:00
Maxim Cournoyer
252330edd4
tests: install: Enable the use of multiple disk devices for tests.
* gnu/tests/install.scm (run-install)[packages]: Unconditionally add to OS.
[NUMBER-OF-DISKS]: Add argument, update doc and adjust.  The returned gexp
output is now a list of images rather than the image itself.
* gnu/tests/install.scm (qemu-command*): Rename IMAGE argument to IMAGES, to
account for the above change.  Adjust doc.  Generate a QEMU '-drive' argument
for each disk image.
(%test-installed-os): Rename the IMAGE variable to IMAGES.
(%test-installed-extlinux-os): Likewise.
(%test-iso-image-installer): Likewise.
(%test-separate-home-os): Likewise.
(%test-separate-store-os): Likewise.
(%test-raid-root-os): Likewise.
(%test-encrypted-root-os): Likewise.
(%test-lvm-separate-home-os): Likewise.
(%test-encrypted-root-not-boot-os): Likewise.
(%test-btrfs-root-os): Likewise.
(%test-btrfs-raid-root-os): Likewise.
(%test-btrfs-root-on-subvolume-os): Likewise.
(%test-jfs-root-os): Likewise.
(%test-f2fs-root-os): Likewise.
(%test-xfs-root-os): Likewise.
(guided-installation-test): Likewise.
2022-03-19 11:08:30 -04:00
Maxim Cournoyer
52d710b917
tests: install: Streamline 'qemu-command/writable-image'.
* gnu/tests/install.scm (qemu-command/writable-image): Replace the use of a
writable backing file by the use of the '-snapshot' option, and rename to...
(qemu-command*): ... this, adjusting all calls.
2022-03-19 11:08:30 -04:00
Maxim Cournoyer
947b8f99d4
tests: install: Adjust the timeouts on two failing tests.
The 'login on tty1' and 'getlogin on tty1' tests were failing on a machine
equipped with slower hard drives.

* gnu/tests/base.scm (run-basic-test)
["login on tty1", "getlogin on tty1"]: Bump timeout from 10 to 30 s.
2022-03-19 11:08:30 -04:00
Nicolas Goaziou
55a680a646
gnu: Add wego.
* gnu/packages/weather.scm: New file.
* gnu/local.mk: Register new file.
2022-03-19 00:56:29 +01:00
Nicolas Goaziou
3a68cf2b96
gnu: Add go-github-com-schachmat-ingo.
* gnu/packages/golang.scm (go-github-com-schachmat-ingo): New variable.
2022-03-19 00:56:23 +01:00
EuAndreh
465259be78
doc: Fix wrong variable name.
* doc/guix.texi (Mail services): use correct variable name.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-03-18 23:51:19 +01:00
Ludovic Courtès
27c273ec89
doc: cookbook: Update Tor onion service name.
* doc/guix-cookbook.texi: New variable.
(Getting substitutes from Tor): Use it.
2022-03-18 23:51:19 +01:00
Ludovic Courtès
de3cd060cc
gnu: guix: Update to 2fb4304.
* gnu/packages/package-management.scm (guix): Update to 2fb4304.
2022-03-18 23:51:18 +01:00
Leo Famulari
386adb6df0
gnu: b2sum: Produce generic binaries and enable tuning.
* gnu/packages/crypto.scm (b2sum)[arguments]: Add 'de-tune' phase.
[properties]: Mark the package as tunable.
2022-03-18 12:58:05 -04:00
Ludovic Courtès
2fb4304ee7
gnu: bitlbee-purple: Use 'modify-inputs'.
* gnu/packages/messaging.scm (bitlbee-purple)[inputs]: Use 'modify-inputs'.
2022-03-18 16:03:35 +01:00
Ludovic Courtès
cd6d3a8771
gnu: bitlbee-purple: Add search path for "PURPLE_PLUGIN_PATH".
Suggested by Maxime Devos.

* gnu/packages/messaging.scm (bitlbee-purple)[native-search-paths]: New field.
2022-03-18 16:03:34 +01:00
Formbi
bc6490a85f
gnu: Add ckb-next.
* gnu/packages/hardware.scm (ckb-next): add ckb-next

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-03-18 16:03:34 +01:00
Ludovic Courtès
a6de0c4c9c
gnu: feh, newsboat: Inline top-level reference to 'curl'.
These references introduced top-level circular dependencies.
Furthermore, they were inaccurate since only CURL_CA_BUNDLE is honored.

* gnu/packages/image-viewers.scm (feh)[native-search-paths]: Remove
top-level reference to 'curl'; inline "CURL_CA_BUNDLE" spec.
* gnu/packages/syndication.scm (newsboat)[native-search-paths]:
Likewise.
2022-03-18 16:03:34 +01:00
Ludovic Courtès
7f9616717f
gnu: ghc-optparse-applicative@0.15.1.0: Avoid circular top-level references.
* gnu/packages/purescript.scm (ghc-optparse-applicative-0.15.1.0): Move
to...
* gnu/packages/haskell-xyz.scm (ghc-optparse-applicative-0.15.1.0): ... here.
2022-03-18 16:03:34 +01:00
angryrectangle
3a91c92547
home: services: Fix bash aliases without guix-defaults.
* gnu/home/services/shells.scm: Fix bash aliases not being added if
  guix-defaults? was #f. Also fix inaccuracy in documentation about placement
  of defaults.
* doc/guix.texi (Shells Home Services): Adjust accordingly.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-03-18 16:03:34 +01:00
Ludovic Courtès
09c7eeb659
gnu: emacs-osm: Record the absolute file name of 'curl'.
* gnu/packages/emacs-xyz.scm (emacs-osm)[arguments, inputs]: New fields.
2022-03-18 16:03:34 +01:00
Ludovic Courtès
0011dd0a01
gnu: emacs-osm: Fetch source over Git.
* gnu/packages/emacs-xyz.scm (emacs-osm)[source]: Switch to 'git-fetch'.
2022-03-18 16:03:33 +01:00
Allan Adair
64677f40e0
gnu: Add emacs-osm.
* gnu/packages/emacs-xyz.scm (emacs-osm): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-03-18 16:03:33 +01:00
Ludovic Courtès
322707bc7f
guix system: Call 'export-graph' with the right port argument.
* guix/scripts/system.scm (export-extension-graph)
(export-shepherd-graph): Honor PORT.
2022-03-18 16:03:33 +01:00
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