Commit graph

85465 commits

Author SHA1 Message Date
Ricardo Wurmus
3e5749fc33
guix: Add download-multi-svn-to-store.
* guix/svn-download.scm (download-multi-svn-to-store): New procedure.
2021-11-17 10:59:54 +00:00
Pierre Neidhardt
4eb7ec53dd
gnu: sbcl-cl-tld: Update to 20211117.
* gnu/packages/lisp-xyz.scm (sbcl-cl-tld): Update to 20211117.
2021-11-17 09:36:33 +01:00
Efraim Flashner
62e707d67c
gnu: julia: Update to 1.6.3.
* gnu/packages/julia.scm (julia): Update to 1.6.3.
2021-11-17 08:45:22 +02:00
Tobias Geerinckx-Rice
02a67810e5
gnu: git: Update to 2.34.0.
* gnu/packages/version-control.scm (git): Update to 2.34.0.
2021-11-17 00:45:48 +01:00
jgart
6ed2c5e2a4
gnu: fennel: Update to 1.0.0.
* gnu/packages/lua.scm (fennel): Update to 1.0.0.
[origin]: Remove unneeded snippet.
[arguments]: Remove custom 'patch-lua-calls, 'install-manpage phases.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-11-16 21:04:58 +02:00
Jelle Licht
eb4edd7fde
gnu: emacs-flymake-kondor: Update to 0.1.1-0.389b513.
* gnu/packages/emacs-xyz.scm (emacs-flymake-kondor): Update to 0.1.1-0.389b513.
[propagated-inputs]: Remove emacs-flymake-quickdef.
2021-11-16 17:36:20 +01:00
Ludovic Courtès
7dce1df34b
gnu: Add texlive-xifthen.
* gnu/packages/tex.scm (texlive-xifthen): New variable.
2021-11-16 16:59:52 +01:00
Greg Hogan
912cb917b8
gnu: aws-sdk-cpp: Enable text-to-speech library.
* gnu/packages/cpp.scm (aws-sdk-cpp)[inputs]: Add pulseaudio dependency
so that text-to-speech library is included in the build.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-16 16:59:52 +01:00
Greg Hogan
14f540593b
gnu: aws-checksums: Replace patch.
* gnu/packages/c.scm (aws-checksums): Replace patch.
[arguments]: Fix CMAKE_PREFIX_PATH.
[source]: Remove patch.
* gnu/packages/patches/aws-checksums-cmake-prefix.patch:
Delete file.
* gnu/local.mk: Remove it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-16 16:59:52 +01:00
Greg Hogan
963ebbc62c
gnu: aws-c-event-stream: Replace patch.
* gnu/packages/c.scm (aws-c-event-stream): Replace patch.
[arguments]: Fix CMAKE_PREFIX_PATH.
[source]: Remove patch.
* gnu/packages/patches/aws-c-event-stream-cmake-prefix.patch:
Delete file.
* gnu/local.mk: Remove it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-16 16:59:52 +01:00
Greg Hogan
c769b8c2b5
gnu: aws-sdk-cpp: Update to 1.9.136.
* gnu/packages/cpp.scm (aws-sdk-cpp): Update to 1.9.136.
[arguments]: Fix CMAKE_PREFIX_PATH.
[source]: Remove patches.
* gnu/packages/patches/aws-sdk-cpp-cmake-prefix.patch,
gnu/packages/patches/aws-sdk-cpp-disable-network-tests.patch,
gnu/packages/patches/aws-sdk-cpp-disable-werror.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-16 16:59:51 +01:00
Greg Hogan
37db6db284
gnu: aws-crt-cpp: Update to 0.17.1.
* gnu/packages/c.scm (aws-crt-cpp): Update to 0.17.1.
[arguments]: Fix CMAKE_PREFIX_PATH, disable network tests.
[source]: Remove patches.
* gnu/packages/patches/aws-crt-cpp-cmake-prefix.patch,
gnu/packages/patches/aws-crt-cpp-disable-networking-tests.patch:
Delete files.
* gnu/local.mk: Remove them.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-16 16:59:51 +01:00
Greg Hogan
d5c9f52a37
gnu: aws-c-mqtt: Replace patch.
* gnu/packages/c.scm (aws-c-mqtt): Replace patch.
[arguments]: Fix CMAKE_PREFIX_PATH.
[source]: Remove patch.
* gnu/packages/patches/aws-c-mqtt-cmake-prefix.patch: Delete file.
* gnu/local.mk: Remove it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-16 16:59:51 +01:00
Greg Hogan
2d61354788
gnu: aws-c-s3: Update to 0.1.26.
* gnu/packages/c.scm (aws-c-s3): Update to 0.1.26.
[arguments]: Fix CMAKE_PREFIX_PATH, disable network tests.
[source]: Remove patches.
* gnu/packages/patches/aws-c-s3-cmake-prefix.patch,
gnu/packages/patches/aws-c-s3-disable-networking-tests.patch:
Delete files.
* gnu/local.mk: Remove them.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-16 16:59:51 +01:00
Greg Hogan
05be89ac5b
gnu: aws-c-auth: Update to 0.6.4.
* gnu/packages/c.scm (aws-c-auth): Update to 0.6.4.
[arguments]: Fix CMAKE_PREFIX_PATH, disable network tests.
[source]: Add and remove patches.
* gnu/packages/patches/aws-c-auth-install-private-headers.patch:
New file.
* gnu/packages/patches/aws-c-auth-cmake-prefix.patch,
gnu/packages/patches/aws-c-auth-disable-networking-tests.patch:
Delete files.
* gnu/local.mk: Add and remove them.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-16 16:59:51 +01:00
Greg Hogan
cff8a12a0a
gnu: aws-c-compression: Update to 0.2.14.
* gnu/packages/c.scm (aws-c-compression): Update to 0.2.14.
[arguments]: Fix CMAKE_PREFIX_PATH.
[source]: Remove patch.
* gnu/packages/patches/aws-c-compression-cmake-prefix.patch:
Delete file.
* gnu/local.mk: Remove it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-16 16:59:51 +01:00
Greg Hogan
1a0ed46097
gnu: aws-c-http: Update to 0.6.7.
* gnu/packages/c.scm (aws-c-http): Update to 0.6.7.
[arguments]: Fix CMAKE_PREFIX_PATH, disable network tests.
[source]: Remove patches.
* gnu/packages/patches/aws-c-http-cmake-prefix.patch,
gnu/packages/patches/aws-c-http-disable-networking-tests.patch:
Delete files.
* gnu/local.mk: Remove them.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-16 16:59:50 +01:00
Greg Hogan
4ff5cd6b06
gnu: aws-c-cal: Update to 0.5.12.
* gnu/packages/c.scm (aws-c-cal): Update to 0.5.12.
[arguments]: Fix CMAKE_PREFIX_PATH.
[source]: Remove patch.
* gnu/packages/patches/aws-c-cal-cmake-prefix.patch: Delete file.
* gnu/local.mk: Remove it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-16 16:59:50 +01:00
Greg Hogan
2a32dedfbf
gnu: aws-c-io: Update to 0.10.9.
* gnu/packages/c.scm (aws-c-io): Update to 0.10.9.
[arguments]: Fix CMAKE_PREFIX_PATH, disable network tests.
[source]: Remove patches.
* gnu/packages/patches/aws-c-io-cmake-prefix.patch,
gnu/packages/patches/aws-c-io-disable-networking-tests.patch:
Delete files.
* gnu/local.mk: Remove them.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-16 16:59:50 +01:00
Greg Hogan
5715a07af3
gnu: aws-c-common: Update to 0.6.11.
* gnu/packages/c.scm (aws-c-common): Update to 0.6.11.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-16 16:59:50 +01:00
Greg Hogan
cf48bf8607
gnu: s2n: Update to 1.1.0.
* gnu/packages/tls.scm (s2n): Update to 1.1.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-16 16:59:50 +01:00
Ludovic Courtès
206f2693fd
gnu: guix: Update to 9bbbac6.
* gnu/packages/package-management.scm (guix): Update to 9bbbac6.
2021-11-16 16:59:50 +01:00
Julien Lepiller
0a9a00b34c
gnu: pplacer: Fix build.
* gnu/packages/bioinformatics.scm (pplacer): Add missing input.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-11-16 15:43:51 +02:00
Julien Lepiller
fd9b7f8376
gnu: ocaml4.07-odoc: Fix inputs.
* gnu/packages/ocaml.scm (ocaml4.07-odoc): Fix inputs.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-11-16 15:43:51 +02:00
Julien Lepiller
6347ac8e40
gnu: Add ocaml4.07-bisect-ppx.
* gnu/packages/ocaml.scm (ocaml4.07-bisect-ppx): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-11-16 15:43:51 +02:00
Julien Lepiller
c10ba562be
gnu: ocaml-lwt: Remove unneeded input.
* gnu/packages/ocaml.scm (ocaml-lwt)[native-inputs]: Remove
ocaml-bisect-ppx.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-11-16 15:43:51 +02:00
Julien Lepiller
b531ba4304
gnu: Add ocaml4.07-alcotest.
* gnu/packages/ocaml.scm (ocaml4.07-alcotest): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-11-16 15:43:51 +02:00
Julien Lepiller
8000fc4fa0
gnu: Add ocaml4.07-re.
* gnu/packages/ocaml.scm (ocaml4.07-re): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-11-16 15:43:51 +02:00
Ludovic Courtès
9bbbac6783
gnu: Add texlive-latex-textpos.
* gnu/packages/tex.scm (texlive-latex-textpos): New variable.
2021-11-16 14:38:02 +01:00
Ludovic Courtès
e699eb3bcc
gnu: Add texlive-translator.
* gnu/packages/tex.scm (texlive-translator): New variable.

Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
2021-11-16 14:38:02 +01:00
Ludovic Courtès
f35976584c
home: Adjust 'guix home import' test for shell aliases.
This is a followup to 4b96998292.

