Commit Graph

106 Commits

Author SHA1 Message Date
K900
92c54de171 Merge remote-tracking branch 'origin/staging-next' into staging 2025-08-28 12:55:20 +03:00
Ben Siraphob
cc5b731ed3 doc: fix typos 2025-08-27 11:46:26 -07:00
John Ericson
a53b47202e installShellFiles: Allow installManPage to take a piped input (#428382) 2025-08-22 11:26:19 -04:00
Ross Smyth
49059b8bb8 docs: Allow installManPage to take a piped input 2025-08-12 21:56:40 -04:00
Ross Smyth
c2f9c14b9d docs: Update installShellFiles docs for Nushell completions 2025-08-04 11:59:44 -04:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Wolfgang Walther
62fe016519 treewide: run treefmt with mdcr/nixfmt 2025-07-24 13:52:31 +02:00
Alyssa Ross
bb73d9a0ce meson: support enableParallelChecking
This is backwards compatible, because enableParallelChecking is set by
default by stdenv if enableParallelBuilding is.
2025-07-04 11:01:59 +02:00
K900
5100da95a6 Merge remote-tracking branch 'origin/staging-next' into staging 2025-06-17 21:34:30 +03:00
nixpkgs-ci[bot]
2dfb45bdb7 Merge master into staging-next 2025-06-17 06:05:57 +00:00
aleksana
b0c8f2be7d doc/installShellFiles: describe fifo more accurately 2025-06-16 20:14:59 +08:00
Benjamin Sparks
651abd9307 doc: versionCheckProgram first defaults to $outputBin/bin/$NIX_MAIN_PROGRAM 2025-06-15 19:05:44 +02:00
Defelo
23bd27a21c versionCheckHook: add versionCheckKeepEnvironment parameter
This replaces the `versionCheckDontIgnoreEnvironment` parameter. Keeping
all environment variables is still possible by using
`versionCheckKeepEnvironment = "*";`.
2025-06-01 19:38:33 +02:00
Grimmauld
d3a197a33d doc/udevCheckHook: init 2025-05-29 10:15:33 +02:00
TomaSajt
0605191248 doc/tauri: fix example, make openssl linux-only 2025-05-17 00:59:47 +02:00
Kalle Ahlström
bedc1f26c3 doc/tauri: move wrapGAppsHook4 to only be included in linux builds 2025-05-16 10:20:40 +02:00
awwpotato
2cf25e711c Revert "installShellFiles: add emulator doc for installShellCompletion"
This reverts commit 149a6e0a91.

See discussion in https://github.com/NixOS/nixpkgs/issues/308283 for
more details on why this isn't something we want to suggest.
2025-05-14 14:54:31 -04:00
Sandro
99dd92d76f ctestCheckHook: init, {pdal,gifticlib,zynaddsubfx}: migrate to ctestCheckHook (#379426) 2025-05-09 16:47:09 +02:00
awwpotato
76c5b6cc00 doc: remove useFetchCargoVendor 2025-04-26 15:26:20 -07:00
Sergei Zimmerman
00b1aef96b ctestCheckHook: init
Motivation for this hook is simple: there's no single documented
way to do trivial things with ctest:

1. Pass additional flags to ctest invocation.
2. Selectively disable tests in a mechanism similar to python's
   `disabledTests` or rust's composable skips in `checkFlags`.
3. Disable parallel checking.

Current state of things has lead to several different solutions:

1. Completely overriding `checkPhase` [1] and invoking ctest manually
   with the necessary flags. This is most often coupled with `-E` for
   disabling test or setting parallel level.
2. Wrangling with weird double string/regex escaping and trying to stuff
   additional parameters and/or exclusion regex via `CMAKE_CTEST_ARGUMENTS`.
   This approach is especially painful when test names have spaces. This is
   the reason I originally decided to implement this hook after wrangling with
   failing darwin tests here [2].
3. Stuffing additional arguments into `checkFlagsArray` with the
   `ARGS` makefile parameter [3].

I don't see any reason to keep the status-quo. Doing something along these
lines has been suggested [4] for both `ctest` and `meson`. Meson setup-hook
has switched from `ninja` to `meson` in [5] with little friction. Doing
the same for cmake in a single sweep would prove problematic due to the
aforementioned zoo of workarounds and hacks for `ctest`. Doing it via
a separate hook would allow us to refactor things piecemeal and without
going through staging. The benefit of the hook is immediately clear and it
would allow to drive the refactor tractor at a comfortable pace.

[1]: pd/pdal/package.nix:117, cc/ccache/package.nix:108, gl/glog/package.nix:79
[2]: https://www.github.com/NixOS/nixpkgs/pull/375955
[3]: op/open62541/package.nix:114
[4]: https://www.github.com/NixOS/nixpkgs/issues/113829
[5]: https://www.github.com/NixOS/nixpkgs/pull/213845
2025-04-26 16:48:53 +00:00
Pol Dellaiera
b4515ff6c2 doc: use finalAttrs pattern 2025-04-21 07:02:49 +02:00
Pol Dellaiera
bcea0cf344 doc: update Nix code snippets format
Command: `mdcr --config doc/tests/mdcr-config.toml doc/`
2025-04-17 01:30:34 +02:00
Pol Dellaiera
5d979e79ce doc: fix various nix snippets 2025-04-17 01:30:34 +02:00
David McFarland
0159ddabe6 dotnet: implement autoPatchcilHook (#373107) 2025-04-16 09:20:39 -03:00
GGG
e2d963b9f6 docs/autoPatchcilHook: init 2025-04-10 10:06:57 -03:00
Dmitry Kalinkin
1da8df70f6 waf: make executable runnable (#388010) 2025-03-27 12:42:10 -04:00
nixpkgs-ci[bot]
a9379697ea Merge staging-next into staging 2025-03-22 18:05:14 +00:00
ZHAO Jin-Xiang
149a6e0a91 installShellFiles: add emulator doc for installShellCompletion 2025-03-16 23:57:39 +08:00
Olivér Falvai
74c386d399 memcachedTestHook: init 2025-03-12 19:29:34 +01:00
Olivér Falvai
aa01fb4e17 redisTestHook: init 2025-03-12 18:52:35 +01:00
Alyssa Ross
3e5b235146 doc: recommend fetchCargoVendor
Cargo 1.84.0 broke fetchCargoTarball hashes, so fetchCargoTarball is
not long for this world.  Tell people to use fetchCargoVendor, which
Nixpkgs is currently in the process of switching to across the tree.
2025-01-28 11:52:55 +01:00
Seth Flynn
d73ab2f142 doc: emphasize trade-off between versionCheckHook and testers.testVersion (#344321) 2025-01-27 00:44:44 -05:00
Peder Bergebakken Sundt
4762d9ba6e doc: emphasize trade-off between versionCheckHook and testers.testVersion 2025-01-26 17:11:00 +01:00
Jörg Thalheim
3e81636c90 docs/breakpointHook: simplify instructions 2025-01-05 14:36:05 +01:00
seth
ed6c067f25 doc/tauri: use tauri 2.0 dependencies & new darwin SDK pattern in example (#357148)
* doc/tauri: use tauri 2.0 dependencies in example

* doc/tauri: use new darwin SDK pattern in example

Part of https://github.com/NixOS/nixpkgs/issues/354146
2024-12-04 00:31:45 -05:00
github-actions[bot]
00b1e226f7 Merge master into staging-next 2024-11-12 06:05:05 +00:00
Sefa Eyeoglu
86d9f7ed0d doc/tauri: stdenv.is* -> stdenv.hostPlatform.is*
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-11-11 20:23:49 +01:00
github-actions[bot]
24e5e7f5fc Merge master into staging-next 2024-11-10 06:04:29 +00:00
Tomodachi94
27a103786c doc/hooks/aws-c-common: init (#351394) 2024-11-09 20:30:59 -08:00
Tomo
176eb0a3d9 doc/hooks/aws-c-common: init
Part of #341479
2024-11-10 02:39:27 +00:00
github-actions[bot]
670be3a8ed Merge staging-next into staging 2024-11-01 06:05:13 +00:00
Aleksana
3ef9175dad doc/hooks/xfce4-dev-tools: document hook (#351512) 2024-11-01 11:01:31 +08:00
Tomo
1eeac53329 doc/hooks/xfce4-dev-tools: document hook
Part of #341479

Related: https://github.com/orgs/NixOS/projects/67/views/1?pane=issue&itemId=84912848
2024-10-31 21:48:26 +00:00
github-actions[bot]
8ef263c335 Merge staging-next into staging 2024-10-31 06:05:30 +00:00
github-actions[bot]
4f5d1a2355 Merge master into staging-next 2024-10-31 06:05:03 +00:00
Tomo
5dc0f222b4 doc/hooks/just: fix link
Related:
https://github.com/casey/just/issues/2368
2024-10-24 07:01:14 +00:00
github-actions[bot]
5d3d06d621 Merge staging-next into staging 2024-10-22 06:05:27 +00:00
Fabián Heredia Montiel
1b7dd985dc Merge remote-tracking branch 'origin/master' into staging-next 2024-10-21 19:17:30 -06:00
John Ericson
53c11b7bb7 meson/setup-hook.sh: make build directory configurable (#342868) 2024-10-21 17:31:27 -04:00
John Ericson
1e30137109 doc: Improve CMake setup hook docs, following Meson's
See also #342868
2024-10-21 12:22:10 -04:00