Commit graph

62961 commits

Author SHA1 Message Date
Ludovic Courtès
3b7145d821
deduplication: Leave the store permissions unchanged.
Suggested by Caleb Ristvedt <caleb.ristvedt@cune.org>.

* guix/store/deduplication.scm (call-with-writable-file): Call THUNK
directly when FILE is (%store-directory).
2020-06-25 12:29:23 +02:00
Ludovic Courtès
6b654a3332
deduplication: Fix default value of #:store in 'deduplicate'.
* guix/store/deduplication.scm (deduplicate): Change #:store default
value to (%store-directory).
2020-06-25 12:29:23 +02:00
Ludovic Courtès
d52e16d3b6
deduplication: Use 'dynamic-wind' when changing permissions of the parent.
Suggested by Caleb Ristvedt <caleb.ristvedt@cune.org>.

* guix/store/deduplication.scm (call-with-writable-file): New procedure.
(with-writable-file): New macro.
(replace-with-link): Use it.
2020-06-25 12:29:22 +02:00
Ludovic Courtès
b930f0ba21
daemon: Correctly handle EMLINK corner case when deduplicating.
Suggested by Caleb Ristvedt <caleb.ristvedt@cune.org>.

* nix/libstore/optimise-store.cc (LocalStore::optimisePath_): Save errno
from 'rename' before calling 'unlink'.
2020-06-25 12:29:22 +02:00
Mathieu Othacehe
b06ba9e0ff
ci: Build Guix System images.
Build a list of Guix System images. For now, this list only contains the Hurd
barebones Guix System image.

* gnu/ci.scm (%guixsd-supported-systems): Remove "armhf-linux",
(%u-boot-systems): remove unused variable,
(%guix-system-images): new variable
(qemu-jobs): rename to "image-jobs" and build the Guix Systems listed in the
new "%guix-system-images" variable,
(system-test-jobs): adapt accordingly,
(hydra-jobs): ditto.
2020-06-25 10:29:41 +02:00
Maxim Cournoyer
fab8fed355
gnu: Add ruby-middleware.
* gnu/packages/ruby.scm (ruby-middleware): New variable.
2020-06-25 00:14:43 -04:00
Maxim Cournoyer
aa1b0fb867
gnu: Add emacs-feature-mode.
* gnu/packages/emacs-xyz.scm (emacs-feature-mode): New variable.
2020-06-25 00:14:43 -04:00
Maxim Cournoyer
24be67517c
gnu: Add ruby-ruby-parser.
* gnu/packages/ruby.scm (ruby-ruby-parser): New variable.
2020-06-25 00:14:43 -04:00
Maxim Cournoyer
a8cdfd53db
gnu: Add ruby-sexp-processor.
* gnu/packages/ruby.scm (ruby-sexp-processor): New variable.
2020-06-25 00:14:43 -04:00
Maxim Cournoyer
5bc13b8e9b
gnu: Add unifdef.
* gnu/packages/c.scm (unifdef): New variable.
2020-06-25 00:14:43 -04:00
Jakub Kądziołka
9cc35585b0
gnu: rust-num-cpus-1: Update to 1.13.0.
* gnu/packages/crates-io.scm (rust-num-cpus-1): Update to 1.13.0.
[cargo-development-inputs]: Remove rust-doc-comment-0.3.
2020-06-25 03:16:31 +02:00
Mark H Weaver
ea843f7742
gnu: linux-libre: Update to 5.4.49.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.49.
(linux-libre-5.4-pristine-source): Update hash.
2020-06-24 21:08:00 -04:00
Mark H Weaver
d566f533b1
gnu: linux-libre@5.7: Update to 5.7.6.
* gnu/packages/linux.scm (linux-libre-5.7-version): Update to 5.7.6.
(linux-libre-5.7-pristine-source): Update hash.
2020-06-24 21:06:54 -04:00
Jakub Kądziołka
e4a26e3217
gnu: ripgrep: Update to 12.1.1.
* gnu/packages/rust-apps.scm (ripgrep): Update to 12.1.1.
2020-06-25 02:55:12 +02:00
Jakub Kądziołka
97bd864c54
gnu: rust-termcolor-1: Update to 1.1.0.
* gnu/packages/crates-io.scm (rust-termcolor-1): Update to 1.1.0.
[arguments]: Don't skip build, adjust dependencies.
2020-06-25 02:55:12 +02:00
Jakub Kądziołka
c5e879cdbb
gnu: crates-io: Remove minor versions from some package names.
* gnu/packages/crates-io.scm
(rust-termcolor-1.0): Rename to rust-termcolor-1.
(rust-humantime-1.3): Rename to rust-humantime-1.
(rust-num-cpus-1.11): Rename to rust-num-cpus-1.
(rust-signal-hook-registry-1.2): Rename to rust-signal-hook-registry-1.
2020-06-25 02:55:12 +02:00
Jakub Kądziołka
24973fc550
gnu: Remove rust-num-cpus-1.10.
* gnu/packages/rust-apps.scm (ripgrep)[arguments]: Replace rust-num-cpus-1.10 with 1.11.
* gnu/packages/crates-io.scm
  (rust-crossbeam-channel-0.4, rust-crossbeam-channel-0.3,
  rust-futures-executor-preview-0.3, rust-hyper-0.12,
  rust-jobserver-0.1, rust-tokio-0.2)[arguments]: Likewise.
  (rust-gimli-0.18, rust-tokio-core-0.1,
  rust-tokio-io-pool-0.1, rust-tokio-reactor-0.1)[arguments]: Likewise; don't skip build.
  (rust-tokio-0.1): Don't skip build. Replace rust-num-cpus-1.10 with 1.11,
  rust-env-logger-0.6 with 0.5.
  (rust-tokio-threadpool-0.1)[arguments]: Don't skip build. Replace
  rust-num-cpus-1.10 with 1.11, rust-rand-0.4 with 0.6,
  rust-env-logger-0.6 with 0.5. Add rust-lazy-static-1.
  (rust-num-cpus-1.10): Remove variable.
