diff options
author | Adam Joseph <54836058+amjoseph-nixpkgs@users.noreply.github.com> | 2023-03-17 19:09:50 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-17 19:09:50 +0000 |
commit | 4716768513350cd9a7f4b93daf100285e16a5348 (patch) | |
tree | 243c155ffcde0e314739ed936cf64fbc4945531b /doc/languages-frameworks/rust.section.md | |
parent | 50f57ac692c736b75ee7958c57b4111bf62fee9c (diff) | |
download | nixpkgs-4716768513350cd9a7f4b93daf100285e16a5348.tar nixpkgs-4716768513350cd9a7f4b93daf100285e16a5348.tar.gz nixpkgs-4716768513350cd9a7f4b93daf100285e16a5348.tar.bz2 nixpkgs-4716768513350cd9a7f4b93daf100285e16a5348.tar.lz nixpkgs-4716768513350cd9a7f4b93daf100285e16a5348.tar.xz nixpkgs-4716768513350cd9a7f4b93daf100285e16a5348.tar.zst nixpkgs-4716768513350cd9a7f4b93daf100285e16a5348.zip |
Update doc/languages-frameworks/rust.section.md
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
Diffstat (limited to 'doc/languages-frameworks/rust.section.md')
-rw-r--r-- | doc/languages-frameworks/rust.section.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/languages-frameworks/rust.section.md b/doc/languages-frameworks/rust.section.md index 1073a97888e..2b4b01718d7 100644 --- a/doc/languages-frameworks/rust.section.md +++ b/doc/languages-frameworks/rust.section.md @@ -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), |