Update doc/languages-frameworks/rust.section.md

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
This commit is contained in:
Adam Joseph 2023-03-17 19:09:50 +00:00 committed by GitHub
parent 50f57ac692
commit 4716768513
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -648,7 +648,7 @@ buildPythonPackage rec {
When run, `cargo build` produces a file called `Cargo.lock`,
containing pinned versions of all dependencies. Nixpkgs contains a
tool called `carnix` (`nix-env -iA nixos.carnix`), which can be used
tool called `crate2Nix` (`nix-shell -p crate2nix`), which can be used
to turn a `Cargo.lock` into a Nix expression.
That Nix expression calls `rustc` directly (hence bypassing Cargo),