2020-06-25 02:55:12 +02:00
Jakub Kądziołka
31890a3783
gnu: rust-rayon-1: Update to 1.3.1.
* gnu/packages/crates-io.scm (rust-rayon-1): Update to 1.3.1.
  [arguments]: Remove rust-doc-comment-0.3. Add rust-autocfg-1.0. Don't
  skip build.
2020-06-25 02:55:12 +02:00
Jakub Kądziołka
1a629f0076
gnu: rust-rayon-core-1: Update to 1.7.1.
* gnu/packages/crates-io.scm (rust-rayon-core-1): Update to 1.7.1.
  [arguments]: Don't skip build. Replace rust-num-cpus-1.10 with 1.11.
  Disable tests.
2020-06-25 02:55:12 +02:00
Jakub Kądziołka
8d26b41290
gnu: Remove rust-arc-swap-0.3.
* gnu/packages/crates-io.scm (rust-arc-swap-0.3): Remove variable.
2020-06-25 02:55:11 +02:00
Jakub Kądziołka
7bb8e47926
gnu: Remove rust-signal-hook-registry-1.0.
* gnu/packages/crates-io.scm (rust-signal-hook-registry-1.0): Remove
  variable.
2020-06-25 02:55:11 +02:00
Jakub Kądziołka
f8e0184ace
gnu: rust-grep-0.2: Update to 0.2.7.
* gnu/packages/crates-io.scm (rust-grep-0.2): Update to 0.2.7.
2020-06-25 02:55:11 +02:00
Jakub Kądziołka
5d07e23d61
gnu: rust-pcre2-0.2: Update to 0.2.3.
* gnu/packages/crates-io.scm (rust-pcre2-0.2): Update to 0.2.3.
[cargo-inputs]: Replace rust-thread-local-0.3 with 1.0.
2020-06-25 02:55:11 +02:00
Jakub Kądziołka
9ce795a7d6
gnu: rust-grep-pcre2-0.1: Update to 0.1.4.
* gnu/packages/crates-io.scm (rust-grep-pcre2-0.1): Update to 0.1.4.
2020-06-25 02:55:11 +02:00
Jakub Kądziołka
187c232f18
gnu: rust-grep-cli-0.1: Update to 0.1.5.
* gnu/packages/crates-io.scm (rust-grep-cli-0.1): Update to 0.1.5.
[arguments]: Don't skip build.
2020-06-25 02:55:11 +02:00
Jakub Kądziołka
52069595e6
gnu: rust-grep-printer-0.1: Update to 0.1.5.
* gnu/packages/crates-io.scm (rust-grep-printer-0.1): Update to 0.1.5.
  [arguments]: Don't skip build. Replace rust-base64-0.10 with 0.12.
