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)
- Make delimiter for languages configurable HOT 2
- Process stucked at a certain episode HOT 4
- Heaven Official's Blessing fails to Download HOT 3
- 3.2.5 Is Full Of Mess Cannot Understand Why HOT 3
- No subtitles when downloading videos with English audio HOT 1
- Search function don't work with all animes HOT 1
- Including the {audio} in the file name causes a ffmpeg parameter unknown/error HOT 3
- expected value at line 1 column 1 at 1 HOT 1
- no cc subtitles when I want to use English dub HOT 4
- Can't download eps with "?" in the name HOT 4
- Segmentation fault with archive due to fat LTO + other optimizations HOT 2
- Language country tag incompatibility HOT 3
- How to get just one video and all audio available and auto Sync audio with video ? HOT 2
- Filtering is case sensitive. HOT 1
- nix flake: no longer runs HOT 1
- Crunchy-cli IS legal ? HOT 3
- Failing to generate output file HOT 4
- Can't download Yowamushi Pedal movies HOT 1
- Add option to download just the audio/subs HOT 1
- Skipping url 1 (no matching videos found) with VPN HOT 1
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.