Commit graph

1703 commits

Author SHA1 Message Date
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
Tomodachi94 d3f007d039
buildMavenPackage: Add overrideMavenAttrs function and buildOffline documentation (#313152) 2024-11-27 01:11:47 -08:00
Wolfgang Walther af10dd2014
lib/customisation: remove overrideScope'
Let's follow through on the comment.
2024-11-24 21:09:32 +01:00
Thibault Gagnaux cbb3cec851
doc/maven: document how to override maven attrs
and offline build usage.
2024-11-23 15:41:16 +01:00
Matthieu Coudron d6c5afdca4
pluginupdate.py: add support for adding/updating individual plugins (#336137) 2024-11-21 20:26:17 +01:00
Aleksana 0ecc88f77d
buildGoPackage: remove (#349478) 2024-11-19 22:41:50 +08:00
Paul Meyer 2ac1f685b6 docs: update Go section after buildGoPackage removal
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-11-18 14:36:08 +01:00
Wolfgang Walther 1dd9c32b18
docs: remove references before 22.11
Stuff that has been in for many years doesn't need to be mentioned
explicitly anymore.
2024-11-17 12:51:09 +01:00
Wolfgang Walther 54aee07891
docs/dotnet.section.md: fix accidentally localized example output 2024-11-17 11:32:03 +01:00
Masum Reza 76e7cb3fac
rustPlatform.fetchCargoVendor: init (#349360) 2024-11-16 09:30:53 +05:30
TomaSajt 66855adbbf
docs: mention fetchCargoVendor 2024-11-15 13:09:16 +01:00
PerchunPak ecee72e247
pluginupdate.py: add support for adding/updating individual plugins 2024-11-10 01:42:51 +01:00
Martin Weinelt 46b1474255 Reapply "haskellPackages: update stackage and hackage" (#354547)
This reverts commit 7701a9e6c6, reversing
changes made to 8991dc8e9d.

Restore haskell-updates on staging-next to save resources on hydra.
2024-11-08 18:42:24 +01:00
Martin Weinelt 2900723943
Merge remote-tracking branch 'origin/master' into staging-next 2024-11-08 18:40:48 +01:00
Vladimír Čunát fe6d94b8f9
Revert "haskellPackages: update stackage and hackage" 2024-11-08 18:36:29 +01:00
K900 c8aec3b28a qt: editing pass on docs 2024-11-07 21:57:17 +02:00
rewine 98774a34c8 doc/qt: Mention propagates and wrapQtAppsNoGuiHook
Co-authored-by: eclairevoyant <contactmeongithubinstead@proton.me>
Co-authored-by: Artturin <Artturin@artturin.com>
2024-11-07 21:57:17 +02:00
K900 a3600c0788 Merge remote-tracking branch 'origin/master' into staging-next 2024-11-07 21:06:37 +03:00
github-actions[bot] a759676266
Merge master into haskell-updates 2024-11-07 00:16:21 +00:00
github-actions[bot] 91a300acbd
Merge staging-next into staging 2024-11-07 00:14:40 +00:00
jopejoe1 b0fecbaa2c
docs: rust: Improve wording about adding Cargo.lock to src (#340287) 2024-11-07 00:44:16 +01:00
github-actions[bot] 57af37a3be
Merge master into haskell-updates 2024-11-04 00:17:26 +00:00
github-actions[bot] bee49bdce0
Merge staging-next into staging 2024-11-03 18:04:43 +00:00
Philip Taron e50c6cab11
treewide: fix links to specifications.freedesktop.org (#350918) 2024-11-03 09:06:56 -08:00
sternenseemann b5ee541524 doc/haskell: update default GHC version 2024-11-03 12:29:33 +01:00
K900 46a1f3aa58 Merge remote-tracking branch 'origin/staging-next' into staging 2024-11-03 11:04:59 +03:00
Tomo c0d9ad3ec4 doc/languages-frameworks/java: remove reference to oraclejdk
About to be removed, and this doesn't look true anymore.
2024-11-02 21:10:32 +00:00
github-actions[bot] 5605fc7044
Merge staging-next into staging 2024-11-02 00:14:22 +00:00
maralorn 51031f223c
haskellPackages.mkDerivation: Add support for sourceRoot and setSourceRoot arguments (#351226) 2024-11-01 23:29:42 +01:00
github-actions[bot] e14978f992
Merge staging-next into staging 2024-10-31 00:15:18 +00:00
github-actions[bot] c89d3d9070
Merge master into staging-next 2024-10-31 00:14:46 +00:00
Rafael Fernández López 0af55cfcbe docs: update docker and podman anchor on CUDA section 2024-10-30 13:45:50 +01:00
github-actions[bot] b67a45959d
Merge staging-next into staging 2024-10-27 00:16:01 +00:00
K900 f21f4ca3ee Merge remote-tracking branch 'origin/master' into staging-next 2024-10-26 21:05:47 +03:00
Francesco Gazzetta 3000459155 doc: Add Tcl doc 2024-10-26 16:23:15 +00:00
Rebecca Turner ff9e35236c
haskell.mkDerivation: Support sourceRoot, setSourceRoot
Allow setting `sourceRoot` and `setSourceRoot` in the arguments to
`haskellPackages.mkDerivation`. These arguments are passed directly to
`stdenv.mkDerivation`.

It may be worth reading over `pkgs/stdenv/generic/setup.sh` and checking
if there's other unsupported variables which may be useful. It may also
be worth adding an argument like `extraAttrs` to be passed to
`stdenv.mkDerivation` directly, as an escape hatch.
2024-10-25 09:41:50 -07:00
K900 720d475962 Merge branch 'staging-next' into staging 2024-10-25 07:59:31 +03:00
Fabián Heredia Montiel da7fb8d0ef Merge remote-tracking branch 'origin/master' into staging-next 2024-10-24 17:53:05 -06:00
Pyrox 09cec0f560
pnpm.fetchDeps: pnpmWorkspace -> pnpmWorkspaces 2024-10-24 15:37:30 -04:00
Victor Duarte f2b58efde4 fix links to specifications.freedesktop.org 2024-10-24 13:00:55 +02:00
github-actions[bot] e14936ef02
Merge staging-next into staging 2024-10-22 18:05:05 +00:00
Fabián Heredia Montiel fdc64cfee0 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-22 09:14:28 -06:00
Austin Horstman eaadc9e24b
docs/vim.section.md: Add note about nvimRequireCheck (#349864)
We are trying to use this more often but, at the moment, it's a manual
addition to overrides.nix. Add notes about the benefits of adding it and
how it can help identify missing dependencies.
2024-10-22 10:16:11 +02:00
github-actions[bot] 6a08749f82
Merge staging-next into staging 2024-10-22 00:14:47 +00:00
sternenseemann 9ddc3313c8
haskellPackages: update hackage and stackage (#346720) 2024-10-21 22:10:48 +02:00
github-actions[bot] 857254fd4a
Merge master into haskell-updates 2024-10-20 00:18:04 +00:00
github-actions[bot] 303c125bf0
Merge staging-next into staging 2024-10-19 18:04:20 +00:00
K900 2ab7280fa2 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-19 15:07:50 +03:00
Tomo e4248a8398 doc/languages-frameworks/gnome: update Qt package example
Part of #180841

Updated the existing example to reflect changes from a later version of
the same package:
b293f6561e/pkgs/applications/misc/calibre/default.nix

Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
2024-10-19 04:02:45 +00:00
sternenseemann cd3949a15c haskellPackages.Cabal_3_6_3_0: remove at 3.6.3.0 2024-10-17 15:48:55 +02:00
Martin Weinelt 8044c0cc0a
python314: init at 3.14.0a1
https://docs.python.org/3.14/whatsnew/changelog.html#python-3-14-0-alpha-1
2024-10-16 03:42:47 +02:00
Vladimír Čunát 8810e738c8
GNOME: 46 → 47 (#333911) 2024-10-15 18:07:04 +02:00
Someone c6a5917666
docs: update the CUDA section with how to use the nvidia-container-toolkit (#344188) 2024-10-14 20:00:21 +00:00
Bobby Rong c0a9799ad1
tinysparql: Renamed from tracker
The project renamed in 3.8.

This commit is done by hand.
2024-10-14 20:54:11 +08:00
Artturin f678d0b777
treewide: replace stdenv.is in non nix files (#344342) 2024-10-09 18:17:34 +03:00
Kirill Radzikhovskyy d04c244c09 python3Packages.mkPythonEditablePackage: correct documentation 2024-10-07 13:39:29 +11:00
github-actions[bot] 2eb05ff3a1
Merge master into haskell-updates 2024-10-02 00:16:14 +00:00
Robert Schütz 46bb7c84ac nodePackages.bower2nix: drop 2024-10-01 16:23:59 -07:00
github-actions[bot] 7b0a6891dd
Merge master into haskell-updates 2024-09-30 00:16:54 +00:00
lelgenio ab4dc6ca78 doc/javascript: fix example usage of yarn hooks 2024-09-28 20:07:11 -03:00
Artturin 8f3e655750 doc/python: correct platform conditional 2024-09-27 19:07:45 +03:00
Artturin 40799fc06d treewide: replace stdenv.is in non nix files
Continuing e0464e4788
2024-09-27 19:07:45 +03:00
Rafael Fernández López 7115576407 docs: update the CUDA section with how to use the nvidia-container-toolkit
This part of the manual explains how to use the
`nvidia-container-toolkit` in order to expose GPU's both for Docker
and Podman, as well as for a `docker-compose` environment.
2024-09-24 13:03:13 +02:00
github-actions[bot] b6b063bdc2
Merge master into haskell-updates 2024-09-24 00:16:10 +00:00
Rodney Lorrimar e2d259ebc0 pkgs.haskell.lib: Add disableParallelBuilding function 2024-09-23 11:36:24 +02:00
Vincent Laporte 94d0d22817
ocamlPackages.elpi: use release tarball (#343266)
coqPackages.metaFetch: Adding a github artifact option

Co-authored-by: Cyril Cohen <cohen@crans.org>
2024-09-23 09:52:07 +02:00
David McFarland 1b7f8c9165
dotnet: infrastructure improvements (#336824) 2024-09-17 11:42:45 -03:00
nicoo 274206a1f1 doc/maven: fakeSha256fakeHash 2024-09-17 10:47:31 +02:00
nicoo 633f94fa4a doc/coq: sha256hash 2024-09-17 10:47:31 +02:00
David McFarland d8bd63a129 doc/languages-frameworks/dotnet: improve documenation of fetch-deps 2024-09-17 01:14:28 -03:00
adisbladis 3fd64819c1
python3Packages.mkPythonEditablePackage: init (#339228) 2024-09-12 09:35:13 +12:00
github-actions[bot] 92d531057e
Merge master into staging-next 2024-09-09 06:05:06 +00:00
Daniel Nagy 8fdcf6d1c1
doc: add gradle language section 2024-09-08 18:30:00 +02:00
adisbladis de1fdc9fe0 python3Packages.mkPythonEditablePackage: init 2024-09-08 17:13:21 +12:00
github-actions[bot] de15243c9a
Merge master into staging-next 2024-09-07 12:04:51 +00:00
David McFarland 13a975148a
dotnet: add override mechanism for nuget packages (#339953) 2024-09-07 09:00:01 -03:00
github-actions[bot] 319af78438
Merge master into staging-next 2024-09-07 06:04:15 +00:00
Philip Taron 29cca09041
rustPlatform.fetchCargoTarball: support pname+version (#332975) 2024-09-06 23:00:21 -07:00
Johannes Kirschbauer 71f01ce1fc
Doc/importNpmLock: general improvements (#340019)
Co-authored-by: Valentin Gagarin <valentin@gagarin.work>
2024-09-07 07:59:02 +02:00
éclairevoyant 5c38beb516
doc/rust: prefer pname+version over name in fetchCargoTarball 2024-09-07 01:10:01 -04:00
Daniel Baker 3275f1af7d docs: rust: Improve wording about adding Cargo.lock to src
Improved the wording about adding the Cargo.lock file to src. It was not
clear when this operation was necessary.
2024-09-06 12:26:47 -07:00
David McFarland cc9c59c478 buildDotnetModule: use individual dependencies for nugetDeps 2024-09-06 16:05:19 -03:00
Gavin John 00a43d7d03
doc/languages-frameworks/python: update references to python 3.12 2024-09-04 19:52:52 -07:00
Gavin John 3e2e5daab4
doc/languages-frameworks/python: Reword section to make commit rules a bit clearer 2024-09-04 19:52:24 -07:00
github-actions[bot] 74cdd9c9b1
Merge master into staging-next 2024-09-05 00:13:11 +00:00
lelgenio 7783e118af yarnInstallHook: init 2024-09-04 11:15:47 -03:00
github-actions[bot] ce19166255
Merge master into staging-next 2024-09-02 18:04:19 +00:00
David McFarland 7bc85af0c5
buildDotnetModule: add testFilters arg (#336571) 2024-09-02 07:09:06 -07:00
github-actions[bot] 0cfb8626ee
Merge staging-next into staging 2024-09-01 06:05:31 +00:00
adisbladis 74eefb4210
doc/languages-frameworks/python: fix typos (#322267) 2024-09-01 15:35:33 +12:00
Colin d6de00150e doc/languages-frameworks/python: fix typos 2024-09-01 00:41:03 +00:00
github-actions[bot] 4544f25eb8
Merge staging-next into staging 2024-08-30 06:04:59 +00:00
github-actions[bot] b9ec6f58ab
Merge master into staging-next 2024-08-30 06:04:29 +00:00
adisbladis 93ff3f6b76 python3Packages.psycopg2-binary: Fix pname spelling 2024-08-30 15:25:36 +12:00
Robert Schütz c3925f7268
mkPythonMetaPackage: init meta package function (and psycopg2-binary) (#337621) 2024-08-29 17:30:11 -07:00
adisbladis d3e7844bbc python3Packages.psycopg2-binary: init at 2.9.9
Pscycopg2-binary is normally used in Python development to avoid having to build psycopg2 from source.
In nixpkgs we always want ot build from source whenever possible, but it can still be useful to provide a psycopg2-binary package.

This "fake" package exists to satisfy a dependency on psycopg2-binary, but still use the build from psycopg2.

cc @misuzu https://github.com/nix-community/pyproject.nix/issues/143
2024-08-30 11:05:29 +12:00
github-actions[bot] eacf5283f3
Merge staging-next into staging 2024-08-29 18:04:46 +00:00
github-actions[bot] d83e365b06
Merge master into staging-next 2024-08-29 18:04:21 +00:00
adisbladis 9c7ff7277c
importNpmLock.buildNodeModules: init
`importNpmLock.buildNodeModules` returns a derivation with a pre-built `node_modules` directory, as imported by `importNpmLock`.
This is to be used together with `importNpmLock.hooks.linkNodeModulesHook` to facilitate `nix-shell`/`nix develop` based development workflows:

```nix
pkgs.mkShell {
  packages = [
    importNpmLock.hooks.linkNodeModulesHook
    nodejs
  ];

  npmDeps = importNpmLock.buildNodeModules {
    npmRoot = ./.;
    inherit nodejs;
  };
}
```
will create a development shell where a `node_modules` directory is created & packages symlinked to the Nix store when activated.

This code is adapted from https://github.com/adisbladis/buildNodeModules
2024-08-29 06:12:07 -07:00
adisbladis 8cd58c7e14 python3Packages.mkPythonMetaPackage: init
This function exists create a meta package containing [metadata files](https://packaging.python.org/en/latest/specifications/recording-installed-packages/) to satisfy a dependency on a package, without it actually having been installed into the environment.
2024-08-30 00:24:31 +12:00
Wolfgang Walther 050689db30
treewide: fix pg_config / postgresql headers moved to dev output
This was supposed to happen in #294504, but the commit was accidentally
left out when splitting off some libpq-related changes. Originated in
#179962, by Sandro.

Co-authored-by: Sandro Jäckel <sandro.jaeckel@gmail.com>
Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2024-08-24 15:44:10 +02:00
Matt Sturgeon 1c379e3a57
buildDotnetModule: add testFilters arg
In addition to the existing `disabledTests`, allow defining more general
test filters using `testFilters`.
2024-08-22 19:52:07 +01:00
K900 5c68540f8b Merge remote-tracking branch 'origin/staging-next' into staging 2024-08-22 13:20:38 +03:00
Vladimír Čunát 51091a9b32
Merge #319558: ruby: make 3.3 the default
...into staging
2024-08-22 11:00:51 +02:00
Philip Taron 198af78cb6
nixpkgs-manual: fix build 2024-08-20 06:49:36 -07:00
Matthieu Coudron a5e5d66a4c
vimPlugins: introduce passthru.initLua for some plugins (#334913)
* vimPlugins: introduce passthru.initLua for some plugins

as described in https://github.com/NixOS/nixpkgs/issues/172538, some vim
plugins need some configuration to be able to work at all.
We choose not to patch those plugins and instead expose the necessary
configuration to make them work in `PLUGIN.passthru.initLua`.
For now the user can check if plugins have a `PLUGIN.passthru.initLua`
and if yes, prepend it to their own init.lua.

Maybe later we can revisit this to either patch them in a way that is
clear that it's a nixpkgs patch or by having the neovim wrapper pick
those snippets and autoadd them to init.lua ?

* Update doc/languages-frameworks/vim.section.md

Co-authored-by: Marc Jakobi <mrcjkb89@outlook.com>

---------

Co-authored-by: Marc Jakobi <mrcjkb89@outlook.com>
2024-08-19 12:16:42 +02:00
Doron Behar 0d920a91a2
Merge pull request #225051 from ShamrockLee/go-module-overlay-stdenv
buildGoModule: Fix overriding with overlay-style stdenv
2024-08-16 15:44:15 +00:00
github-actions[bot] bf227f2f74
Merge master into staging-next 2024-08-13 06:01:20 +00:00
Justin Bedő b1953b001e
Merge pull request #328272 from TomaSajt/r-packages-migrate-to-json
rPackages: migrate code generation to use JSON
2024-08-13 15:06:02 +10:00
Yueh-Shun Li eed069a5bc buildGoModule: fix overrideAttrs overriding
Fix overriding of vendorHash and various attributes via the fixed point
attribute support of stdenv.mkDerivation.

Pass as derivation attributes
goModules, modRoot, vendorHash, deleteVendor, and proxyVendor.

Move goModules and vendorHash out of passthru.

Co-authored-by: Doron Behar <doron.behar@gmail.com>
2024-08-11 13:38:11 +08:00
Martin Weinelt 0e1624df44
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/pycdio/default.nix
2024-08-11 03:10:34 +02:00
Doron Behar 00183733be
Merge pull request #332952 from doronbehar/doc/python_by-name
doc/python: don't recommend all-packages.nix for Python applications
2024-08-10 21:29:58 +00:00
github-actions[bot] 0bc8d4924e
Merge master into staging-next 2024-08-07 18:01:07 +00:00
Doron Behar d6f7206fe0
Merge pull request #323493 from pyrox0/pnpm-fetchdeps-improve
pnpm.fetchDeps: Add workspace and custom pnpm config commands support
2024-08-07 12:37:34 +00:00
Doron Behar 38e8fe7e3f doc/python: don't recommend all-packages.nix for Python applications 2024-08-07 12:02:11 +03:00
github-actions[bot] 3c2967ad03
Merge master into staging-next 2024-08-07 06:01:16 +00:00
OTABI Tomoya 6ff8fec735
Merge pull request #332784 from pbsds/doc-python-auto-remove-deps-hook-1722967990
docs/language-frameworks/python: pythonRemoveDepsHook is added automatically
2024-08-07 14:22:48 +09:00
Peder Bergebakken Sundt bbfc8ef1e6 docs/language-frameworks/python: specify how to add non-python runtime deps 2024-08-06 20:28:35 +02:00
Peder Bergebakken Sundt 6488c3d438 docs/language-frameworks/python: update python{,2,3}Package aliases 2024-08-06 20:16:59 +02:00
Peder Bergebakken Sundt ef70f7d028 docs/language-frameworks/python: pythonRemoveDepsHook is added automatically 2024-08-06 20:15:54 +02:00
Martin Weinelt 0b0dd33e0a
python312Packages.setuptoolsCheckHook: remove
The hook relied on the `test` command passed to `setup.py`, which has
long been deprecated and finally removed in setuptools 72.0.
2024-08-06 18:18:40 +02:00
Pyrox 875c9f044f pnpm.fetchDeps: Add workspaces support and support for custom pnpm configuration commands
Solves #316908
2024-08-05 18:36:54 +03:00
David McFarland ebd3b37e6b
Merge pull request #327651 from corngood/dotnet-unpacked-packages
dotnet: use unpacked packages in store
2024-07-31 20:20:13 -03:00
TomaSajt 7224c89e72
doc: update R section to mention .json files 2024-07-31 18:28:38 +02:00
David McFarland d3ca5027fa dotnet: use unpacked nuget packages 2024-07-31 00:47:14 -03:00
Aleksana fb3d86ee0d
Merge pull request #330176 from raboof/docs-show-pyproject-instead-of-format
docs: show `pyproject = true;` instead of `format = "pyproject";`
2024-07-31 10:09:20 +08:00
Sigmanificient aab1113d4a treewide: normalize maintainers list formatting
grep -rP 'maintainers = \[\];'
2024-07-30 16:26:22 +02:00
Arnout Engelen b2d53203f2
docs: show pyproject = true; instead of format = "pyproject";
every other format is deprecated, so to imply that people should be setting it is misleading

(`pyproject = true` should also go away eventually, but is the way until
then)
2024-07-26 16:11:17 +02:00
K900 1410c766c8 Merge remote-tracking branch 'origin/master' into staging-next 2024-07-26 08:41:08 +03:00
Peder Bergebakken Sundt 99dec1f6b0 treewide: fix doc typos
Done with `fd \\\.md$ . --type f -x typos --write-changes`
2024-07-26 00:55:13 +02:00
Artturin 60e9cffe2c Merge branch 'master' into staging-next 2024-07-22 22:53:31 +03:00
Franz Pletz 719e8e672b
Merge pull request #328876 from katexochen/buildGoPackage/deprecate 2024-07-21 22:32:03 +02:00
Paul Meyer 653e79254a doc: document deprecation of buildGoPackage
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-07-21 13:03:27 +02:00
Vladimír Čunát 577f40b8a9
Merge branch 'staging' into staging-next 2024-07-20 16:12:24 +02:00
Alexis Hildebrandt ab42ca141a doc: Remove indefinite article and ending period from example meta.description
so that meta.description examples shown in the documentation
align with recommendations given in the "Meta attributes" section
in pkgs/README.md.

The changes were made with the following commands:
nix run nixpkgs#silver-searcher -- -l0 'description\s*=\s*"([Aa]n?|[Tt]he)\s' doc \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee '/description/s/"([Aa]n?|[Tt]he)\s(.)/"\U\2/'
nix run nixpkgs#silver-searcher -- -l0 'description\s*=\s*".*\."' doc \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee '/description/s/\."/"/'
2024-07-20 09:18:42 +02:00
Artturin a516ea8c99 Merge branch 'staging-next' into staging 2024-07-16 19:07:48 +03:00
Thiago Kenji Okada 5d2257ba7b doc/vim.section.md: fix references to the old update.py script
Running the `update.py` script directly doesn't work anymore, so instead
replace all usages of it in the documentation with `nix-shell -p
vimPluginsUpdater --run 'vim-plugins-updater'`.
2024-07-15 10:09:28 +01:00
Atemu 476b450df8
Merge pull request #272380 from chayleaf/gradle2
gradle: add setup hook
2024-07-14 22:08:41 +02:00
Vladimír Čunát 211398c03e
Merge branch 'staging-next' into staging 2024-07-14 08:35:35 +02:00
Pol Dellaiera 0ea5202cc3
Merge pull request #326864 from jtojnar/php-mkrepo-docs
doc/php: Fix mkComposerRepository example
2024-07-14 07:43:32 +02:00
Jan Tojnar 05f5dbd470 doc/php: Fix mkComposerRepository example
`mkComposerRepository` required `pname` and `version` since the beginning
(b36ad2f517), with the boolean attribute
becoming required later (3eb168da92).
2024-07-13 18:56:35 +02:00
chayleaf c12b2a0b19
gradle: add setup hook 2024-07-12 21:36:09 +07:00
github-actions[bot] b66506a79e
Merge staging-next into staging 2024-07-12 12:01:44 +00:00
Martin Weinelt 176a56c40f
Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
- pkgs/applications/misc/blender/default.nix
- pkgs/development/web/nodejs/nodejs.nix
2024-07-11 01:06:28 +02:00
Doron Behar ee7cfec5aa doc/javascript: document yarn{Config,Build}Hook 2024-07-10 09:39:03 +03:00
Weijia Wang 566d3c2bf8
Merge pull request #288691 from konst-aa/nixify-akku
akku: Add akkuPackages, introduce deps.toml
2024-07-08 14:35:03 +02:00
Konstantin Astafurov 29e9baf2fd akku: Add akkuPackages, introduce deps.toml 2024-07-07 18:45:48 -04:00
Martin Weinelt e7b1ee45cf
Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
- pkgs/tools/misc/watchlog/default.nix
2024-07-06 01:52:35 +02:00
github-actions[bot] 30cfd4445f
Merge master into staging-next 2024-07-05 00:02:21 +00:00
David McFarland 4f7953d244
Merge pull request #324526 from Aleksanaa/nugetHash
dotnet: add SRI hash support to dotnet packages
2024-07-04 20:59:56 -03:00
github-actions[bot] 36cbae9ff0
Merge master into staging-next 2024-07-04 18:01:19 +00:00
aleksana 379b5c2995 doc/dotnet: document SRI hash support in dotnet package 2024-07-04 20:16:51 +08:00
aleksana 673aefdf8e doc/dart: minor sha256 -> hash change
This is to prevent future people from copying this format and
introducing more sha256.
2024-07-04 18:40:06 +08:00
aleksana cb93149275 doc/rust: deprecate cargoSha256 2024-07-03 21:54:33 +08:00
Martin Weinelt 7b8429bbc4
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/jaxtyping/default.nix
2024-07-02 12:08:49 +02:00
Jan Tojnar 2be24442bb nautilus: Move from gnome scope to top-level 2024-07-01 08:26:44 +02:00
github-actions[bot] e335319c82
Merge master into staging-next 2024-06-28 12:01:10 +00:00