Commit graph

1490 commits

Author SHA1 Message Date
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
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
PerchunPak
7bd40e30ed
ags: init at 2.2.1 2025-02-04 15:06:56 +01:00
Alyssa Ross
35febc093c
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/by-name/ha/harper/package.nix
2025-01-28 13:29:32 +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
nixpkgs-ci[bot]
fe64053a45
Merge staging-next into staging 2025-01-20 06:05:33 +00:00
OTABI Tomoya
19b51c4d57
doc: Fix typo in python docs (extras_requires -> extras_require) (#375141) 2025-01-20 09:42:10 +09:00
Ihar Hrachyshka
ebc7c89271 doc: Fix typo in python docs (extras_requires -> extras_require) 2025-01-19 15:14:56 -05:00
nixpkgs-ci[bot]
57840d9056
Merge staging-next into staging 2025-01-18 00:14:16 +00:00
nixpkgs-ci[bot]
073155fd7b
Merge master into staging-next 2025-01-18 00:13:38 +00:00
Matthieu Coudron
9c73444257
doc/neovim: better document the wrappers (#373805)
* doc/neovim: better document the wrappers

there is new wrapper interface `wrapNeovimUnstable` in development intended to be
easier to use than the old `wrapNeovim`. It provides new fancy features that we would like to
leverage/advertise
The interface is not definitive yet so we provide a translation layer
to avoid breaking user configurations such that `wrapNeovim` still works.
This explains why we document both at the moment with the goal to remove
the old one once we ciment the interface.

* doc/neovim: explain what buildNeovimPlugin does
2025-01-17 17:03:13 -06:00
github-actions[bot]
3f9a94303c
Merge staging-next into staging 2025-01-13 00:16:12 +00:00
github-actions[bot]
55c6be8a58
Merge master into staging-next 2025-01-13 00:15:45 +00:00
Matthieu C.
3f2423e8a8 doc/neovim: move neovim to its own section
I wanted to add instructions on how to configure neovim via the new
wrapper but it was difficult mixing this with both the vim and old
wrapper.
Neovim differs enough from vim to warrant its own section IMO:
1. its wrapper is different (old wrapper close to vim's syntax, new one
   not so much)
2. treesitter is unique to neovim
3. the section about neovim plugins is unique to neovim as well. Not
   only that but it needs to expanded.

At some point the doc unique to vim is going to exceed vim's.
We can refer to vim's section to avoid duplication where it makes sense.
2025-01-12 23:33:32 +01:00
Yueh-Shun Li
8be69aee96 doc: python: elaborate the makeWrapperArgs behaviour 2025-01-09 18:36:39 +08:00
Yueh-Shun Li
1e8f39148a unittestCheckHook: handle unittestFlagsArray __structuredAttrs-agnostically
Take unittestFlags as the new and conforming interface.

Keep unittestFlagsArray as is.
2025-01-09 18:36:39 +08:00