summaryrefslogtreecommitdiff
path: root/doc/hooks (follow)
Commit message (Expand)AuthorAgeFilesLines
* zig: 0.11 -> 0.12 (#306077)•••This upgrades the default version of zig to zig_0_12, which builds reproducibly on darwin. Fixes #299091. Also upgrades all packages compatible with zig 0.12 to that version. I tried to upgrade packages currently pinning 0.11 as well, but only a few worked. Co-authored-by: Weijia Wang (wegank) <contact@weijia.wang>Felix Uhl2024-05-021-2/+2
* treewide: Fix all Nix ASTs in all markdown files•••This allows for correct highlighting and maybe future automatic formatting. The AST was verified to work with nixfmt only. Janne Heß2024-03-283-22/+27
* fix: include reference and link to `outputMan`Yannik Sander2024-02-051-1/+1
* Merge pull request #283080 from marsam/postgresql-test-hook-settings•••postgresqlTestHook: add postgresqlExtraSettings variableMario Rodas2024-02-041-0/+1
|\
| * postgresqlTestHook: add postgresqlExtraSettings variable•••Add `postgresqlExtraSettings` to allow to setup the `postgresql.conf`. This would be useful in cases where we need to set `shared_preload_libraries`. Mario Rodas2024-01-221-0/+1
* | doc: clarify python.sitePackages•••Co-authored-by: Peder Bergebakken Sundt <pbsds@hotmail.com>Sandro2024-01-311-1/+1
* | treewide: replace `lib/${python.libPrefix}/site-packages` with its shorthand ...•••which should be always preferred Sandro Jäckel2024-01-301-1/+1
|/
* Merge master into staging-nextgithub-actions[bot]2023-11-142-4/+0
|\
| * docs/hooks/qt-4: remove•••was missed when qt4 was removed ajs1242023-11-142-4/+0
* | Merge staging-next into staginggithub-actions[bot]2023-11-101-1/+1
|\ \
| * | Merge master into staging-nextgithub-actions[bot]2023-11-101-1/+1
| |\|
| | * doc: avoid 'simply' (#266434)•••While the word 'simply' is usually added to encourage readers, it often has the opposite effect and may even appear condescending, especially when the reader runs into trouble trying to apply the suggestions from the documentation. It is almost always an improvement to simply drop the word from the sentence. (there are more possible improvements like this, we can apply those in separate PRs)Arnout Engelen2023-11-091-1/+1
* | | doc: update meson.section.mdAnderson Torres2023-10-301-25/+58
|/ /
* | doc: fix heading of mesonInstallTagsWeijia Wang2023-10-271-9/+5
* | meson: introduce mesonInstallTags•••Projects building with meson are currently installTargets. Map these to install tags, which are roughly equivalent. This allows projects to selectively install components. Julian Stecklina2023-10-231-0/+9
* | doc: fix heading levels of Meson hook documentation•••Fixes: 10f35ff05df1 ("meson.setupHook: prefer meson commands over ninja") Alyssa Ross2023-10-211-4/+4
* | meson.setupHook: prefer meson commands over ninja•••Meson now comes with its own set of commands for building, testing, installing etc., that by default wrap around Ninja. The reason to prefer using the Meson commands is that they take additional options (e.g. setting custom timeouts for tests — my motivation for this change). Here, I've modified the Meson setup hook so that Meson's test and install commands will be used instead of Ninja's when Meson's configurePhase is used. This restriction is to avoid starting to run Meson directly when dealing with custom build systems that wrap around Meson, like QEMU's. We don't use meson's compile command, as it just runs ninja, and that's handled fine by the existing Ninja setup hook. Naturally the Meson commands don't support entirely the same set of options that the Ninja ones did, but I checked through Nixpkgs to find any packages using Meson that used any options that wouldn't be picked up by this new system. I only found one, and it was just setting checkTarget = "test", which is the default value for Ninja and has no Meson equivalent (because we directly tell Meson to run the tests rather than going through a generic job system like Ninja). Link: https://github.com/NixOS/nixpkgs/issues/113829 Co-authored-by: Jan Tojnar <jtojnar@gmail.com> Alyssa Ross2023-10-092-3/+25
|/
* treewide: Fix typosPeder Bergebakken Sundt2023-09-281-1/+1
* doc: include short docs about bmakeAnderson Torres2023-09-222-0/+8
* doc/hooks/zig.section.md: rewrite•••- Normalize header IDs, in order to not cause conflicts with identically named headers in other docs. - Reorganize the hierarchy of information. Anderson Torres2023-09-101-8/+8
* doc/hooks/waf.section.md: rewrite•••- Normalize header IDs, in order to not cause conflicts with identically named headers in other docs. - Reorganize the hierarchy of information. Anderson Torres2023-09-101-21/+29
* doc/hooks/zig.section.md: reword•••- Refer to stdenv documentation instead of repeating it Anderson Torres2023-09-091-12/+16
* doc/hooks/waf.section.md: change wafHook to waf.hookAnderson Torres2023-08-261-6/+6
* Merge master into staging-nextgithub-actions[bot]2023-08-262-0/+25
|\
| * 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. Markus Kowalewski2023-08-222-0/+25
* | wafHook: fix missing header idMario Rodas2023-08-241-1/+1
* | wafHook: documentation•••A very comprehensive one! Anderson Torres2023-08-131-1/+48
|/
* treewide: use zig_0_11 instead of zig for zig packages•••Zig is still under active development, and new releases often introduce breaking changes. This makes updating the default version of zig easier. Some packages did not receive this change because they could be using the c compiler or linker of zig, which doesn't receive as much breaking changes compared to e.g. the zig std library. https://github.com/NixOS/nixpkgs/pull/248243#discussion_r1289401340 figsoda2023-08-101-2/+2
* zig.hook: rename from zigHook•••This makes using specific versions of zig easier (without overrides) figsoda2023-08-101-6/+6
* doc/hooks/index.md: add zig.section.md•••A somewhat short documentation about zigHook. Anderson Torres2023-08-012-0/+60
* 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. pennae2023-07-012-37/+33
* doc: make sure section depths are consecutive•••skipping heading levels (eg from # to ###, or starting at ###) is legal in pandoc, but not in nixos-render-docs. pandoc acts as though section levels *were* consecutive, nixos-render-docs prefers to tell people not to do that kind of thing because it can make documents more fragile. pennae2023-06-1023-52/+29
* nixos/manual: remove .title fenced divs•••pandoc drops .title classes when rendering to docbook, so these are effectively just paragraphs anyway. without support for including them in a table of contents the complexity of parsing them in nixos-render-docs won't be warranted. pennae2023-02-101-2/+0
* postgresqlTestHook: run postgresqlTestSetupPost hook after setting upNick Cao2023-01-251-0/+6
* doc: adapt to nativeCheckInputsGuillaume Girol2023-01-211-1/+1
* patchRcPathBash, patchRcPathCsh, patchRcPathFish, patchRcPathPosix: init•••Init patchRcPath hooks, which provides utilities to patch shell scripts to be sourced by users. Add test cases and documentation. Shamrock Lee2022-11-102-0/+51
* doc: Move non-stdenv hooks out of stdenv chapterRobert Hensing2022-10-1324-0/+184
* doc/postgresql-test-hook: Add exampleRobert Hensing2022-09-191-1/+1
* doc/hooks/index.xml: Fix typo and terminologyRobert Hensing2022-04-181-1/+1
* postgresqlTestHook: initRobert Hensing2022-04-162-0/+69