summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorJakub Kądziołka <kuba@kadziolka.net>2020-08-03 18:53:03 +0200
committerJakub Kądziołka <kuba@kadziolka.net>2020-08-04 15:57:31 +0200
commitea660581c727086fa0f2ea54aa0df30c90cec46c (patch)
tree378e107f16ed62c2eec65298227c6ac3764f5d05 /gnu/packages
parentcc73028b219c61a215327546c734911b22b3f8f5 (diff)
downloadguix-ea660581c727086fa0f2ea54aa0df30c90cec46c.tar.gz
gnu: rust-nix-0.15: Fix build.
* gnu/packages/crates-io.scm (rust-nix-0.15)[snippet]: Unpin dependency version.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm11
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6c5e72e6d0..3cb97caf8a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14484,7 +14484,16 @@ release (fork of debug_unreachable)")
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "0aa2l7wg9pzx24ks4p97gdy09a4hhs1sr9drxnm75v906d7hnbiv"))))
+         "0aa2l7wg9pzx24ks4p97gdy09a4hhs1sr9drxnm75v906d7hnbiv"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin
+           ;; Unpin the dependency on tempfile, as it was withheld for MSRV
+           ;; concerns, which don't matter for Guix:
+           ;; https://github.com/nix-rust/nix/commit/98531c8f04bc23fb632c08e06dc4e56284b9c027
+           (substitute* "Cargo.toml"
+             (("version = \">= 3.0.5, < 3.0.9\"") "version = \"3.0.5\""))
+           #t))))
     (build-system cargo-build-system)
     (arguments
      `(#:tests? #f      ; test suite hangs