2020-06-25 02:55:10 +02:00
Jakub Kądziołka
f03e4b73ff
gnu: Add rust-base64-0.12.
* gnu/packages/crates-io.scm (rust-base64-0.12): New variable.
  (rust-base64-0.11): Inherit from rust-base64-0.12.
2020-06-25 02:55:10 +02:00
Jakub Kądziołka
ab0479317e
gnu: rust-grep-searcher-0.1: Update to 0.1.7.
* gnu/packages/crates-io.scm (rust-grep-searcher-0.1): Update to 0.1.7.
  [arguments]: Don't skip build. Replace rust-bytecount-0.5 with 0.6.
2020-06-25 02:55:10 +02:00
Jakub Kądziołka
6013bcfbff
gnu: Add rust-bytecount-0.6.
* gnu/packages/crates-io.scm (rust-bytecount-0.6): New variable.
  (rust-bytecount-0.5): Inherit from rust-bytecount-0.6. Replace
  rust-rand-0.4 with 0.6 (the former only worked due to transitive
  dependencies and "the semver trick" [0]).
  (rust-bytecount-0.4): Inherit from rust-bytecount-0.5.

[0]: https://github.com/dtolnay/semver-trick
2020-06-25 02:55:10 +02:00
Jakub Kądziołka
aac2184eba
gnu: rust-aho-corasick-0.7: Update to 0.7.13.
* gnu/packages/crates-io.scm (rust-aho-corasick-0.7): Update to 0.7.13.
2020-06-25 02:55:10 +02:00
Jakub Kądziołka
3472ec0257
gnu: rust-grep-regex-0.1: Update to 0.1.8.
* gnu/packages/crates-io.scm (rust-grep-regex-0.1): Update to 0.1.8.
  [cargo-inputs]: Add rust-bstr-0.2. Replace rust-thread-local-0.3 with 1.0.
  Remove rust-utf8-ranges-1.0.
2020-06-25 02:55:10 +02:00
Jakub Kądziołka
1aabcf9222
gnu: rust-grep-matcher-0.1: Update to 0.1.4.
* gnu/packages/crates-io.scm (rust-grep-matcher-0.1): Update to 0.1.4.
2020-06-25 02:55:09 +02:00
Jakub Kądziołka
83b5d1fa75
gnu: rust-regex-1: Update to 1.3.9.
* gnu/packages/crates-io.scm (rust-regex-1): Update to 1.3.9.
  [cargo-development-inputs]: Remove rust-doc-comment-0.3.
2020-06-25 02:55:09 +02:00
Jakub Kądziołka
a9680dbd76
gnu: rust-regex-syntax-0.6: Update to 0.6.18.
* gnu/packages/crates-io.scm (rust-regex-syntax-0.6): Update to 0.6.18.
2020-06-25 02:55:09 +02:00
Jakub Kądziołka
adf9648f2e
gnu: rust-ignore-0.4: Update to 0.4.16.
* gnu/packages/crates-io.scm (rust-ignore-0.4): Update to 0.4.16.
  [arguments]: Make rust-crossbeam-channel-0.4 a development input.
  Add rust-crossbeam-utils-0.7 to inputs.
2020-06-25 02:55:09 +02:00
Jakub Kądziołka
f9b251f005
gnu: rust-crossbeam-utils-0.7: Fix build.
* gnu/packages/crates-io.scm (rust-crossbeam-utils-0.7)[arguments]:
  Replace rust-autocfg-0.1 with 1.0. Don't skip build.
2020-06-25 02:55:09 +02:00
Jakub Kądziołka
dca62c0457
gnu: rust-globset-0.4: Update to 0.4.5.
* gnu/packages/crates-io.scm (rust-globset-0.4): Update to 0.4.5.
  [cargo-inputs]: Add rust-serde-1.0.
  [cargo-development-inputs]: Add rust-lazy-static-1, rust-serde-json-1.0.