* tests/home-import.scm (match-home-environment-bash-service): Match the
'aliases' field.
2021-11-16 14:38:02 +01:00
Ludovic Courtès
c322d97832
home: services: bash: Emit 'extra-content' first again.
Fixes a regression introduced in
4b96998292 that would less to a
'tests/guix-home.sh' failure.

* gnu/home/services/shells.scm (add-bash-configuration)[file-if-not-empty]:
Move EXTRA-CONTENT first.
2021-11-16 14:38:01 +01:00
Ludovic Courtès
e5d8302b2c
home: services: Fix typo.
Reinstates 4dcec60fa6, minus the
regression it introduced.

* gnu/home/services.scm (compute-on-first-login-script): Use
'program-file', not 'gexp->script'.
2021-11-16 14:37:34 +01:00
Ludovic Courtès
472a0e82a5
daemon: Do not deduplicate files smaller than 8 KiB.
Files smaller than 8 KiB typically represent ~70% of the entries in
/gnu/store/.links but only contribute to ~4% of the space savings
afforded by deduplication.

Not considering these files for deduplication speeds up file insertion
in the store and, more importantly, leaves 'removeUnusedLinks' with
fewer entries to traverse, thereby speeding it up proportionally.

Partly fixes <https://issues.guix.gnu.org/24937>.

