Commit Graph

1692 Commits

Author SHA1 Message Date
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
Wolfgang Walther
b660909f3c Merge commit '2a6f5e82097461c4adaa93b6e84672badbdd4460' into haskell-updates 2025-03-29 11:43:35 +01:00
adisbladis
6900384c1b doc/importNpmLock.buildNodeModules: Add note regarding package-lock-only
When using `buildNodeModules` to create `node_modules` commands like `npm install` & `npm add` that writes packages & executables needs to be used with `--package-lock-only`.
2025-03-28 11:12:15 +01:00
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
Thomas Miedema
5386852b57 haskell: document shellFor extraDependencies 2025-03-23 18:38:31 +01: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
nixpkgs-ci[bot]
c4b59f2f01 Merge 7296c7ff9a into haskell-updates 2025-03-19 00:18:57 +00:00
Heitor Augusto
4eabe80655 doc: add COSMIC section 2025-03-18 16:08:12 -03:00
nixpkgs-ci[bot]
6ad5407620 Merge 97cb30a656 into haskell-updates 2025-03-06 00:18:46 +00:00
Diogo Correia
151350089a doc: fix grammar in explanation of duneVersion in buildDunePackage 2025-02-28 18:01:23 +00:00
sternenseemann
12502a289b Merge commit e4dd0c7064 into haskell-updates 2025-02-24 18:52:02 +01: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
sternenseemann
d9bdd7128e Merge commit bbdc2b27 into haskell-updates 2025-02-20 12:05:07 +01:00
Kira Bruneau
e8f3f37aa6 doc: Improve gradle section (#380165) 2025-02-19 13:30:36 -05:00
nixpkgs-ci[bot]
b8a1cd2fb3 Merge 350c5970da into haskell-updates 2025-02-16 00:19:51 +00:00
Matt Sturgeon
39706cd65f doc: remove redundant fetchCargoVendor section
Was made redundant by 3e5b235146
2025-02-15 13:15:17 +01:00
Teo Camarasu
9f22e12dea haskellPackages.mkDerivation: Replace testTarget with testTargets
testTarget takes a space separated list of test suites to run. We itnroduce a new testTargets argument that instead takes a list, and add a backwards compatibility shim
2025-02-11 12:03:18 +00: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
nixpkgs-ci[bot]
3888b80b58 Merge affff94d36 into haskell-updates 2025-02-07 00:18:14 +00: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
nixpkgs-ci[bot]
ff8afbb98d Merge 4a3faa5e86 into haskell-updates 2025-01-29 00:17:24 +00: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]
157a92064e Merge 6a3dd6351f into haskell-updates 2025-01-21 00:17:28 +00: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]
c379c01390 Merge d60225cee0 into haskell-updates 2025-01-18 12:25:25 +00: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]
b81f25c3f7 Merge ebc074d89f into haskell-updates 2025-01-13 00:19:18 +00: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
Yueh-Shun Li
26f09762a8 pytestCheckHook: support __structuredAttrs
Add flag pytestFlags as the new, conforming interface
replacing pytestFlagsArray.

Stop Bash-expanding disabledTests and disabledTestPaths.

Handle disabledTestPaths with `pytest --ignore-glob <path>`
to keep globbing support.
Check if each path glob matches at least one path
using the `glob` module from the Python standard library.

Also make buildPythonPackage and buildPythonApplication
stop escaping the elements of disabledTests and disabledTestPaths.
2025-01-09 18:36:37 +08:00
github-actions[bot]
91ef85e171 Merge b7051feb30 into haskell-updates 2025-01-09 00:15:21 +00:00
sternenseemann
ad99400541 haskellPackages.ghc: 9.6.6 -> 9.8.4
This matches the update from Stackage LTS 22 -> 23 in 7ea7574c.

Regenerate the package set with compiler: ghc-9.8.3 passed to Cabal
using

  env \
    HACKAGE2NIX=/nix/store/57ivr7wj0bzgkgvgp6i1dsz5rbihy2an-cabal2nix-unstable-2024-12-31/bin/hackage2nix \
   bash ./maintainers/scripts/haskell/regenerate-hackage-packages.sh --fast

since cabal2nix-unstable doesn't build yet (I assume).
2025-01-08 19:30:09 +01:00