Comments (3)
@stepbrobd any idea why this fails?
If I'm correct this failure exists since dc6bc0d. Beginning with this commit the native-tls
crate got replaced by a fork of it. If I remove the line which overwrites the crate with the fork, the error disappears.
from crunchy-cli.
If I'm correct this failure exists since dc6bc0d. Beginning with this commit the native-tls crate got replaced by a fork of it. If I remove the line which overwrites the crate with the fork, the error disappears.
Good catch! The line you mentioned resulted in two `native-tls` entries present in `Cargo.lock`, this is not supported by `buildRustPackage`.
[[package]]
name = "native-tls"
version = "0.2.11"
source = "git+https://github.com/crunchy-labs/rust-not-so-native-tls.git?rev=570100d#570100d3391bd9aab7a390cfef0d1a28e8efe200"
...
[[package]]
name = "native-tls"
version = "0.2.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
...
There are couple ways to solve this:
- Removing
native-tls
fork from dependencies, or - Writing patch to remove duplicate entries in the
Cargo.lock
file, or - Try using a community maintained toolchain, they might support duplicate entries in
Cargo.lock
(haven't tested this yet, will look into it).
Related:
- NixOS/nixpkgs#22177
- https://discourse.nixos.org/t/rust-with-git-deps-symbolic-link-error-to-cargo-vendor-dep/28841
- https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/rust.section.md
from crunchy-cli.
I removed duplicated entry from Cargo.lock
/ now only rely on the [patch.crates-io]
section in Cargo.toml
.
@lachydavies25 you should be able to run it via nix now.
from crunchy-cli.
Related Issues (20)
- InvalidDigit in En-US audio HOT 1
- Unable to build from Git HOT 2
- Download archive command not updating files HOT 4
- Output Template Options remove special characters HOT 1
- Linux: Anime title not being sanitized HOT 4
- Subtitles are not fitting their usual format HOT 4
- Subtitle only option HOT 7
- An error occurred: JWT HOT 11
- error at line 7: Parse("invalid float literal") HOT 1
- Too many active streams error HOT 6
- add season_sequence_number to a episode output HOT 11
- To many active/parallel streams HOT 2
- Add custom download directory for output file HOT 2
- To extract audio HOT 1
- The other Competitor HOT 1
- how to download in es-LA or es-MX HOT 3
- Unknown TLS backend passed to `use_preconfigured_tls` HOT 4
- Video result in green or gray screen / DRM encrypted HOT 51
- Switch endpoint is now OMA encrypted HOT 2
- Version 3.6.7 bugs searching some animes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crunchy-cli.