Commit graph

86247 commits

Author SHA1 Message Date
Efraim Flashner
7e8e07033d
gnu: python-jupyter-client: Fix test suite.
* gnu/packages/python-xyz.scm (python-jupyter-client)[native-inputs]:
Remove python-pytest-asyncio.
2021-10-31 16:34:49 +02:00
Efraim Flashner
757c9425ba
gnu: python-ipykernel: Honor #:tests? flag.
* gnu/packages/python-xyz.scm (python-ipykernel)[arguments]: Adjust
custom 'check phase to honor the #:tests? flag.
2021-10-31 16:29:33 +02:00
Efraim Flashner
74bef015a7
gnu: libadwaita: Fix invalid texinfo.
* gnu/packages/gnome.scm (libadwaita)[description]: Fix invalid texinfo.
2021-10-31 15:04:25 +02:00
Efraim Flashner
bc5155b952
Merge remote-tracking branch 'origin/master' into core-updates-frozen 2021-10-31 14:49:47 +02:00
Felix Gruber
4e5000114e
gnu: wesnoth: Update to 1.16.0.
* gnu/packages/games.scm (wesnoth): Update to 1.16.0.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2021-10-31 15:13:25 +05:30
Liliana Marie Prikler
9f2c5e901e
gnu: Add zig.
* gnu/packages/patches/zig-disable-libc-note-test.patch,
gnu/packages/patches/zig-use-system-paths.patch: New files.
* gnu/packages/zig.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES, dist_patch_DATA): Adjust accordingly.
2021-10-31 09:02:01 +01:00
Timotej Lazar
84c6f17f16
gnu: dconf: Increase test timeout further.
The “engine” test hit the previous 90s time limit when cross-compiling
on a less powerful machine.

* gnu/packages/gnome.scm (dconf)[arguments]: Change timeout to 300s in
'increase-test-timeout phase.  Drop trailing #t.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2021-10-31 00:57:07 +02:00
Tobias Geerinckx-Rice
b4359fc5e6
gnu: remmina: Update to 1.4.21.
* gnu/packages/vnc.scm (remmina): Update to 1.4.21.
[arguments]: Don't explicitly return #t from phases.
2021-10-31 00:57:07 +02:00
Tobias Geerinckx-Rice
1632cad620
gnu: aws-c-mqtt: Update to 0.7.8.
* gnu/packages/c.scm (aws-c-mqtt): Update to 0.7.8.
2021-10-31 00:57:07 +02:00
Tobias Geerinckx-Rice
02fcabe230
gnu: polybar: Update to 3.5.7.
* gnu/packages/wm.scm (polybar): Update to 3.5.7.
2021-10-31 00:57:07 +02:00
Tobias Geerinckx-Rice
8e6989fcaf
bash completion: Complete top-level options.
* etc/completion/bash/guix (_guix_complete_option): Fix operation without a {,sub}command.
(_guix_complete): Call it also when no command is given.
2021-10-31 00:57:07 +02:00
Tobias Geerinckx-Rice
0987a0eba4
bash completion: Don't hard-code "guix" binary name.
* etc/completion/bash/guix (_guix_complete_command):
Use ${COMP_WORDS[0]} instead of hard-coding "guix".
2021-10-31 00:57:07 +02:00
Tobias Geerinckx-Rice
8f45555781
ui: Use DISPLAY in SHOW-GUIX-HELP.
* guix/ui.scm (show-guix-help): Use DISPLAY where FORMAT isn't needed.
2021-10-31 00:57:07 +02:00
Tobias Geerinckx-Rice
943dd59beb
ui: Add top-level options to help text.
This also makes automated ‘guix --h<Tab>’ completion possible.

