Commit Graph

14 Commits

Author SHA1 Message Date
Daniël de Kok
05e40e79a8 buildRustPackage: factor out check phase to cargoCheckHook
API change:

`cargoParallelTestThreads` suggests that this attribute sets the
number of threads used during tests, while it is actually a boolean
option (use 1 thread or NIX_BUILD_CORES threads). In the hook, this
is replaced by a more canonical name `dontUseCargoParallelTests`.
2021-02-16 08:09:15 +01:00
R. RyanTM
eec888be67 the-way: 0.12.1 -> 0.13.0 2021-02-06 21:56:07 +00:00
Ben Siraphob
c522fec274 pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
R. RyanTM
7ccd10e7ac the-way: 0.7.0 -> 0.12.1 2020-12-01 11:00:12 +00:00
zowoq
a6c17c9cdd the-way: use cargoParallelTestThreads 2020-09-24 08:55:03 +10:00
Mario Rodas
d1b9bc6019 the-way: install completions 2020-09-07 04:20:00 +00:00
Mario Rodas
1cb7ba3262 the-way: 0.6.1 -> 0.7.0 2020-09-06 23:20:00 -05:00
Mario Rodas
d99c48fc41 the-way: fix build on darwin 2020-07-31 08:00:00 -05:00
R. RyanTM
88e7bb10a5 the-way: 0.4.0 -> 0.6.1 2020-07-31 11:38:47 +00:00
zowoq
8b1690a77e the-way: disable check
disable until buildRustPackage supports setting test-threads in packages
2020-09-08 05:58:24 +10:00
zowoq
473536e3b5 buildRustPackage: remove platform.all from packages 2020-08-16 12:48:18 +10:00
R. RyanTM
b9d29dad13 the-way: 0.3.2 -> 0.4.0 2020-07-08 16:58:51 +00:00
Sebastien Bariteau
5a345d60d3
the-way: init at 0.3.2
* the-way: init at 0.3.2
2020-06-19 13:00:04 +02:00