Commit Graph

1906 Commits

Author SHA1 Message Date
dish
b8d4d82697 doc/javascript: remove yarn2nix docs and redirect 2026-04-25 18:22:39 -04:00
nixpkgs-ci[bot]
2571eafb31 Merge staging-next into staging 2026-04-24 12:23:20 +00:00
Francesco Gazzetta
1ca3a89b38 tcl.mkTclDerivation: use extendMkDerivation 2026-04-22 18:03:40 +02:00
nixpkgs-ci[bot]
2840c94c8b Merge master into staging-next 2026-04-21 10:25:06 +00:00
nixpkgs-ci[bot]
e49e460578 Merge staging-next into staging 2026-04-21 10:25:37 +00:00
@mjones
843af0c899 {androidenv,android-studio}: ANDROID_SDK_ROOT -> ANDROID_HOME (#511602) 2026-04-21 08:20:14 +00:00
Antoine du Hamel
ca4100c3c0 nodejs_20: mark as insecure 2026-04-20 18:07:36 +02:00
nixpkgs-ci[bot]
5affd239b8 Merge master into staging-next 2026-04-20 12:26:19 +00:00
Alyssa Ross
b22e919f17 pkgsCross.wasi32.buildPackages.rustc: fix build (#463720) 2026-04-20 11:33:52 +00:00
PerchunPak
72b5a1c0e6 doc: add wasip1 rust package example 2026-04-20 11:31:28 +01:00
Morgan Jones
9c2f0302bf androidenv: ANDROID_SDK_ROOT -> ANDROID_HOME
Change the 'primary' env var to ANDROID_HOME.
Always export ANDROID_SDK_ROOT for compatibility.
2026-04-19 17:32:01 -07:00
Randy Eckenrode
2a071a0471 Merge branch 'master' into staging-next 2026-04-07 21:13:06 -04:00
Winter
e196301655 buildRustCrate: support Cargo.toml [lints] table (#502755) 2026-04-07 19:31:38 +00:00
nixpkgs-ci[bot]
055696d9bd Merge staging-next into staging 2026-04-06 18:20:20 +00:00
Maximilian Bosch
be6ddd3a64 doc: fix nix repl command usage in NixOS manual (#506255) 2026-04-06 12:15:32 +00:00
nixpkgs-ci[bot]
566141b86e Merge staging-next into staging 2026-04-05 18:11:22 +00:00
Alba Mendez
60daf81309 doc: go: mention edge case that needs proxyVendor
Closes #506926.
2026-04-05 15:19:10 +02:00
Bart Louwers
7f707274cf doc: fix nix repl command in NixOS manual 2026-04-03 12:09:53 +02:00
nixpkgs-ci[bot]
304c5f4649 Merge staging-next into staging 2026-04-02 18:19:01 +00:00
Ryan Lahfa
e6ec796c14 leanPackages: own toolchain, lake --packages, Hydra visibility, manual (#505174) 2026-04-02 14:05:13 +00:00
Nadja Yang
ce563acb77 doc: add Lean 4 section to languages-frameworks manual 2026-04-01 11:13:44 -04:00
nixpkgs-ci[bot]
5608cc0956 Merge staging-next into staging 2026-03-30 00:28:16 +00:00
Philip Taron
16d53f40e2 nodePackages{,_latest}: drop and throw (#496365) 2026-03-29 23:52:00 +00:00
Michael Daniels
bf7f2e5e03 Merge branch 'staging-next' into staging 2026-03-27 21:46:35 -04:00
Pol Dellaiera
10fc5a6a4b doc: Document npmHooks and nodejs hooks (#487075) 2026-03-27 19:33:08 +00:00
dish
07f4288475 nodePackages{,_latest}: remove and throw
We are so back
2026-03-24 14:45:31 -04:00
dish
72e3faabb3 doc/vim: delete one line about nodePackages-packaged vim plugins 2026-03-24 14:45:19 -04:00
Michael Daniels
58d09c8cda Merge branch 'staging-next' into staging 2026-03-23 17:22:18 -04:00
Bernardo Meurer Costa
7a399bb746 buildRustCrate: support Cargo.toml [lints] table
Cargo's `[lints]` table is a cargo-only feature: cargo translates the
entries into `-A`/`-W`/`-D`/`-F` rustc flags before invoking the
compiler. Since buildRustCrate calls rustc directly, these lints were
silently ignored, forcing users to duplicate them as raw flags in
`extraRustcOpts`.

Accept a `lints` attr with the same shape as the Cargo.toml section
(tool → lint name → level string or `{ level, priority }` attrset),
translate it to rustc flags in Nix, and append to the rustc command
line. Entries are sorted by ascending priority so lower-priority lint
groups are emitted first and can be overridden by more specific lints,
matching cargo's behaviour.

The `capLints` default changes from `"allow"` to `null`, resolved to
`"allow"` when `lints` is empty (the usual case for third-party
dependencies) and `"forbid"` when `lints` is set — otherwise a
`deny`/`forbid` lint would be silently capped and the table would be a
no-op. Explicit `capLints` still overrides. This is the same model
cargo uses: your own crate's `[lints]` always apply; only
dependencies get `--cap-lints allow`.

Generators like crate2nix can populate `lints` directly from the
manifest at generation time.
2026-03-23 18:26:40 +00:00
Bernardo Meurer Costa
a523dd74ac buildRustCrate: make --cap-lints configurable
lib.sh previously hardcoded `--cap-lints allow` in both build_lib and
build_bin. Since rustc only honours the first `--cap-lints` it sees,
appending a different level via `extraRustcOpts` had no effect, making
it impossible to run clippy (or any lint-based tooling) through
buildRustCrate without wrapper scripts that strip the argument.

This adds a `capLints` parameter (default `"allow"`, preserving current
behaviour) that can be set per-crate or via `.override`:

    (myCrate { }).override { capLints = "warn"; }
2026-03-23 16:56:09 +00:00
nixpkgs-ci[bot]
331dafb17f Merge staging-next into staging 2026-03-23 12:17:33 +00:00
Tom Hunze
e47af8ad01 doc/python: use dirigera as example for specifying dependencies
datashape was removed from nixpkgs.
2026-03-23 11:21:20 +01:00
Francesco Gazzetta
6384aa87d2 tcl.tclRequiresCheckHook: init (#500462) 2026-03-19 08:05:04 +00:00
Francesco Gazzetta
910bdbb033 tcl.tclRequiresCheckHook: init
Add a hook that checks that Tcl packages can be `require`d correctly,
like `pythonImportsCheck`.
2026-03-18 17:56:16 +01:00
Sandro
bfda6fc3df tclPackages.mkTclDerivation: enable stubs by default (#497492) 2026-03-18 15:08:26 +00:00
Michael Daniels
4398adf72e octavePackages.buildOctavePackage: add env, nativeBuildInputs args for pkg test 2026-03-17 17:28:45 -04:00
teto
7906e29937 neovim: add extraLuaPackages to wrapNeovimUnstable
This was available in makeNeovimConfig already but:
- generated wrapper arguments, which we want to avoid because it
  confuses users
- `makeNeovimConfig` relies on neovim-unwrapped in impure manner, which
  for instance caused issues in one of cases where I override
  neovim-unwrapped's luajit with a luajit with custom lua packages.
2026-03-14 13:16:58 +01:00
Naïm Camille Favier
0b7455140a typst: add fonts to the wrapper (#481751) 2026-03-08 15:02:26 +00:00
Francesco Gazzetta
49e44efa09 tclPackages.mkTclDerivation: enable stubs by default 2026-03-07 09:56:02 +01:00
Alyssa Ross
bd0c7ad05a lib.systems: rust: Make rustcTargetSpec the primary entrypoint (#446668) 2026-03-07 08:22:44 +00:00
Tristan Ross
f6442fb72a flutter.buildFlutterApplication: add support for finalAttrs (#494789) 2026-03-04 22:01:34 +00:00
kyehn
42c0f81a19 flutter.buildFlutterApplication: add support for finalAttrs 2026-02-28 10:01:14 +08:00
Adam C. Stephens
f2d95b531c beamPackages.rebar3WithPlugins: fix globalPlugins handling
This was broken in 405d11fcce as packageName was dropped in favor of pname
2026-02-27 17:29:15 -05:00
dramforever
8920a83327 doc/rust: Use rustcTargetSpec everywhere
Cargo uses the basename of a JSON target specification in various places
to refer to targets, cc-rs parses the basename to grab target
information. There may be other examples where the basename is relevant.

Instead of fighting these existing conventions, let's just recommend
users provide a rustcTargetSpec, either as a standard name or as a
custom JSON file with the right basename
2026-02-27 14:06:55 +08:00
teto
6d49e8dff0 doc/neovim: more details on how to configure providers
see `:help provider` in neovim.

Precised what language to use in customRc
2026-02-25 02:18:57 +01:00
Vinetos
38af642d2f stestrCheckHook: init
This adds a useful hook to be used for projects that use stestr,
it is primiative at the moment but covers most scenarios for using
it.

This PR also changes a Python module to start using it, once it
lands, follow up PRs can update all of them to use it tree-wide.

Signed-off-by: Vinetos <contact+git@vinetos.fr>
2026-02-21 22:20:21 +01:00
Ross Smyth
41d8cf69e5 doc: Add documentation on npmHooks.npmBuildHook 2026-02-19 14:16:28 -05:00
Martin Weinelt
77ca080475 python310: drop
Reaches end of life before NixOS 26.05 and therefore has to leave early.
2026-02-15 03:17:23 +01:00
Matt Sturgeon
9c2ca0014d doc: update references to nixfmt-rfc-style to treefmt (#486664) 2026-02-12 10:01:13 +00:00
Marc Jakobi
5ad3a95562 doc/neovim: promote subsection headings 2026-02-12 00:05:21 +01:00