| Commit message (Collapse) | Author | Age |
|
|
|
| |
Thanks to @bjornfor for reporting this error!
|
|\
| |
| | |
doc/coding-conventions: Add documentation for fetchpatch optional arguments
|
| | |
|
|\ \
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| |_|/
|/| | |
doc/using: convert to markdown
|
| | |
| | |
| | |
| | | |
Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
|
| | | |
|
|\ \ \
| | | |
| | | | |
Add backporting action
|
| | | | |
|
| | | | |
|
|/ / / |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
To me, as a native English speaker, this doesn't change the meaning of
the sentence at all. But to a non-native speaker, this can read like
the staging-next rules are only recommendations. Let's make this
clearer.
|
|\ \ \
| | | |
| | | | |
writeDirectReferencesToFile and maintenance
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | | |
This will ensure the sections have stable links as well as prevent conflicts (pandoc uses heading text for ids and DocBook requires unique ids across the book).
|
|\ \ \ \
| | | | |
| | | | | |
doc/contributing: add unnecessary string conversions
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* restore mixBuild
remove bootstrapper by going through ERL_LIBS
mix will use ERL_LIBS to find compiled dependencies
Co-authored-by: Zach <zach@hipcreativeinc.com>
|
| |/ / /
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The distinction between the inputs doesn't really make sense in the
mkShell context. Technically speaking, we should be using the
nativeBuildInputs most of the time.
So in order to make this function more beginner-friendly, add "packages"
as an attribute, that maps to nativeBuildInputs.
This commit also updates all the uses in nixpkgs.
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Since GNOME version is now 40, it no longer makes sense to use the old attribute name.
|
| |_|/
|/| | |
|
|\ \ \
| | | |
| | | | |
doc: add instructions for creating package tests
|
| | |/
| |/| |
|
| |/
|/| |
|
|\ \
| | |
| | | |
agda: fix code snippet for installing Agda
|
| |/
| |
| |
| |
| | |
- add code snippets
- be more detailed on some aspects
|
| |
| |
| |
| | |
Tests don't only apply to NixOS modules, see for example tests/vscodium
|
|\ \
| | |
| | | |
androidenv: Allow multiple ndkVersions to be specified
|
| | |
| | |
| | |
| | |
| | |
| | | |
Android is deprecating ndk.dir in favor of specifying exact NDK
version in Gradle configuration. Ensure that we can support multiple
NDKs, and link them into the location the Android Gradle Plugin expects.
|
|\ \ \
| | | |
| | | |
| | | | |
Choose binwalk 2.3.1, 27 is legacy version for Python 2.
|
| |\ \ \
| | |_|/
| |/| | |
doc: Convert builders/images/* to markdown
|
| | | | |
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
pkgs/development/python-modules/pyvex/default.nix
pkgs/top-level/python-packages.nix
|
| |/ / |
|
|\| | |
|
| |\ \
| | | |
| | | | |
dlib: Update doc to use CommonMark
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Bryan A. S <bryanasdev000@gmail.com>
|
| |\ \ \ |
|
| | | | | |
|
|\| | | | |
|
| |\ \ \ \
| | | | | |
| | | | | | |
doc: add instructions to remove a package
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Co-authored-by: Ben Siraphob <bensiraphob@gmail.com>
|
|\| | | | | |
|