Commit graph

85480 commits

Author SHA1 Message Date
Nicolas Goaziou ee98b30a69
gnu: emacs-eldev: Update to 0.10.
* gnu/packages/emacs-xyz.scm (emacs-eldev): Update to 0.10.
[arguments]: Enable some tests, disable some others.  Remove #t at the end of phases.
2021-11-17 22:12:26 +01:00
Vagrant Cascadian b066c9b03d
gnu: home: services: Fix typo.
* gnu/home/services.scm (compute-on-first-login-script): Fix spelling of
  "appropriate".
2021-11-17 12:55:24 -08:00
Ricardo Wurmus 30474f25d0
gnu: python-numcodecs: Unbundle c-blosc.
* gnu/packages/python-xyz.scm (python-numcodecs)[source]: Add snippet to
remove bundled c-blosc sources and pre-built Cython files.
[arguments]: Add build phase 'disable-avx2 and 'unbundle; replace 'check phase
to run pytest; disable tests.
[inputs]: Add c-blosc, lz4, zlib, and zstd.
[native-inputs]: Add python-cython.
2021-11-17 20:45:58 +00:00
Ricardo Wurmus 7850856591
gnu: c-blosc: Build with external libraries and without AVX2.
* gnu/packages/compression.scm (c-blosc)[inputs]: Add lz4, snappy, zlib, and
zstd.
[arguments]: Disable building with AVX2 instructions; prefer our compression
packages over bundled sources.
2021-11-17 20:45:54 +00:00
phodina 41c8ee1b50
gnu: font-adobe-source-code-pro: Update to 2.032R-ro-1.052R-it-1.012R-VAR.
* gnu/packages/fonts (font-adobe-source-code-pro): Update to
2.032R-ro-1.052R-it-1.012R-VAR.
[commit]: Adjust version rewriting regexp accordingly.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2021-11-17 18:11:40 +01:00
Vivien Kraus 948137b62a
gnu: Add emacs-vala-mode.
* gnu/packages/emacs-xyz (emacs-vala-mode): New variable.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2021-11-17 18:01:19 +01:00
Efraim Flashner 99084abd80
gnu: xfig: Update to 3.2.8b.
* gnu/packages/xfig.scm (xfig): Update to 3.2.8b.
[native-inputs]: Add ghostscript.
2021-11-17 17:48:18 +02:00
Ludovic Courtès 71b24abeb2
import: texlive: Remove leftover 'pk'.
* guix/import/texlive.scm (files->directories): Remove leftover 'pk'
call.
2021-11-17 15:44:48 +01:00
Ludovic Courtès 21357224bc
import: texlive: Load (gnu packages tex) dynamically.
Fixes a bug whereby 'guix pull' would fail with this guix-extra.drv
build failure:

  ice-9/eval.scm:163:9: ERROR:
    1. &formatted-message:
	format: "~a: patch not found\n"
	arguments: ("nettle-3.5-check-_pkcs1_sec_decrypt-msg-len.patch")

Reported by ekaitz on #guix.

Regression introduced in 3b1a12c5bf.

* guix/import/texlive.scm: Autoload (gnu packages tex).

fixlet
2021-11-17 15:44:33 +01:00
Nicolas Goaziou c3931a5454
gnu: fet: Update to 6.2.2.
* gnu/packages/education.scm (fet): Update to 6.2.2.
2021-11-17 15:06:30 +01:00
Nicolas Goaziou 8ae8c327dd
gnu: emacs-csharp-mode: Update to 1.1.0.
* gnu/packages/emacs-xyz.scm (emacs-csharp-mode): Update to 1.1.0.
2021-11-17 15:00:53 +01:00
Nicolas Goaziou d14f006355
gnu: emacs-vertico: Update to 0.16.
* gnu/packages/emacs-xyz.scm (emacs-vertico): Update to 0.16.
2021-11-17 14:59:33 +01:00
Nicolas Goaziou 9f6f05aa7b
gnu: emacs-corfu: Update to 0.15.
* gnu/packages/emacs-xyz.scm (emacs-corfu): Update to 0.15.
2021-11-17 14:54:40 +01:00
Ricardo Wurmus aad93806ac
gnu: python-hnswlib: Disable native optimizations.
* gnu/packages/python-xyz.scm (python-hnswlib)[arguments]: Add build phase
'disable-native-optimization.
2021-11-17 11:00:02 +00:00
Ricardo Wurmus 3b1a12c5bf
import: Replace texlive importer.
* guix/import/texlive.scm (fetch-sxml, sxml->package): Remove procedures.
(tlpdb-file, tlpdb, files->directories, tlpdb->package): New procedures.
(string->license): Add case for lpplgpl license combination.
(guix-name): Remove COMPONENT argument.
(texlive->guix-package): Use new procedures.
(texlive-recursive-import): New procedure.
* guix/scripts/import/texlive.scm (show-help, %options): Remove --archive
option.
(guix-import-texlive): Adjust call of texlive->guix-package.
* doc/guix.texi (Invoking guix import): Update documentation.
2021-11-17 11:00:01 +00:00
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