1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 12:11:28 +00:00
nixpkgs/doc
Daniël de Kok 2f46d77e28 rustPlatform.importCargoLock: init
This function can be used to create an output path that is a cargo
vendor directory. In contrast to e.g. fetchCargoTarball all the
dependent crates are fetched using fixed-output derivations. The
hashes for the fixed-output derivations are gathered from the
Cargo.lock file.

Usage is very simple, e.g.:

importCargoLock {
  lockFile = ./Cargo.lock;
}

would use the lockfile from the current directory.

The implementation of this function is based on Eelco Dolstra's
import-cargo:

https://github.com/edolstra/import-cargo/blob/master/flake.nix

Compared to upstream:

- We use fetchgit in place of builtins.fetchGit.
- Sync to current cargo vendoring.
2021-05-28 08:01:25 +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
functions Fix type description for attrByPath 2021-03-14 10:27:26 +01:00
languages-frameworks rustPlatform.importCargoLock: init 2021-05-28 08:01:25 +02:00
old
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
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
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.