1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 05:31:22 +00:00
nixpkgs/doc
Daniël de Kok b3969f3ad7 rustPlatform.buildRustPackage: support direct use of Cargo.lock
This change introduces the cargoLock argument to buildRustPackage,
which can be used in place of cargo{Sha256,Hash} or cargoVendorDir. It
uses the importCargoLock function to build the vendor
directory. Differences compared to cargo{Sha256,Hash}:

- Requires a Cargo.lock file.
- Does not require a Cargo hash.
- Retrieves all dependencies as fixed-output derivations.

This makes buildRustPackage much easier to use as part of a Rust
project, since it does not require updating cargo{Sha256,Hash} for
every change to the lock file.
2021-05-28 08:01:28 +02:00
..
builders doc/builders/images/*.xml: Convert to markdown 2021-04-24 09:06:33 +08:00
contributing Merge pull request #120534 from davidak/package-tests 2021-05-01 22:31:02 +01:00
doc-support Revert "make-tarball.nix: Restore the 'commit' field in packages.json" 2020-03-29 20:57:50 +02:00
functions Fix type description for attrByPath 2021-03-14 10:27:26 +01:00
languages-frameworks rustPlatform.buildRustPackage: support direct use of Cargo.lock 2021-05-28 08:01:28 +02:00
old doc/*: editorconfig fixes 2020-07-31 15:06:53 +10:00
stdenv Fix "platfrom" typos 2021-04-10 17:10:50 +02:00
using Remove repeating words from doc 2021-03-14 12:15:34 +01:00
.gitignore
default.nix doc: use lib.cleanSource 2021-02-12 08:59:27 -08:00
functions.xml
Makefile doc/README.md: init 2021-03-04 18:10:39 +01:00
manual.xml doc/contributing/*.xml: Convert to markdown 2021-04-23 12:53:58 +08:00
overrides.css doc: Make callout marks in code unselectable 2020-01-14 15:24:57 +01:00
preface.chapter.md doc: explicit Markdown anchors for top-level headings; remove metadata 2021-01-01 10:02:57 -08:00
README.md doc/README.md: Add more links 2021-03-06 12:35:33 +01:00
release-notes.xml treewide: use https for nixos.org and hydra.nixos.org 2020-05-03 22:14:21 -07:00
shell.nix doc: fix shell.nix (#109816) 2021-01-19 12:46:51 -05:00
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.