Commit graph

1559 commits

Author SHA1 Message Date
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
nixpkgs-ci[bot] e4cf55554a
Merge e51f02babf into haskell-updates 2025-04-14 00:21:07 +00: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
Wolfgang Walther 9e296dcf84
Merge commit '3b48b2eb41f0bcd2c0551cd1c2457fdae806c7a3' into haskell-updates-merge-nixfmt 2025-04-05 14:19:34 +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
nixpkgs-ci[bot] 3765916d59
Merge 015baae019 into haskell-updates 2025-03-30 00:21:04 +00: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
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
sternenseemann 707440405d haskellPackages.Cabal_3_14_*: 3.14.1.0 -> 3.14.1.1 2025-01-08 19:30:09 +01:00
github-actions[bot] 61462a4004
Merge master into staging-next 2025-01-08 12:05:57 +00:00
FliegendeWurst cd2a21a070 doc/python: update versions 2025-01-07 22:06:20 +01:00
github-actions[bot] f371cdec06
Merge master into haskell-updates 2025-01-03 00:16:32 +00:00
github-actions[bot] 5d88e3a361
Merge staging-next into staging 2025-01-02 18:04:58 +00:00
Dimitar Nestorov b754b036e3 titaniumenv: remove 2025-01-02 15:05:26 +01:00
github-actions[bot] f6005e8fbd
Merge master into haskell-updates 2024-12-27 00:16:31 +00:00
sternenseemann 0bbb00e8ee haskellPackages: use Cabal 3.14.1.0 over 3.14.0.0 2024-12-26 15:41:54 +01:00
Adam C. Stephens 3bae66911f
erlang_24: remove as unmaintained 2024-12-26 08:45:59 -05:00
github-actions[bot] 05f26e10dd
Merge master into haskell-updates 2024-12-25 00:16:18 +00:00
Adam C. Stephens f19ecdeb7f
elixir: remove deprecated versions 1.10-1.13
These versions no longer receive security updates.
2024-12-24 10:40:00 -05:00
sternenseemann 62f33524eb Merge branch staging-next into haskell-updates 2024-12-21 03:26:33 +01:00
github-actions[bot] 6a83ff87ac
Merge master into staging-next 2024-12-19 00:15:19 +00:00
Yueh-Shun Li f75d1446d5
buildGoModule: Use the env attribute to pass environment variables (#359641) 2024-12-19 03:51:40 +08:00
github-actions[bot] dd1d7cff2b
Merge master into staging-next 2024-12-18 18:04:46 +00:00
Yueh-Shun Li 3b1ec755ca buildGoModule: instruct users to specify CGO_ENABLED as env.CGO_ENABLED
Tell users to specify environment variables via `env`.

Rename the `var-go-CGO_ENABLED` documentation title
from `CGO_ENABLED` to `env.CGO_ENABLED`
and move the paragraphs under the `ssec-go-environment`.
2024-12-18 23:20:17 +08:00
Yueh-Shun Li 905dc8d978 treewide: specify CGO_ENABLED with env.CGO_ENABLED
Programmatically prefixing "CGO_ENABLED =" and "CGO_ENABLED=0;" with
"env.", but excluding the files
* pkgs/build-support/go/module.nix (buildGoModule implementation)
* pkgs/development/compilers/go/* (the Go compiler)
* pkgs/build-support/docker/tarsum.nix (not using buildGoModule)
2024-12-18 23:19:56 +08:00
Matt Sturgeon bccae9e7c0 addNuGetDeps: support loading JSON lockfiles
In addition to loading nix lockfiles
2024-12-17 19:46:36 -03:00
Austin Horstman 678d7d4308
vim.section.md: fix typo 2024-12-16 20:06:49 -06:00
sternenseemann 1ad609120c Merge branch staging-next into haskell-updates 2024-12-14 18:36:42 +01:00
K900 81eb6d64ab Merge remote-tracking branch 'origin/master' into staging-next 2024-12-12 21:08:33 +03:00
Emery Hemingway eaff0725de buildNimSbom: init a new package builder for Nim
Ref: #327064
2024-12-12 09:57:05 +00:00
sternenseemann 06886d32c5 Merge branch staging-next into haskell-updates 2024-12-09 16:07:43 +01:00
K900 5ebe22ffe1 Merge remote-tracking branch 'origin/master' into staging-next 2024-12-09 09:42:51 +03:00
Arne Keller e4c9d406a0
doc/languages-frameworks/python: Reword section to make commit rules a bit clearer (#339643) 2024-12-09 06:53:44 +01:00
sternenseemann 95c179f9fb haskell.compiler.ghc94{5,6}: remove at 9.4.5 and 9.4.6, respectively
Both are affected by <https://gitlab.haskell.org/ghc/ghc/-/issues/23762>
which is now cropping up on our CI (for Cabal 3.14). I don't really see
why we absolutely have to keep them, so it seems just better overall to
use this as an excuse to remove them (after NixOS 24.11 branch off).
2024-12-07 21:34:41 +01:00
github-actions[bot] d5caa1b447
Merge master into haskell-updates 2024-12-06 00:17:55 +00:00
github-actions[bot] f8370cc147
Merge master into staging-next 2024-12-05 18:04:28 +00:00
David McFarland 6cb56c519a
doc/dotnet: bump .NET versions from 6, 7 to 8, 9 (#361243) 2024-12-05 09:49:33 -04:00
github-actions[bot] 944c1ac351
Merge staging-next into staging 2024-12-04 16:14:24 +00:00
Tom McLaughlin b69b526e6d julia.withPackages: add juliaCpuTarget option 2024-12-03 21:40:07 -08:00
Austin Horstman 6ebffd546a
neovim-require-check-hook: auto discover modules to require 2024-12-03 06:25:07 -06:00
Gutyina Gergő b433ca6065
doc/dotnet: bump .NET versions from 6, 7 to 8, 9 2024-12-02 23:41:19 +01:00