* guix/ui.scm (show-guix-help): Document that an OPTION's an option,
and all valid options.
2021-10-31 00:57:07 +02:00
Tobias Geerinckx-Rice
c73d1e68cf
gnu: bschaffl: Update to 1.4.8.
* gnu/packages/music.scm (bschaffl): Update to 1.4.8.
2021-10-31 00:57:07 +02:00
Tobias Geerinckx-Rice
3f5f58df8b
gnu: bjumblr: Update to 1.6.8.
* gnu/packages/music.scm (bjumblr): Update to 1.6.8.
2021-10-31 00:57:06 +02:00
Tobias Geerinckx-Rice
b8da019283
gnu: bshapr: Update to 0.13.
* gnu/packages/music.scm (bshapr): Update to 0.13.
2021-10-31 00:57:06 +02:00
Tobias Geerinckx-Rice
9c1a1c3b36
gnu: bchoppr: Update to 1.10.10.
* gnu/packages/music.scm (bchoppr): Update to 1.10.10.
2021-10-31 00:57:06 +02:00
Tobias Geerinckx-Rice
3df874deb9
gnu: bsequencer: Update to 1.8.10.
* gnu/packages/music.scm (bsequencer): Update to 1.8.10.
[arguments]: Set CC to something sensible.
2021-10-31 00:57:06 +02:00
Ludovic Courtès
c4ac8cf4f6
doc: Mention 'guix home reconfigure' upfront.
* doc/guix.texi (Declaring the Home Environment): Mention 'guix home
reconfigure'.
2021-10-31 00:51:07 +02:00
Ludovic Courtès
971a69d8e3
doc: Avoid misuse of @ref.
* doc/guix.texi (Declaring the Home Environment): Avoid @ref in the
middle of a sentence.
2021-10-31 00:51:06 +02:00
Ludovic Courtès
7711a6c3f4
doc: Mention "guix home import" upfront.
* doc/guix.texi (Declaring the Home Environment): Mention "guix home
import".
2021-10-31 00:51:06 +02:00
Ludovic Courtès
6f4ca78761
home: import: Avoid duplication of 'manifest->code'.
* guix/scripts/home/import.scm (manifest->code): Remove.
(manifest+configuration-files->code): New procedure.
(import-manifest): Use 'manifest+configuration-files->code' instead of
'manifest->code'.
* tests/home-import.scm (eval-test-with-home-environment): Likewise.
(match-home-environment-transformations): New procedure.
("manifest->code: No services, package transformations"): New test.
2021-10-31 00:51:06 +02:00
Ludovic Courtès
96728c54df
home: import: Factorize triplicated 'version-spec' procedure.
* guix/scripts/package.scm (manifest-entry-version-prefix): New
procedure, moved from...
(export-manifest)[version-spec]: ... here.  Adjust caller.
* tests/home-import.scm (version-spec): Remove.
(eval-test-with-home-environment): Use 'manifest-entry-version-prefix'
instead.
* guix/scripts/home/import.scm (import-manifest): Likewise.
2021-10-31 00:51:06 +02:00
Ludovic Courtès
f3933ae40d
home: import: Clarify "destination directory".
Suggested by Liliana Marie Prikler <liliana.prikler@gmail.com>.

* guix/scripts/home/import.scm (configurations+modules): Rename
'destination-directory' to 'configuration-directory'.  Improve
docstring.
2021-10-31 00:51:06 +02:00
Ludovic Courtès
341fba217f
home: import: Compare procedures with 'eq?'.
'procedure-name' is a debugging aid and cannot be reliably used to
check for procedure equality.

* guix/scripts/home/import.scm (configurations+modules): Remove use of
'procedure-name'.
2021-10-31 00:51:06 +02:00
Xinglu Chen
ea19381bd9
guix home: import: Call ‘local-file’ with ‘name’
Set the name of the file to just the basename of the file passed to
‘local-file’.

* guix/scripts/home/import.scm (basename+remove-dots): New procedure.
(generate-bash-configuration+modules): Use it.
* tests/home-import.scm (match-home-environment-bash-service): Adjust
accordingly.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-31 00:51:06 +02:00
Xinglu Chen
40acbaf078
Add tests for ‘guix home import’.
* tests/home-import.scm: New file.
* Makefile.am (SCM_TESTS): Add it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-31 00:51:05 +02:00
Xinglu Chen
87c04b0e17
doc: Document the ‘guix home import’ subcommand.
* doc/guix.texi (Invoking guix home): Document ‘guix home import’.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-31 00:51:05 +02:00
Xinglu Chen
256bd71264
guix home: import: Delete duplicate modules when importing.
Two different services might require the same module(s), so delete duplicates
when generating the ‘use-modules’ form.

* import.scm (manifest->code): Delete duplicate modules.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-31 00:51:05 +02:00
Xinglu Chen
e12e8aad35
guix home: import: Don’t use 'slurp-file-gexp'.
‘slurp-file-gexp’ is not a bound procedure.

* guix/scripts/home/import.scm (generate-bash-configuration+modules): Don’t
  use ‘slurp-file-gexp’.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-31 00:51:05 +02:00
Xinglu Chen
3be1a982f3
guix home: import: Fix module name for Bash service.
* guix/scripts/home/import.scm (generate-bash-configuration+modules): Change
(gnu home-services bash) to (gnu home-services shells); add (guix gexp).

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-31 00:51:05 +02:00
Xinglu Chen
e4d09d25ae
guix home: import: Allow multiple modules to be imported for each service.
Previously, only one module could be imported for each service, e.g., only
(gnu home-services shell) could be imported when generating the Bash service
declaration.  However, for some services, multiple modules might need to be
imported in order for it to work.

* guix/scripts/home/import.scm (generate-bash-module+configuration): Rename to
...
(generate-bash-configuration+modules): ... this.
(%files-configurations-alist): Rename to ...
(%files+configurations-alist): ... this.
(modules+configurations): Rename to ...
(configurations+modules): ... this.
(manifest->code): Adjust accordingly.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-31 00:51:05 +02:00
Xinglu Chen
d5eb05f01e
guix home: import: Make the user to specify a destination directory.
Copy the appropriate the relevant configuration files to the destination
directory, and call ‘local-file’ on them.

