summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-30 22:10:54 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-31 09:50:47 +0100
commita45d8cffff26bd0177da7779bfd248e3e7f062d2 (patch)
tree2426f90f8459ffc9e436b5414447e8814cf1cdcc /gnu
parent63ef731ebd83388a4babe9623af7d1ece715e09a (diff)
downloadguix-a45d8cffff26bd0177da7779bfd248e3e7f062d2.tar.gz
gnu: rust-libloading-0.6: Do not enable unstable features.
* gnu/packages/crates-io.scm (rust-libloading-0.6)[origin]: Remove snippet.

The snippet would make alacritty build fail.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm13
1 files changed, 3 insertions, 10 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f58072a8ac..dbf8c9d888 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18176,18 +18176,11 @@ library.")
        (uri (crate-uri "libloading" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32
-         "1ygliqa518jjxwa5ih4b2f8m984ib596vxmjb28pa5lb8zqdhhr4"))
-       (modules '((guix build utils)))
-       (snippet
-        '(begin
-           ;; Enable unstable features
-           (substitute* "src/lib.rs"
-             (("//! A memory" all)
-              (string-append "#![feature(non_exhaustive)]\n" all)))))))
+        (base32 "1ygliqa518jjxwa5ih4b2f8m984ib596vxmjb28pa5lb8zqdhhr4"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
+     `(#:skip-build? #true
+       #:cargo-inputs
        (("rust-cfg-if" ,rust-cfg-if-0.1)
         ("rust-winapi" ,rust-winapi-0.3))
        #:cargo-development-inputs