Comments (5)
It seems like this was caused by using
toolchain = (pkgs.rustChannelOf {
rustToolchain = ./rust-toolchain.toml;
sha256 = "";
# ^ After you run `nix build`, replace this with the actual
# hash from the error message
}).rust;
and specifying [toolchain].channel = "nightly-2023-03-08"
in rust-toolchain.toml
. Using
toolchain = (pkgs.rustChannelOf {
date = "2023-03-08";
channel = "nightly";
sha256 = "zZaPUREtWgJuWSzlZh6Cf2u4jcxWfPzfrZEsM+L4GZo=";
}).rust;
instead works.
from naersk.
Hmm, interesting!
If you're using Nix Flakes, are you sure you've got Cargo.lock
committed into the repository as well, so that Naersk can see it?
from naersk.
I was testing this again and now I can't replicate it... weird. I'm not aware of doing anything different than before.
Maybe a hiccup on my end?
from naersk.
Possibly; I'm using Naersk with "external" patched dependencies myself (to a private GitLab instance) and everything works fine, so maybe it was just a temporary network issue 👀
from naersk.
Seems weird, but likely. Thanks helping! Closing because there seems to be no issue after all.
from naersk.
Related Issues (20)
- Building crate that has a git submodule that is a crate that one depends on as a path dependency seems to fail? HOT 4
- no matching package named `sea-orm` HOT 4
- Cargo/rustc linker serach path when in developer shell HOT 7
- how do i build examples like cargo build --example example_name HOT 3
- Passing options to clippy HOT 2
- Monorepo with multiple crates that can not share a workspace is not possible to build? HOT 6
- Project's build.rs file not getting executed at all HOT 2
- Issues with `autocxx` in sandbox. HOT 14
- dummy-src build failed with "cp: missing file operand" HOT 4
- missing field `unused` for key `patch` HOT 1
- Error when using a `git` dependency that includes a workspace, when the flake is also in a workspace HOT 4
- `unpack-*` derivations end up in closure HOT 1
- The 'proper' way of doing a debug build? HOT 4
- Looking for a maintainer HOT 2
- Dependencies with inherited workspace info fails with parse error HOT 4
- How to build tauri with naersk? HOT 1
- Looking for a maintainer
- getting file/folder permission issue when building
- Nix store output path is empty unless `name` is specified
- Binaries missing from `$out/bin/` 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 naersk.