Michael Daniels
6004f6596a
Merge branch 'master' into staging-next
2026-07-17 22:18:32 -04:00
Karolis Stasaitis
e58e0e8cfb
rust: add riscv32-none target platform
2026-07-17 09:32:25 +02:00
K900
45ae10c84d
Merge remote-tracking branch 'origin/master' into staging-next
2026-07-15 10:52:37 +03:00
Emily
fdb820602b
treewide: drop simple x86_64-darwin mentions
...
To reproduce:
$ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
-- scan --update-all --inline-rules '
id: nix-x86_64-darwin
language: nix
rule:
any:
- pattern: "\"x86_64-darwin\""
kind: list_expression > string_expression
- pattern:
context: "{ \"x86_64-darwin\" = $EXPR; }"
selector: binding
- pattern:
context: "{ x86_64-darwin = $EXPR; }"
selector: binding
fix:
template: ""
' pkgs
$ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
-- scan --update-all --inline-rules '
id: json-first-x86_64-darwin
language: json
rule:
kind: object > pair:nth-child(1)
has:
pattern: "\"x86_64-darwin\""
field: key
fix:
template: ""
expandEnd: { regex: "," }
' pkgs
$ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
-- scan --update-all --inline-rules '
id: json-x86_64-darwin
language: json
rule:
kind: object > pair
has:
pattern: "\"x86_64-darwin\""
field: key
fix:
template: ""
expandStart: { regex: "," }
' pkgs
$ git restore pkgs/by-name/om/omnix/package.nix
$ git diff --name-only -z \
| nix shell nixpkgs/3b32825de172d0bc85664f495edb096b10862524#gnused \
-c xargs -0 sed -i '/^$/N; /^\n\? \+$/d'
$ treefmt
2026-07-15 03:58:16 +01:00
Philip Taron
b249ced44a
rust: 1.96.1 -> 1.97.0 ( #539983 )
2026-07-10 03:44:03 +00:00
whispers
0eb9fc4c11
rust: 1.96.1 -> 1.97.0
...
blog: https://blog.rust-lang.org/releases/1.97.0
changelog: https://github.com/rust-lang/rust/blob/1.97.0/RELEASES.md
diff: https://github.com/rust-lang/rust/compare/1.96.1...1.97.0
2026-07-09 09:00:06 -04:00
nixpkgs-ci[bot]
b494a67c17
Merge staging-next into staging
2026-07-01 07:32:31 +00:00
Jonas Chevalier
f23e8ad032
cargo: remove runtime references to cargo-bootstrap ( #510169 )
2026-07-01 06:51:44 +00:00
whispers
2d7df49016
rust: 1.96.0 -> 1.96.1
...
blog: https://blog.rust-lang.org/releases/1.96.1
changelog: https://github.com/rust-lang/rust/releases/tag/1.96.1
diff: https://github.com/rust-lang/rust/compare/1.96.0...1.96.1
2026-06-30 21:00:42 -04:00
whispers
117c2f76a7
rust: 1.95.0 -> 1.96.0
...
blog: https://blog.rust-lang.org/releases/1.96.0
changelog: https://github.com/rust-lang/rust/releases/tag/1.96.0
diff: https://github.com/rust-lang/rust/compare/1.95.0...1.96.0
Fixes: CVE-2026-5222, https://blog.rust-lang.org/2026/05/25/cve-2026-5222/
Fixes: CVE-2026-5223, https://blog.rust-lang.org/2026/05/25/cve-2026-5223/
2026-05-28 11:21:31 -04:00
zowoq
0e0373a060
rust: 1.94.1 -> 1.95.0 ( #510674 )
2026-04-22 21:58:40 +00: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
Diogo Correia
45e3996b16
pkgsCross.wasi32.buildPackages.rustc: fix build
...
Fixes #463589
2026-04-20 11:31:27 +01:00
Hythera
6534ba3f79
rust: 1.94.1 -> 1.95.0
...
Building the crate tikv-jemalloc-sys is causing some trouble with our build flags when building on x86_64-darwin. Switching to rust-jemalloc-sys from nixpkgs resolves this issue.
Adding this change across all platforms as this may address some other issues.
blog: https://blog.rust-lang.org/2026/04/16/Rust-1.95.0
diff: https://github.com/rust-lang/rust/compare/1.94.1...1.95.0
2026-04-18 12:43:44 +02:00
Lily Ballard
19d080de23
rustc-unwrapped: disallow references to build rustc/cargo
2026-04-15 23:51:45 -07:00
Lily Ballard
126bd3b578
cargo: disallow references to bootstrap cargo, rustc
...
cargo recently accidentally gained a runtime dependency on
cargo-bootstrap, we don't want to let that happen again.
2026-04-15 21:49:31 -07:00
Lily Ballard
8eb3c82575
rustPlatform.rust: undeprecate
...
These attributes were deprecated in #230951 because they confused things
with splicing, e.g. passing `rustPlatform.rust.rustc` to
`nativeBuildInputs` would get the wrong derivation when cross-compiling.
This was a consequence of the fact that they come from the buildPackages
set. But we still want to expose these packages as otherwise Rust
packages have no way to reference the rustc and cargo that build them,
which means they can't e.g. use `disallowedReferences` to ensure they
don't end up in the runtime closure.
Just as `stdenv.cc` itself isn't spliced, we can solve this problem by
unsplicing the packages.
2026-04-15 21:39:14 -07:00
Lily Ballard
e749b0a6c7
cargo: remove runtime references to cargo-bootstrap
...
The shell completions were being generated by cargo-bootstrap instead of
by the just-built cargo, which meant they were embedding the
cargo-bootstrap path and causing it to be part of the runtime closure.
2026-04-14 22:02:12 -07:00
Hythera
5115204c21
rust: 1.94.0 -> 1.94.1
2026-03-26 20:23:57 +01:00
Hythera
6e94752daf
rust: 1.93.1 -> 1.94.0
2026-03-06 18:02:45 +01:00
Alyssa Ross
1b0b3f17be
rustc-unwrapped: Add meta.mainProgram ( #494502 )
2026-02-27 10:22:21 +00:00
Mynacol
9df667c84a
rustc-unwrapped: Add meta.mainProgram
2026-02-26 23:45:32 +01:00
Jörg Thalheim
b690392011
cargo: Add Fish shell completions, generate others from source when possible ( #469996 )
2026-02-15 15:09:02 +00:00
Hythera
61ff0a1598
rust: 1.93.0 -> 1.93.1
2026-02-12 23:06:32 +01:00
Ross Smyth
3a7deefec3
cargo: Add fish completions, generate others when possible
2026-02-10 16:15:57 -05:00
Luka Blašković
12ea7f91d4
rust: 1.92.0 -> 1.93.0
2026-01-26 09:29:48 +00:00
Wolfgang Walther
0ee04e6108
cargo: fix for structuredAttrs ( #478052 )
2026-01-10 12:01:00 +00:00
nixpkgs-ci[bot]
ee52662516
Merge staging-next into staging
2026-01-10 00:19:00 +00:00
Stefan Frijters
1bda88de97
rustfmt: fix for structuredAttrs
2026-01-08 13:02:19 +01:00
Stefan Frijters
2789aa7f5f
clippy: fix for structuredAttrs
2026-01-08 13:02:19 +01:00
Stefan Frijters
2a8f3d8f7a
cargo: fix for structuredAttrs
2026-01-08 13:01:33 +01:00
Vladimír Čunát
57d9ca5d49
Merge branch 'master' into staging
2026-01-08 12:47:15 +01:00
K900
a55b911b56
Revert "treewide: prepare Rust packages for structuredAttrs by putting variables in env"
2026-01-08 10:37:20 +03:00
nixpkgs-ci[bot]
9a8af81db6
Merge staging-next into staging
2026-01-08 00:19:41 +00:00
Wolfgang Walther
919dcd0f6e
treewide: prepare Rust packages for structuredAttrs by putting variables in env ( #472376 )
2026-01-07 19:48:20 +00:00
Philip Taron
a80d2e6108
rustc: fix build with structuredAttrs ( #470983 )
2026-01-05 15:22:16 +00:00
Stefan Frijters
bdeb52b018
rustfmt: fix for structuredAttrs
2025-12-19 14:20:32 +01:00
Stefan Frijters
89d3d314e4
clippy: fix for structuredAttrs
2025-12-19 14:20:32 +01:00
Stefan Frijters
41a53c26ea
cargo: fix for structuredAttrs
2025-12-19 14:20:32 +01:00
Luka Blašković
1589393326
rust: 1.91.1 -> 1.92.0
2025-12-17 06:37:08 +00:00
Stefan Frijters
182bcd0c1f
rustc: fix build with structuredAttrs
2025-12-15 11:14:55 +01:00
Ross Smyth
ed2d4c551b
cargo-auditable: Move to by-name
2025-12-11 00:05:13 -05:00
Ross Smyth
55c4862758
cargo-auditable: Refactor to be use a fixed-point builder
2025-12-11 00:05:13 -05:00
Wolfgang Walther
46c0c0eae7
Merge branch 'staging-next' into staging
2025-12-10 18:42:31 +01:00
Ihar Hrachyshka
567e8dfd8e
treewide: clean up 'meta = with' pattern
...
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.
Co-authored-by: Wolfgang Walther <walther@technowledgy.de >
2025-12-10 18:09:49 +01:00
Jörg Thalheim
65037cffdb
rustc, cargo-llvm-cov: enable profiler runtime on Darwin
...
Enable the LLVM profiler runtime on macOS by passing `--enable-profiler`
to rustc's configure. This allows cargo-llvm-cov and other coverage tools
to work on Darwin platforms.
The profiler is explicitly disabled for wasm and bpf targets which don't
support it.
2025-11-29 15:21:57 +01:00
Leona Maroni
5c9b757f6b
Merge remote-tracking branch 'origin/master' into staging-next
2025-11-15 09:51:23 +01:00
Wolfgang Walther
55f496d0eb
maintainers: drop various inactive maintainers ( #459104 )
2025-11-14 22:18:34 +00:00
Luka Blašković
f93a104922
rust: 1.91.0 -> 1.91.1
2025-11-11 06:08:54 +00:00