1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00
Commit graph

71 commits

Author SHA1 Message Date
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
Valentin Gagarin 1ceba9367c meson/setup-hook.sh: make build directory configurable 2024-10-21 12:11:35 -04:00
Bobby Rong 87063ab9d8
doc/tauri: Don't use alias in example
Fixes ccec93c1c7.
2024-10-14 20:54:20 +08:00
Lin Jian 7e72cc4e38
doc: fix typo 2024-10-11 09:22:13 +08: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
Anderson Torres 1fc77a5ce2 doc: rewrite installShellFiles 2024-08-28 19:56:12 -03:00
Stefan Frijters 259d274a52
doc: warn against zero-byte or missing shell completion files 2024-07-09 23:23:55 +02:00
Doron Behar eb49fb355e versionCheckHook: init 2024-06-28 18:03:59 +03:00
Alyssa Ross 67641d0589 wafHook: don't add cross compilation flags
These flags are not part of waf, they're custom flags that are not
widely implemented.  More packages are broken because of these flags
being added than actually recognise them.

Of the packages in Nixpkgs that directly depend on wafHook that we can
attempt to cross compile (i.e. all their dependencies cross compile),
5 already successfully cross compile and recognise these flags, 2
already successfully cross compile because they have been opted out of
these flags, 3 don't cross compile successfully for reasons unrelated
to these flags, and for the remaining 7, the only thing stopping them
cross compiling successfully is that they are being passed these flags
that they don't recognise.

All of the five successfully cross-compiling packages that do
recognise these flags are samba projects: ldb, talloc, tdb, tevent,
and samba4.  So this isn't a general waf convention, just a samba one.
It therefore doesn't make sense to set these flags by default.  They
should just be included in the expressions for each samba project,
like all the other quirks common to samba build systems.

This change fixes cross compilation of the following packages:

  blockhash ganv ndn-cxx mda_lv2 pflask raul saldl
2024-05-15 16:47:16 +02:00
Felix Uhl 4c704748b3
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>
2024-05-02 17:58:52 +00:00
Janne Heß fcc95ff817 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.
2024-03-28 09:28:12 +01:00
Yannik Sander ae9e8a4b83
fix: include reference and link to outputMan 2024-02-05 13:35:49 +01:00
Mario Rodas 1be8478d00
Merge pull request #283080 from marsam/postgresql-test-hook-settings
postgresqlTestHook: add postgresqlExtraSettings variable
2024-02-04 06:36:16 -05:00
Sandro 9cf8b8bab3
doc: clarify python.sitePackages
Co-authored-by: Peder Bergebakken Sundt <pbsds@hotmail.com>
2024-01-31 14:34:19 +01:00
Sandro Jäckel 653837881e
treewide: replace lib/${python.libPrefix}/site-packages with its shorthand ${python.sitePackages}
which should be always preferred
2024-01-30 19:56:57 +01:00
Mario Rodas 70b51d8d17 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`.
2024-01-22 04:20:00 +00:00
github-actions[bot] 6cc772a6fa
Merge master into staging-next 2023-11-14 18:01:11 +00:00
ajs124 2b08a064e1 docs/hooks/qt-4: remove
was missed when qt4 was removed
2023-11-14 14:03:02 +01:00
github-actions[bot] ff59322b65
Merge staging-next into staging 2023-11-10 00:02:49 +00:00
github-actions[bot] 3f616fad02
Merge master into staging-next 2023-11-10 00:02:22 +00:00
Arnout Engelen 97b0ae26f7
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)
2023-11-09 21:48:05 +01:00
Anderson Torres 54f864f5c5 doc: update meson.section.md 2023-10-30 16:32:56 -03:00
Weijia Wang 0fdb1ee374 doc: fix heading of mesonInstallTags 2023-10-27 16:59:43 +02:00
Julian Stecklina 36eff4f431 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.
2023-10-23 01:46:24 +02:00
Alyssa Ross 31ebe7b459 doc: fix heading levels of Meson hook documentation
Fixes: 10f35ff05d ("meson.setupHook: prefer meson commands over ninja")
2023-10-21 15:26:27 +00:00
Alyssa Ross 10f35ff05d 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>
2023-10-09 10:21:36 +00:00
Peder Bergebakken Sundt 470614b671 treewide: Fix typos 2023-09-28 19:06:13 +02:00
Anderson Torres c1b3bfba4f doc: include short docs about bmake 2023-09-22 01:38:23 -03:00