forked from mirrors/nixpkgs
aad7f1d6b3
This was a source of massive confusion for me when I first learned my way around nixpkgs' rust machinery. I seek to save others from that confusion. * `buildRustPackage` should have been named `buildRustPackageUsingCargo` * `buildRustCrate` should have been named `buildRustPackageUsingNix` It is, unfortunately, too late to fix this. Let's do the next best thing and make the names `buildRustPackage` and `buildRustCrate` very prominent in the documentation, so readers see immediately that they need to learn the following jargon: * `buildRustPackage` means "build this Rust crate by calling `cargo` in one (or two) monolithic derivations" * `buildRustCrate` means "build this Rust crate by calling `rustc` in one derivation for each crate" |
||
---|---|---|
.. | ||
build-aux/pandoc-filters | ||
builders | ||
contributing | ||
doc-support | ||
functions | ||
hooks | ||
languages-frameworks | ||
old | ||
stdenv | ||
using | ||
.gitignore | ||
default.nix | ||
functions.xml | ||
Makefile | ||
manual.xml | ||
overrides.css | ||
preface.chapter.md | ||
README.md | ||
shell.nix | ||
style.css |
Nixpkgs/doc
This directory houses the sources files for the Nixpkgs manual.
You can find the rendered documentation for Nixpkgs unstable
on nixos.org.
Docs for Nixpkgs stable are also available.
If you want to contribute to the documentation, here's how to do it.
If you're only getting started with Nix, go to nixos.org/learn.