Commit graph

1504 commits

Author SHA1 Message Date
Aleksana
3ae011c15e
doc: remove useFetchCargoVendor (#402152) 2025-04-27 19:39:33 +08:00
Paul Meyer
bc04e642eb
doc/rl2505: mention addition of goSum to buildGoModule (#401225) 2025-04-27 10:56:41 +02:00
awwpotato
76c5b6cc00
doc: remove useFetchCargoVendor 2025-04-26 15:26:20 -07:00
NotAShelf
5761f0acc7
docs: update Go section after the addition of goSum attribute 2025-04-26 22:56:55 +03:00
Ihar Hrachyshka
8bf2436c01
doc/python: clarify `optional-dependencies' are only for explicit dep groups (#377049)
Some project may claim, in their README or otherwise, a particular library as
an optional dependency. But it doesn't make it one in the context of the
`optional-dependencies` derivation attribute.
2025-04-24 22:44:27 +02:00
Florian Klink
9979a56ae6
fetchYarnBerryDeps: init (#399404) 2025-04-24 08:57:37 +03:00
Wolfgang Walther
d3842f26e8
doc/build-support: replace substituteAll with replaceVars 2025-04-23 23:27:22 +02:00
Florian Klink
b25eeeb6d8 doc: document Yarn v3/v4 infrastructure
Move the existing `yarnConfigHook`, `yarnBuildHook` and
`yarnInstallHook` documentation below a Yarn v1 section.

Also move the documentation for the deprecated `yarn2nix` there, which
is Yarn v1 only.

Co-Authored-By: Yureka <yureka@cyberchaos.dev>
2025-04-23 17:25:20 +03:00
Pol Dellaiera
de90cecbae
doc/php: use buildComposerProject2 (#380989) 2025-04-22 20:17:17 +00:00
Pol Dellaiera
3218a4204f doc: do not reuse pname 2025-04-21 07:02:49 +02:00
Pol Dellaiera
ac04a5c492 doc: replace rev with tag 2025-04-21 07:02:49 +02:00
Pol Dellaiera
30eb01e120 doc: remove useless rec 2025-04-21 07:02:49 +02:00
Pol Dellaiera
b4515ff6c2 doc: use finalAttrs pattern 2025-04-21 07:02:49 +02:00
Pol Dellaiera
47f000d991 doc: add missing phase hooks 2025-04-21 07:02:49 +02:00
Pol Dellaiera
540ddbcf2f doc: use writableTmpDirAsHomeHook 2025-04-21 07:02:46 +02:00
Gongqi Huang
788fee2a09 doc/languages-frameworks/typst: Format Nix expressions 2025-04-17 15:09:36 -04:00
Pol Dellaiera
8a61921ea9
typst: add initial support for typst packages (#369283) 2025-04-17 09:43:04 +00: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
Wolfgang Walther
347480995b
doc/neovim: fix some gaps (#398345) 2025-04-13 17:22:40 +00:00
Wolfgang Walther
33afcf8ca0
doc/neovim: fix some gaps 2025-04-13 14:15:27 +02:00
nixpkgs-ci[bot]
bd8d4dc802
Merge master into staging-next 2025-04-13 00:41:08 +00:00
Martin Weinelt
8e93fb0f32
python39: drop before the 25.05 branch-off
End of security support is scheduled for 2025-10-31, which does not cover
the complete 25.05 release cycle.
2025-04-13 01:26:42 +02:00
K900
f42e00d66e Merge remote-tracking branch 'origin/master' into staging-next 2025-04-08 10:29:26 +03:00
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
K900
b3146d4446 Merge remote-tracking branch 'origin/master' into staging-next 2025-04-07 21:21:10 +03:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
Gongqi Huang
6b1d9846e9 doc/languages-frameworks/typst: Add doc for typst env and packages 2025-04-06 09:02:04 +02:00
nixpkgs-ci[bot]
e739bdf527
Merge staging-next into staging 2025-04-03 18:05:52 +00:00
Michael Raitza
ba8b602211 factor: Restructure package for easier extension 2025-04-03 16:33:05 +02:00
K900
92e17913a7 Merge remote-tracking branch 'origin/staging-next' into staging 2025-03-29 21:07:19 +03:00
Morgan Jones
81ac8a7666 androidenv: support 5 years of Android APIs with images; test 10 without
Cut down on the number of system images that need to be fetched by just
supporting packages from the last 5 years. Still test the last 10 years
of APIs without images.
2025-03-29 22:13:03 +05:30
Morgan Jones
b757ce39d6 androidenv: support minPlatformVersion and maxPlatformVersion
With the release of Android API 36, it was getting rather annoying to
need to keep these updated. Allow just specifying the min and max
instead.
2025-03-29 22:13:03 +05:30
Morgan Jones
11dce5a28d doc: clarify how if-supported works 2025-03-29 22:13:03 +05:30
Morgan Jones
239551ec83 doc: update androidenv docs 2025-03-29 22:13:03 +05:30
nixpkgs-ci[bot]
3f8948732b
Merge staging-next into staging 2025-03-27 18:05:35 +00:00
Matthieu C.
3e6edb83dd vimPlugins: rename nvimSkipModule into nvimSkipModules
It's confusing to have a polymorphic behavior for nvimSkipModule and it
is an implementation detail.
Let's not force ourselves to keep supporting both types and just support
lists, which imply plural in nixpkgs (e.g. "lib.optional" vs "lib.optionals").

Support and showcase just the list format to avoid confusion.
2025-03-27 16:34:28 +01:00
K900
aca918e668 Merge remote-tracking branch 'origin/staging-next' into staging 2025-03-25 21:06:52 +03:00
Austin Horstman
cb00c3ba6c
vimUtils: move to utils directory
Add some organization
2025-03-25 08:34:01 -05:00
Yueh-Shun Li
d3a452aeec
pytestCheckHook: support inclusion and exclusion of path globs, test items, keywords, and markers (#386513) 2025-03-24 07:15:58 +08:00
Yueh-Shun Li
bb76d74632 doc: python.section.md: partial rewrites for pytest and pytestCheckHook
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-03-23 23:51:17 +08:00
Wolfgang Walther
88dfade94b
postgresql: replace pg_config with custom script
By replacing upstream's pg_config binary with a shell script, we:
- gain the ability to run pg_config easily when cross-compiling,
- can remove the fake pg_config in the default output,
- can remove the pg_config wrapper script dealing with special cases.

Some 20 years ago, pg_config *was* a shell script upstream, too. It was
changed to a binary, when it was made "relocatable", so it would return
paths depending on the location of the "postgres" binary. However, this
is exactly the thing that just hurts us in nixpkgs - we don't want those
paths to change, we want them to always point at the right outputs. By
writing the script ourselves, this becomes a lot less painful.

This approach means more lines of codes, but all of them are dead simple
and we have a lot less complexity overall.

Additionally, pg_config is now made a separate derivation, only exposed
as "postgresql.pg_config". This has the nice side-effect, that all users
of postgresql and libpq in nixpkgs must be very *explicit* about their
dependency on pg_config. This gives a lot more visibility into the state
of affairs regarding pkg-config support for libpq, which ultimately is
the much better solution.
2025-03-21 18:05:38 +01:00
Heitor Augusto
4eabe80655
doc: add COSMIC section 2025-03-18 16:08:12 -03:00
Diogo Correia
151350089a
doc: fix grammar in explanation of duneVersion in buildDunePackage 2025-02-28 18:01:23 +00:00
Peder Bergebakken Sundt
d525eb5838 treewide: fix typos
done with `fd \\\.md$ . --type f -x typos --write-changes`
2025-02-22 02:02:07 +01:00
Kira Bruneau
e8f3f37aa6
doc: Improve gradle section (#380165) 2025-02-19 13:30:36 -05:00
Matt Sturgeon
39706cd65f doc: remove redundant fetchCargoVendor section
Was made redundant by 3e5b235146
2025-02-15 13:15:17 +01:00
Piotr Kwiecinski
4a0453277b
doc/php: use buildComposerProject2 2025-02-10 21:44:02 +01:00
Gerg-L
7cf1e81bf1
doc: Improve gradle section 2025-02-08 22:26:41 -05:00
K900
af55d5afc2 Merge remote-tracking branch 'origin/master' into staging-next 2025-02-05 09:44:25 +03:00