* config-daemon.ac: Remove symlink hard link check and CAN_LINK_SYMLINK
definition.
* guix/store/deduplication.scm (%deduplication-minimum-size): New
variable.
(deduplicate)[loop]: Do not recurse when FILE's size is below
%DEDUPLICATION-MINIMUM-SIZE.
(dump-port): New procedure.
(dump-file/deduplicate)[hash]: Turn into...
[dump-and-compute-hash]: ... this thunk.
Call 'deduplicate' only when SIZE is greater than
%DEDUPLICATION-MINIMUM-SIZE; otherwise call 'dump-port'.
* nix/libstore/gc.cc (LocalStore::removeUnusedLinks): Drop files where
st.st_size < deduplicationMinSize.
* nix/libstore/local-store.hh (deduplicationMinSize): New declaration.
* nix/libstore/optimise-store.cc (deduplicationMinSize): New variable.
(LocalStore::optimisePath_): Return when PATH is a symlink or smaller
than 'deduplicationMinSize'.
* tests/derivations.scm ("identical files are deduplicated"): Produce
files bigger than %DEDUPLICATION-MINIMUM-SIZE.
* tests/nar.scm ("restore-file-set with directories (signed, valid)"):
Likewise.
* tests/store-deduplication.scm ("deduplicate, below %deduplication-minimum-size"):
New test.
("deduplicate", "deduplicate, ENOSPC"): Produce files bigger than
%DEDUPLICATION-MINIMUM-SIZE.
* tests/store.scm ("substitute, deduplication"): Likewise.
2021-11-16 14:34:28 +01:00
Ludovic Courtès
f39397b210
tests: Factorize 'file=?'.
* guix/tests.scm (file=?): Add optional 'stat' parameter.  Add fast
patch comparing inode numbers.
* tests/gexp.scm ("imported-files with file-like objects"): Remove
'file=?' procedure and use the one from (guix tests).
2021-11-16 14:34:28 +01:00
Vivien Kraus
b4b2bbf4fb
services: openssh: Collect all keys for all users.
Fixes <https://issues.guix.gnu.org/51487>

