Commit Graph

33 Commits

Author SHA1 Message Date
Grimmauld
8a597f5ae6 checkPhaseThreadLimitHook: rename from openmpCheckPhaseHook, set more thread env vars 2026-07-10 00:46:58 +02:00
Grimmauld
71fbdd6512 doc/openmpCheckPhaseHook: init 2026-06-26 18:42:00 +02:00
Ross Smyth
3b8d94ca86 doc: Add pnpmBuildHook 2026-06-02 13:53:11 -04:00
dish
2643cf7817 doc: add section for writableTmpDirAsHomeHook 2026-05-24 12:17:12 -04:00
pancaek
cc5058278b doc/installFonts: init hook docs in manual 2026-04-14 23:06:54 +02:00
Pol Dellaiera
10fc5a6a4b doc: Document npmHooks and nodejs hooks (#487075) 2026-03-27 19:33:08 +00:00
Ross Smyth
240a7b8804 doc: Document nodejsInstallManuals 2026-02-19 14:16:28 -05:00
Ross Smyth
471dfbe96c doc: Add documentation on nodejsInstallExecutables 2026-02-19 14:16:28 -05:00
Ross Smyth
d76f3f1741 doc: Document npmHooks.npmInstallHook 2026-02-19 14:16:28 -05:00
Ross Smyth
987a91a627 doc: Add npmHooks.npmConfigHook to reference 2026-02-19 14:16:28 -05:00
Ross Smyth
41d8cf69e5 doc: Add documentation on npmHooks.npmBuildHook 2026-02-19 14:16:28 -05:00
Leah Amelia Chen
c68c6af86c libglycin: Add setup hook for patching Rust vendor directory
Glycin rust library searches `bwrap` on path. This would require every reverse dependency to add `bubblewrap` to its `PATH`, which would be quite annoying to ensure. Especially when libraries start using glycin.

We provide `passthru.glycinPathsPatch` to perform source-level hardcoding but that doesn't work with apps that use `rustPlatform.cargoSetupHook` since it assumes a setup where snapshots of GNOME sources already contain vendored Rust dependencies under `vendor/`.

The setup hook instead provides a much more flexible approach that uses the `$cargoDepsCopy` variable provided by `cargoSetupHook`, which points to the local, modifiable copy of Cargo dependencies, to patch `src/sandbox.rs` just like `glycinPathsPatch`. If `$cargoDepsCopy` is not found, then the old behavior is used where Cargo dependencies are assumed to be under `vendor/`.

Additionally, the patch requires modifying `Cargo.lock` when using `rustPlatform.fetchCargoVendor`. The setup hook fixes that as well.

Rust programs just need to add `libglycin.patchVendorHook` and it should take care of this.

Co-authored-by: Seth Flynn <getchoo@tuta.io>
Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
2026-01-18 19:06:50 +01:00
adam
155bcc6866 julec.hook: init
Co-authored-by: philiptaron <philip.taron@gmail.com>
2025-10-22 17:02:54 +02:00
Grimmauld
d3a197a33d doc/udevCheckHook: init 2025-05-29 10:15:33 +02:00
GGG
e2d963b9f6 docs/autoPatchcilHook: init 2025-04-10 10:06:57 -03: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
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
Peder Bergebakken Sundt
8cf439638d doc/hooks/desktop-file-utils: document hook (#341280) 2024-10-06 16:04:49 +02:00
seth
ec696bd85d doc: init tauri hook section 2024-09-30 20:13:14 -04:00
h7x4
a3626a459d doc/hooks/just: add documentation (#341871) 2024-09-17 08:14:22 +02:00
Peder Bergebakken Sundt
0bf16eb3ad doc/hooks/haredo: add documentation (#341886) 2024-09-16 01:44:20 +02:00
Tomodachi94
015b6667ef doc/hooks/premake: add documentation
Added by https://github.com/NixOS/nixpkgs/pull/51205

Part of #341479
2024-09-15 16:20:20 +02:00
Tomodachi94
6157b42ca7 doc/hooks/haredo: add documentation
Hook introduced in #269767 by @pbsds.

Part of #341479.
2024-09-14 10:33:41 -07:00
Tomodachi94
41b5974cb2 doc/hooks/just: add documentation
Introduced in #247147

Part of #341479
2024-09-14 09:09:34 -07:00
Tomo
94eeb71d25 doc/hooks/cernlib: document CERNLIB hook (#341691) 2024-09-14 01:26:40 -04:00
Tomodachi94
9baf2743ad doc/hooks/desktop-file-utils: document hook 2024-09-11 18:01:32 -07:00
Doron Behar
eb49fb355e versionCheckHook: init 2024-06-28 18:03:59 +03:00
ajs124
2b08a064e1 docs/hooks/qt-4: remove
was missed when qt4 was removed
2023-11-14 14:03:02 +01:00
Anderson Torres
c1b3bfba4f doc: include short docs about bmake 2023-09-22 01:38:23 -03:00
Markus Kowalewski
587a19e43c mpiCheckPhaseHook: add new setup hook for MPI aware check phases
Add this hook to checkPhase to allow for running MPI application in
the sandbox. It detects the MPI implementations and sets the respective
environment variables.
2023-08-22 23:27:47 +02:00
Anderson Torres
130d2fa5e5 doc/hooks/index.md: add zig.section.md
A somewhat short documentation about zigHook.
2023-08-01 10:08:55 +00:00
pennae
be4d19ff1a doc: render nixpkgs manual with nrd
also updates nixdoc to 2.3.0. the nixdoc update is not a separate commit
because that would leave the manual build broken for one commit,
potentially breaking bisects and rebases.
2023-07-01 20:59:29 +02:00