aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/rust-nettle-disable-vendor.patch
diff options
context:
space:
mode:
authorHartmut Goebel <h.goebel@crazy-compilers.com>2020-04-23 23:12:36 +0200
committerHartmut Goebel <h.goebel@crazy-compilers.com>2020-05-05 13:20:46 +0200
commit098f1d722ba553fddd41a2b9e183fe983b708ff9 (patch)
tree025d3c6b9c098bcef2b5a99c75d341795b3b62a7 /gnu/packages/patches/rust-nettle-disable-vendor.patch
parent5effc5bfe1f9bbe94be9ac8bd40e2f2875b08720 (diff)
downloadguix-098f1d722ba553fddd41a2b9e183fe983b708ff9.tar.gz
guix-098f1d722ba553fddd41a2b9e183fe983b708ff9.zip
gnu: Add rust-nettle-7.
* gnu/packages/crates-io.scm (rust-nettle-7): New variable. * gnu/packages/patches/rust-nettle-disable-vendor.patch: New file. * gnu/local.mk: Add it.
Diffstat (limited to 'gnu/packages/patches/rust-nettle-disable-vendor.patch')
-rw-r--r--gnu/packages/patches/rust-nettle-disable-vendor.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/packages/patches/rust-nettle-disable-vendor.patch b/gnu/packages/patches/rust-nettle-disable-vendor.patch
new file mode 100644
index 0000000000..5b52821cdb
--- /dev/null
+++ b/gnu/packages/patches/rust-nettle-disable-vendor.patch
@@ -0,0 +1,13 @@
+Subject: nettle: clear out "vendored" feature cruft from build.rs
+From: Daniel Kahn Gillmor's avatarDaniel Kahn Gillmor <dkg@fifthhorseman.net>
+
+https://salsa.debian.org/rust-team/debcargo-conf/-/commit/b608e6beaa1d38c14fc16ad53780d94954a91900
+https://sources.debian.org/src/rust-nettle/7.0.0-1/debian/patches/disable-vendor.diff/
+--- a/Cargo.toml 1969-12-31 19:00:00.000000000 -0500
++++ b/Cargo.toml 2019-10-23 19:12:01.076181971 -0400
+@@ -35,4 +35,4 @@
+ version = "1"
+
+ [features]
+-vendored = ["nettle-sys/vendored"]
++vendored = []