* gnu/services/ssh.scm (extend-openssh-authorized-keys): ensure that no key is forgotten.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2021-11-16 14:34:28 +01:00
Efraim Flashner
b2f8186590
Revert "home-services: Demonadify 'on-first-login' handling."
This commit breaks building guix home
guix home: error: reference to invalid output 'out' of derivation \
    '/gnu/store/86zc4rijsswmfqnaq8rwixcxjl2zyl1c-on-first-login.drv'

This reverts commit 4dcec60fa6.
2021-11-16 15:31:07 +02:00
Jean-Baptiste Volatier
546f8537aa
gnu: Add julia-sundials-jull
* gnu/packages/julia-jll.scm (julia-sundials-jll): New variable.
* gnu/packages/maths.scm (sundials-julia): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-11-16 15:16:44 +02:00
Efraim Flashner
e9a5fb7ad9
Revert "gnu: Add cl-https-everywhere."
With thanks to jlicht on IRC:
sbcl-package->cl-source-package assumes all inputs are packages
which isn't the case here.

This reverts commit e31d48d8db.
2021-11-16 15:06:54 +02:00
Efraim Flashner
11446953ba
gnu: julia-pycall: Update to 1.92.5.
* gnu/packages/julia-xyz.scm (julia-pycall): Update to 1.92.5.
2021-11-16 14:40:03 +02:00
Jean-Baptiste Volatier
3af351a7de
build-system/julia: Enable Julia Pkg to find installed packages.
Julia's built-in package manager (Pkg) looks for packages in
JULIA_DEPOT_PATH/packages/PACKAGENAME/XXXX, where XXXX is a string
encoding package UUID and SHA1 of files.  The link-depot phase creates
a link at the correct location to allow Pkg to find packages that were
already installed by Guix.

