Max Hausch
ebe3ae4d4d
buildRustPackage: Add cargoTestFlags
...
This makes it possible to pass flags to `cargo test`, which is needed if
a crate is compiled with custom feature flags.
2021-03-02 09:45:26 +01:00
Max Hausch
fa62f37160
doc: rust: Fix code blocks in markdown
...
And add a word
2021-03-02 09:40:58 +01:00
Jan Tojnar
913394a1d9
Merge branch 'staging-next' into staging
2021-03-01 19:30:56 +01:00
Jonathan Ringer
6ed55034ee
doc/python: reword sorting gaurentee to be stronger
2021-02-28 16:18:58 -08:00
Daniël de Kok
c50a347cb5
buildRustPackage: use checkType argument
...
The `checkType` argument of buildRustPackage was not used anymore
since the refactoring of `buildRustPackage` into hooks. This was
an oversight that is fixed by this change.
The check type can also be passed directly to cargoCheckHook using the
`cargoCheckType` environment variable.
2021-02-26 11:57:27 +01:00
Frederik Rietdijk
c456a2512f
Merge master into staging-next
2021-02-26 10:25:13 +01:00
WORLDofPEACE
4b10920ed1
stdenv/check-meta: change to allowlist and blocklist ( #114127 )
...
* stdenv/check-meta: change to allowlist and blocklist
* Update pkgs/stdenv/generic/check-meta.nix
Co-authored-by: Graham Christensen <graham@grahamc.com>
2021-02-23 10:25:18 -05:00
Graham Christensen
3ef281c3a2
Merge pull request #113176 from danieldk/cargoDepsName
...
buildRustPackage: add cargoDepsName attribute
2021-02-23 10:02:45 -05:00
github-actions[bot]
227aa2c9b0
Merge master into staging-next
2021-02-22 06:17:05 +00:00
Ben Siraphob
251897b40d
stdenv/cross-compilation: add section on avoiding cross-compiling GCC
2021-02-22 10:57:30 +07:00
github-actions[bot]
93b17c1b4d
Merge master into staging-next
2021-02-21 18:17:22 +00:00
Ben Siraphob
4550d6596b
docs/stdenv/cross-compilation: add binutils command section to cookbook
2021-02-21 21:56:48 +07:00
Léo Gaspard
037936b7a3
Merge pull request #107322 from sternenseemann/fetch-github-leavedotgit
...
fetchFromGitHub: also use git if deepClone or leaveDotGit is used
2021-02-21 13:28:00 +01:00
github-actions[bot]
2c8fa86436
Merge master into staging-next
2021-02-21 06:16:32 +00:00
Ben Siraphob
92d319d5d5
doc/stdenv/platform-notes: convert to markdown
2021-02-21 06:45:21 +01:00
Jan Tojnar
8f50f1ce10
Merge branch 'staging-next' into staging
...
Resolved the following conflicts:
- kernel flags between 09176d28a0
and 2b28822d8d
- clojure-lsp between 3fa00685ce
and e03c068af5
2021-02-19 17:15:31 +01:00
Thomas Bereknyei
9c4839fe86
docs: clarify staging
...
Specify that the merges from master to staging-next to staging are
performed by GitHub actions. This helps the reader understand the
relationship between the branches.
2021-02-19 07:56:09 +01:00
Sandro
36ef53d337
Merge pull request #113167 from mweinelt/pytestcheckhook-paths
...
pytestCheckHook: add support for disabling arbitrary paths
2021-02-18 16:59:22 +01:00
Jörg Thalheim
236b56c94d
Merge pull request #113193 from danieldk/cargo-install-hook
2021-02-18 00:02:03 +00:00
github-actions[bot]
c0f4dcb71d
Merge staging-next into staging
2021-02-16 18:17:00 +00:00
github-actions[bot]
287495a7aa
Merge master into staging-next
2021-02-16 18:16:57 +00:00
Niklaus Giger
76561002c2
doc: Convert Eclipse from Docbook to CommonMark
...
Fixes: https://github.com/NixOS/nixpkgs/issues/105251
2021-02-16 18:58:14 +01:00
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
Daniël de Kok
9757c7101a
buildRustPackage: factor out install phase to cargoInstallHook
2021-02-15 12:17:18 +01:00
Daniël de Kok
d92396039d
buildRustPackage: add cargoDepsName attribute
...
The directory in the tarball of vendored dependencies contains `name`,
which is by default set to `${pname}-${version}`. This adds an
additional attribute to permit setting the name to something of the
user's choosing.
Since `cargoSha256`/`cargoHash` depend on the name of the directory of
vendored dependencies, `cargoDepsName` can be used to e.g. make the
hash invariant to the package version by setting `cargoDepsName =
pname`.
2021-02-15 07:06:31 +01:00
Martin Weinelt
d6d63aef7d
pytestCheckHook: add support for disabling arbitrary paths
...
Renames `disabledTestFiles` to the more genereric `disabledTestPaths` to
reflect that change.
2021-02-15 00:34:35 +01:00
Jörg Thalheim
b5b47d6445
Merge pull request #112804 from danieldk/cargo-build-hook
2021-02-14 18:08:26 +00:00
github-actions[bot]
37c77840b8
Merge staging-next into staging
2021-02-13 12:19:41 +00:00
github-actions[bot]
257f90a43f
Merge master into staging-next
2021-02-13 12:19:38 +00:00
taku0
3bcfa06742
Merge pull request #108456 from siraben/elm-docs-md
...
Convert Elm from Docbook to Commonmark
2021-02-13 18:11:24 +09:00
github-actions[bot]
0667f269fc
Merge staging-next into staging
2021-02-12 18:16:50 +00:00
github-actions[bot]
b23b455f9a
Merge master into staging-next
2021-02-12 18:16:46 +00:00
Alyssa Ross
503a772e02
doc: use lib.cleanSource
...
Otherwise, running "nix-build" in the doc directory would create a
result symlink, so running "nix-build" again would produce a different
derivation, and so on forever, because the result symlink would keep
changing and wasn't ignored.
2021-02-12 08:59:27 -08:00
Daniël de Kok
933c2425d9
doc: fix syntax error in BLAS/LAPACK overlay example
...
Attribute-values pairs were not properly terminated by a semicolon.
2021-02-12 10:37:16 +01:00
Daniël de Kok
dbc8633daf
doc: describe cargoBuildHook and maturinBuildHook in the Rust section
2021-02-12 08:40:46 +01:00
github-actions[bot]
a480c1ebb1
Merge staging-next into staging
2021-02-11 18:16:52 +00:00
Alyssa Ross
1af73c223c
doc: fix XML syntax in Qt section
2021-02-11 13:58:32 +00:00
Daniël de Kok
198dd77635
doc: describe cargoSetupHook in the Rust section
2021-02-10 07:03:48 +01:00
github-actions[bot]
30dddce5e8
Merge master into staging-next
2021-02-09 06:16:02 +00:00
Martin Weinelt
e95bf38429
qt.section.md: fix xml syntax
2021-02-09 02:06:19 +01:00
Bernardo Meurer
6eb8979452
doc: remove mentions of flashplayer
2021-02-08 09:38:42 -08:00
github-actions[bot]
1c86cb40e9
Merge master into staging-next
2021-02-08 00:36:16 +00:00
Jan Tojnar
f53e0e28c3
doc: Add anchors to meta attributes
2021-02-07 23:11:41 +01:00
github-actions[bot]
2226996f6c
Merge master into staging-next
2021-02-07 18:16:08 +00:00
Doron Behar
c858d0f63a
Merge pull request #105492 from alunduil/assertOneOf-typo
2021-02-07 18:44:50 +02:00
github-actions[bot]
a93a3ec715
Merge staging-next into staging
2021-02-04 00:35:42 +00:00
Anderson Torres
a27a2c4b15
Merge pull request #110501 from neosimsim/agda-ghc-ieee754
...
agda.withPackages: use GHC with ieee754 as default
2021-02-03 15:55:37 -03:00
github-actions[bot]
e788d512e8
Merge staging-next into staging
2021-01-30 00:44:04 +00:00
Silvan Mosberger
aa48e205a2
Merge pull request #110787 from tfc/cartesian-product
...
lib/attrsets: add cartesianProductOfSets function
2021-01-29 20:22:12 +01:00
Jacek Galowicz
123045a570
lib/attrsets: add cartesianProductOfSets function
2021-01-28 23:08:59 +01:00