Without this, ‘guix home import’ will generate a service declaration like this

  (service
   home-bash-service-type
   (home-bash-configuration
    (bashrc
     (list (slurp-file-gexp
            (local-file "/home/yoctocell/.bashrc"))))))

but when running ‘guix home reconfigure’, the ~/.bashrc file would be moved, so
when running ‘guix home reconfigure’ for the second time, it would read the
~/.bashrc which is itself a symlink to a file the store.

* guix/scripts/home/import.scm (generate-bash-module+configuration): Take
‘destination-directory’ parameter
(modules+configurations): Copy the user’s configuration file to
‘%destination-directory’.
* guix/scripts/home.scm (process-command): Adjust accordingly; create
‘destination’ if it doesn’t exist.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-31 00:51:05 +02:00
Mădălin Ionel Patrașcu
cf0abb6cfe
gnu: Add r-formattable.
* gnu/packages/cran.scm (r-formattable): New variable.
2021-10-30 19:56:15 +00:00
Timotej Lazar
142344b6ef
gnu: qemu: Add Guix support to QEMU guest agent.
QEMU guest agent hardcodes paths to /sbin/hwclock and /sbin/shutdown. Patch
the source to try binaries under /run/current-system/profile/sbin first.

* gnu/packages/patches/qemu-fix-agent-paths.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register the patch.
* gnu/packages/virtualization.scm (qemu)[origin]: Apply it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-30 19:16:23 +02:00
jgart
f8d3c98162
gnu: Add r-bien.
* gnu/packages/cran.scm (r-bien): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-30 19:16:23 +02:00
jgart
2339ee166c
gnu: Add r-fasterize.
* gnu/packages/cran.scm (r-fasterize): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-30 19:16:23 +02:00
Raphaël Mélotte
a239b1e678
gnu: Add python-ijson.
* gnu/packages/python-xyz.scm (python-ijson): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2021-10-30 19:16:18 +02:00
Ludovic Courtès
98173af522
shell: Error out when an unauthorized guix.scm/manifest.scm is found.
The previous behavior was confusing: a warning would be printed and
'guix shell' would go on starting an empty environment.

Reported by Tobias Geerinckx-Rice <me@tobias.gr>.

* guix/scripts/shell.scm (auto-detect-manifest): Change "not loading"
case from warning to error.
* tests/guix-shell.sh: Adjust accordingly.
2021-10-30 19:12:40 +02:00
Foo Chuan Wei
bcce83c785
gnu: Add Random Identity Generator (rig)
* gnu/packages/shellutils.scm (rig): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-10-30 19:12:40 +02:00
Foo Chuan Wei
d4449565ed
gnu: ta-lib: Explicitly link math library.
* gnu/packages/finance.scm (ta-lib)[arguments]: Add 'link-math-library' phase.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-10-30 14:43:07 +02:00
Foo Chuan Wei
cd188b9c6f
gnu: Add cl-pass.
* gnu/packages/lisp-xyz.scm (cl-pass, ecl-cl-pass, sbcl-cl-pass): New
  variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-10-30 11:08:58 +02:00
Foo Chuan Wei
d7a1eb2a66
gnu: Add cl-clinenoise.
* gnu/packages/lisp-xyz.scm (cl-clinenoise, ecl-clinenoise,
  sbcl-clinenoise): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-10-30 11:01:24 +02:00
Marius Bakke
b440794c3d
gnu: ungoogled-chromium: Update to 95.0.4638.69-1.
* gnu/packages/chromium.scm (%chromium-version): Set to 95.0.4638.69.
(%ungoogled-revision): Inherit from it.
(%ungoogled-origin, ungoogled-chromium): Update hashes.
2021-10-30 00:51:08 +02:00
Nicolas Goaziou
d7c93012d1
gnu: mame: Update to 0.237.
* gnu/packages/emulators.scm (mame): Update to 0.237.
2021-10-29 23:03:18 +02:00
Nicolas Goaziou
27b0d89303
gnu: scintilla: Update to 5.1.3.
* gnu/packages/text-editors.scm (scintilla): Update to 5.1.3.
2021-10-29 22:50:44 +02:00
Nicolas Goaziou
b62a6317d1
gnu: thinkfan: Update to 1.3.0.
* gnu/packages/linux.scm (thinkfan): Update to 1.3.0.
2021-10-29 22:45:44 +02:00
Nicolas Goaziou
00197d7508
gnu: emacs-shell-command+: Update to 2.3.2.
* gnu/packages/emacs-xyz.scm (emacs-shell-command+): Update to 2.3.2.
2021-10-29 22:37:20 +02:00
Nicolas Goaziou
211cebef1b
gnu: emacs-ebdb: Update to 0.8.8.
* gnu/packages/emacs-xyz.scm (emacs-ebdb): Update to 0.8.8.
2021-10-29 22:33:49 +02:00