* guix/build/julia-build-system.scm (link-depot): New phase.
(%package-path): Modified package path from packages/ to loadpath/.
(project.toml->uuid): New procedure, retrive package uuid from TOML file.
(precompile, check): Adjust to the change in paths.
(%standard-phases): Add link-depot phase.
(julia-build): Add julia-package-uuid keyword.
* guix/build-system/julia.scm (julia-build): Also use the
julia-package-uuid keyword.
* gnu/packages/julia-jll.scm (julia-bzip2-jll, julia-cairo-jll,
julia-compilersupportlibraries-jll, julia-expat-jll, julia-ffmpeg-jll,
julia-fontconfig-jll, julia-freetype2-jll, julia-fribidi-jll,
julia-gettext-jll, julia-glib-jll, julia-gr-jll, julia-gumbo-jll,
julia-imagemagick-jll, julia-jllwrappers-jll, julia-jpegturbo-jll,
julia-lame-jll, julia-libass-jll, julia-libfdk-aac-jll,
julia-libffi-jll, julia-libgcrypt-jll, julia-libglvnd-jll,
julia-libgpg-error-jll, juli-libiconv-jll, julia-libmount-jll,
julia-libpng-jll, julia-libsass-jll, julia-libtiff-jll,
julia-libuuid-jll, julia-libvorbis-jll, julia-lzo-jll,
julia-mbedtls-jll, julia-ogg-jll, julia-openspecfun-jll,
julia-openssl-jll, julia-opus-jll, julia-pcre-jll, julia-pixman-jll,
julia-qt5base-jll, julia-wayland-jll, julia-wayland-protocols-jll,
julia-x264-jll, julia-x265-jll, julia-xkbcommon-jll, julia-xml2-jll,
julia-xorg-libpthread-stubs-jll, julia-xorg-libx11-jll,
julia-xorg-libxau-jll, julia-xorg-libxcb-jll, julia-xorg-libxcursor-jll,
julia-xorg-libxdmcp-jll, julia-xorg-libxext-jll,
julia-xorg-libxfixes-jll, julia-xorg-libxi-jll,
julia-xorg-libxinerama-jll, julia-xorg-libxkbfile-jll,
julia-xorg-libxrandr-jll, julia-xorg-libxrender-jll,
julia-xorg-xcb-util-jll, julia-xorg-xcb-util-keysyms-jll,
julia-xorg-xcb-util-renderutil-jll, julia-xorg-xcb-util-wm-jll,
julia-xorg-xkbcomp-jll, julia-xorg-xkeyboard-config-jll,
julia-xorg-xtrans-jll, julia-xslt-jll, julia-zlib-jll, julia-zstd-jll)
[argument]: Adjust the order of the phases to the change in the
julia-build-system.
* gnu/packages/julia-xyz.scm (julia-bufferedstreams, julia-calculus,
julia-dataframes, julia-datavalues, julia-distances, julia-documenter,
julia-dualnumbers, julia-ellipsisnotation, julia-expronicon,
julia-fileio, julia-fixedpointnumbers, julia-functionwrappers,
julia-fuzzycompletions, julia-genericlinearalgebra, julia-genericschur,
julia-geometrybasics, julia-imagemagick, julia-infinity,
julia-matrixfactorizations, julia-media, julia-missings, julia-nnlib,
julia-optimtestproblems, julia-orderedcollections, julia-prettytables,
julia-pycall, julia-quadmath, julia-safetests, julia-stackviews)
[arguments]: Correct paths to reflect change of %package-path modify
order of phases as link-depot needs to run on an unmodified src
directory add package-name-uuid keyword argument to packages without
Project.toml file.
* gnu/packages/julia.scm (julia)[native-search-paths]: Correct paths to
reflect change of %package-path modify order of phases as link-depot
needs to run on an unmodified src directory.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-11-16 14:39:51 +02:00
Pierre Neidhardt
e31d48d8db
gnu: Add cl-https-everywhere.
* gnu/packages/lisp-xyz.scm (cl-https-everywhere, sbcl-cl-https-everywhere):
New variables.
2021-11-16 12:51:45 +01:00
Pierre Neidhardt
2d55463053
gnu: Add vernacular.
* gnu/packages/lisp-xyz.scm (cl-vernacular, sbcl-vernacular): New variables.
2021-11-16 12:51:45 +01:00
Pierre Neidhardt
f1dd327996
gnu: Add fxml.
* gnu/packages/lisp-xyz.scm (cl-fxml, sbcl-fxml): New variables.
2021-11-16 12:51:45 +01:00
Pierre Neidhardt
3ddfe4c1a0
gnu: Add xpath.
* gnu/packages/lisp-xyz.scm (cl-xpath, sbcl-xpath): New variables.
2021-11-16 12:51:45 +01:00
Pierre Neidhardt
e37bb39971
gnu: Add overlord.
* gnu/packages/lisp-xyz.scm (cl-overlord, sbcl-overlord): New variables.
2021-11-16 12:51:45 +01:00
Pierre Neidhardt
3f6953b54e
gnu: Add cxml-rng.
* gnu/packages/lisp-xyz.scm (cl-cxml-rng, sbcl-cxml-rng): New variables.
2021-11-16 12:51:45 +01:00
Pierre Neidhardt
d0c3efb78a
gnu: Add bit-smasher.
* gnu/packages/lisp-xyz.scm (cl-bit-smasher, ecl-bit-smasher, sbcl-bit-smasher): New variables.
2021-11-16 12:51:44 +01:00
Pierre Neidhardt
de28e45e0f
gnu: Add cl-base58.
* gnu/packages/lisp-xyz.scm (cl-base58, ecl-cl-base58, sbcl-cl-base58): New variables.
2021-11-16 12:51:44 +01:00
Pierre Neidhardt
6366aaf7cc
gnu: Add exit-hooks.
* gnu/packages/lisp-xyz.scm (cl-exit-hooks, ecl-exit-hooks, sbcl-exit-hooks):
New variables.
2021-11-16 12:47:00 +01:00