2020-06-25 02:55:09 +02:00
Ludovic Courtès
1189f405ae
Revert "ci: Build Guix System images."
This reverts commit eda3fcfb46.

This change broke evaluations on CI:

  @ build-succeeded /gnu/store/991738x97ff1f8181a7p1pflqwkgagm8-profile.drv -
  ERROR: In procedure read:
  In procedure scm_lreadr: #<unknown port>:16:144: Unknown # object: #\<
2020-06-25 01:27:55 +02:00
Ludovic Courtès
a2991de0f4
gnu: guix: Build with Guile 3.0.4.
Since Guile 3.0.4 bytecode is not readable by 3.0.2, build the
dependents of 'guix' with 3.0.4 as well.

* gnu/packages/package-management.scm (guix)[inputs, native-inputs]: Use
GUILE-3.0-LATEST.
(gwl, guix-jupyter): Likewise.
* gnu/packages/web.scm (hpcguix-web): Likewise.
* gnu/packages/ci.scm (cuirass): Likewise.
* gnu/packages/emacs-xyz.scm (emacs-guix): Likewise.
2020-06-25 01:20:31 +02:00
Ludovic Courtès
9e91f8623f
gnu: guile: Update to 3.0.4.
* gnu/packages/guile.scm (guile-3.0.3): Rename to...
(guile-3.0-latest): ... this.  Update to 3.0.4.
(guile-3.0/libgc-7): Adjust accordingly.
2020-06-25 01:20:31 +02:00
Ludovic Courtès
a18d02def9
channels: Fix test for introductory commit signer.
Until now the test would always succeed because it would return
'failed, which has truth value.  The exercise
'verify-introductory-commit', we need to add a second commit beyond the
introductory commit, which is what we do here.

* tests/channels.scm ("authenticate-channel, wrong first commit
signer"): Add a second commit and authenticate up to that one.  Change
'message?' to 'message-condition?'.
2020-06-25 01:20:31 +02:00
Ludovic Courtès
1ad332b367
gnu: glib: Hide 'zip' binding from SRFI-1.
* gnu/packages/glib.scm: Hide 'zip' from (srfi srfi-1).
2020-06-25 01:20:31 +02:00
Ludovic Courtès
db170ee921
services: Add missing (ice-9 format) import.
These issues were reported by -Wformat, though they were harmless in
practice because importing (ice-9 format) changes the global 'format'
binding currently.

* gnu/services/nix.scm: Import (ice-9 format).
* gnu/services/web.scm: Likewise.
* gnu/system/mapped-devices.scm: Likewise.
2020-06-25 01:20:31 +02:00
Jakub Kądziołka
5adaf17bb0
gnu: sameboy: Update to 0.13.3.
* gnu/packages/emulators.scm (sameboy): Update to 0.13.3.
2020-06-25 00:21:30 +02:00
Marius Bakke
e30cf11bb0
services: childhurd: Adjust for hurd-disk-image move.
This is a follow-up to commit b904b59ce5.

* gnu/services/virtualization.scm: Import (gnu system images hurd).
2020-06-25 00:13:31 +02:00
Ryan Prior
fb77ed2c49
gnu: Add sideload.
* gnu/packages/pantheon.scm (sideload): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-06-24 22:10:59 +02:00
Vinicius Monego
657f8535aa
gnu: Add gmic.
* gnu/packages/image-processing.scm (gmic): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-06-24 22:10:59 +02:00
Vinicius Monego
c53d529f1d
gnu: Add photoflare.
* gnu/packages/photo.scm (photoflare): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
2020-06-24 22:10:58 +02:00
Marius Bakke
cdf6a11880
gnu: python-on-guile: Update to 1.2.3.5.
* gnu/packages/guile-xyz.scm (python-on-guile): Update to 1.2.3.5.
2020-06-24 22:10:58 +02:00
Marius Bakke
af91d13385
gnu: cURL: Replace with 7.71.0 [fixes CVE-2020-8169, CVE-2020-8177].
* gnu/packages/curl.scm (curl-7.71.0): New variable.
(curl)[replacement]: New field.
2020-06-24 22:10:58 +02:00