72 Commits
Author SHA1 Message Date
whispers 05a2c0ef9c rustup: 1.28.2 -> 1.29.0
Release announcement: https://blog.rust-lang.org/2026/03/12/Rustup-1.29.0/
Changelog: https://github.com/rust-lang/rustup/blob/1.29.0/CHANGELOG.md

We also switch from `export NIX_BUILD_CORES=1` in `preCheck` to
`dontUseCargoParallelTests`, to make compiling test crates slightly
faster while still running them serially to avoid the failures that
parallel tests originally caused.
2026-03-15 15:08:45 -04:00
TomaSajtandNiklas Korz 398b16e16c treewide: remove useFetchCargoVendor usages 2025-07-26 11:39:35 +02:00
Wolfgang Walther 5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
FliegendeWurst 3533884ef2 rustup: disable parallel testing
Caused issues in:
- download::tests::reqwest::socks_proxy_request
- download::tests::curl::callback_gets_all_data_as_if_the_download_happened_all_at_once
- download::tests::reqwest::callback_gets_all_data_as_if_the_download_happened_all_at_once
2025-05-22 08:18:34 +02:00
Jörg ThalheimandGitHub cf5c40abd0 rustup: 1.27.1 -> 1.28.2 (#397177) 2025-05-19 17:01:35 +02:00
misilelabandFliegendeWurst 5bbd076630 rustup: 1.27.1 -> 1.28.2
https://github.com/rust-lang/rustup/releases/tag/1.28.0
https://github.com/rust-lang/rustup/releases/tag/1.28.1
https://github.com/rust-lang/rustup/releases/tag/1.28.2

Signed-off-by: misilelab <misileminecord@gmail.com>
2025-05-10 09:06:45 +02:00
nixpkgs-ci[bot]andGitHub c376a565f9 Merge staging-next into staging 2025-04-24 18:04:57 +00:00
Acid Bong c244ac2560 rustup: set meta.mainProgram = "rustup" 2025-04-23 19:55:23 +03:00
Acid Bong 3de1a5cf59 rustup: remove unnecessary conditions for some envvars 2025-04-23 19:55:23 +03:00
Acid Bong 8201236c73 rustup: use writableTmpDirAsHomeHook 2025-04-23 19:55:23 +03:00
Acid Bong bbad8bd32c rustup: allow generating completions in cross-building 2025-04-23 19:55:23 +03:00
Acid Bong 5562972b27 rustup: remove unused override, use both curl and openssl
- the override did nothing to curl
- openssl was implicitly linked against (due to being in curl's
  pkgconfig file)
- and I put openssl before curl, so only it could be overridden
2025-04-23 19:52:50 +03:00
Ihar Hrachyshka dd0f03a56c treewide: remove usage of deprecated apple_sdk framework stubs
They are not doing anything right now. This is in preparation for their
complete removal from the tree.

Note: several changes that affect the derivation inputs (e.g. removal of
references to stub paths in build instructions) were left out. They will
be cleaned up the next iteration and will require special care.

Note: this PR is a result of a mix of ugly regex (not AST) based
automation and some manual labor. For reference, the regex automation
part was hacked in: https://github.com/booxter/nix-clean-apple_sdk

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
2025-04-19 20:28:20 -04:00
Acid Bong ded7bd6eec rustup: replace rec with finalAttrs 2025-04-19 12:22:15 +03:00
Acid Bong d3d46e1996 rustup: use tag and hash in the fetcher 2025-04-19 12:11:57 +03:00
Acid Bong fe282930f4 rustup: remove with lib; 2025-04-19 12:08:38 +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
Pol Dellaiera 65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
Alyssa Ross c597750454 treewide: migrate to fetchCargoVendor, batch 2
Cargo 1.84.0 seems to have changed the output format of cargo vendor
again, once again invalidating fetchCargoTarball FOD hashes.  It's
time to fix this once and for all, switching across the board to
fetchCargoVendor, which is not dependent on cargo vendor's output
format.

It should be possible to reproduce this diff.  To generate it, I first
ran:

	xargs sed -i 's/^\(. *\)\(cargoHash =\)/\1useFetchCargoVendor = true;\n\1cargoHash =/'

The following manually identified list of files were given as standard
input:

	pkgs/applications/audio/listenbrainz-mpd/default.nix
	pkgs/applications/audio/minidsp/default.nix
	pkgs/applications/audio/muso/default.nix
	pkgs/applications/audio/parrot/default.nix
	pkgs/applications/blockchains/electrs/default.nix
	pkgs/applications/blockchains/snarkos/default.nix
	pkgs/applications/blockchains/teos/default.nix
	pkgs/applications/blockchains/zcash/default.nix
	pkgs/applications/display-managers/greetd/default.nix
	pkgs/applications/display-managers/greetd/regreet.nix
	pkgs/applications/display-managers/greetd/tuigreet.nix
	pkgs/applications/display-managers/greetd/wlgreet.nix
	pkgs/applications/editors/emacs/elisp-packages/manual-packages/lspce/module.nix
	pkgs/applications/editors/neovim/gnvim/default.nix
	pkgs/applications/editors/vim/plugins/non-generated/LanguageClient-neovim/default.nix
	pkgs/applications/editors/vim/plugins/non-generated/avante-nvim/default.nix
	pkgs/applications/editors/vim/plugins/non-generated/codesnap-nvim/default.nix
	pkgs/applications/editors/vim/plugins/non-generated/cord-nvim/default.nix
	pkgs/applications/editors/vim/plugins/non-generated/nvim-spectre/default.nix
	pkgs/applications/editors/vim/plugins/non-generated/sg-nvim/default.nix
	pkgs/applications/editors/vim/plugins/non-generated/sniprun/default.nix
	pkgs/applications/editors/vim/plugins/non-generated/vim-markdown-composer/default.nix
	pkgs/applications/editors/vscode/extensions/vadimcn.vscode-lldb/adapter.nix
	pkgs/applications/editors/zee/default.nix
	pkgs/applications/gis/whitebox-tools/default.nix
	pkgs/applications/graphics/emulsion/default.nix
	pkgs/applications/graphics/menyoki/default.nix
	pkgs/applications/misc/binocle/default.nix
	pkgs/applications/misc/cobalt/default.nix
	pkgs/applications/misc/eureka-ideas/default.nix
	pkgs/applications/misc/inherd-quake/default.nix
	pkgs/applications/misc/inlyne/default.nix
	pkgs/applications/misc/klipper-estimator/default.nix
	pkgs/applications/misc/mdzk/default.nix
	pkgs/applications/misc/pastel/default.nix
	pkgs/applications/misc/pomodoro/default.nix
	pkgs/applications/misc/pueue/default.nix
	pkgs/applications/misc/reddsaver/default.nix
	pkgs/applications/misc/stork/default.nix
	pkgs/applications/misc/terminal-typeracer/default.nix
	pkgs/applications/networking/browsers/asuka/default.nix
	pkgs/applications/networking/feedreaders/tuifeed/default.nix
	pkgs/applications/networking/geph/default.nix
	pkgs/applications/networking/gopher/phetch/default.nix
	pkgs/applications/networking/instant-messengers/twitch-tui/default.nix
	pkgs/applications/networking/irc/tiny/default.nix
	pkgs/applications/networking/mhost/default.nix
	pkgs/applications/networking/mujmap/default.nix
	pkgs/applications/networking/p2p/synapse-bt/default.nix
	pkgs/applications/office/activitywatch/default.nix
	pkgs/applications/science/machine-learning/finalfrontier/default.nix
	pkgs/applications/science/machine-learning/finalfusion-utils/default.nix
	pkgs/applications/science/misc/rink/default.nix
	pkgs/applications/system/coolercontrol/coolercontrol-gui.nix
	pkgs/applications/version-management/gfold/default.nix
	pkgs/applications/version-management/git-absorb/default.nix
	pkgs/applications/version-management/git-branchless/default.nix
	pkgs/applications/version-management/git-cliff/default.nix
	pkgs/applications/version-management/git-credential-keepassxc/default.nix
	pkgs/applications/version-management/git-gone/default.nix
	pkgs/applications/version-management/git-quickfix/default.nix
	pkgs/applications/version-management/git-stack/default.nix
	pkgs/applications/version-management/git-trim/default.nix
	pkgs/applications/version-management/git-workspace/default.nix
	pkgs/applications/version-management/gitoxide/default.nix
	pkgs/applications/version-management/lucky-commit/default.nix
	pkgs/applications/virtualization/crosvm/default.nix
	pkgs/applications/virtualization/rust-hypervisor-firmware/default.nix
	pkgs/applications/window-managers/dwm/dwm-status.nix
	pkgs/applications/window-managers/i3/auto-layout.nix
	pkgs/applications/window-managers/i3/cycle-focus.nix
	pkgs/applications/window-managers/i3/i3-ratiosplit.nix
	pkgs/applications/window-managers/i3/status-rust.nix
	pkgs/applications/window-managers/i3/wmfocus.nix
	pkgs/applications/window-managers/i3/wsr.nix
	pkgs/build-support/mitm-cache/default.nix
	pkgs/development/compilers/gleam/default.nix
	pkgs/development/compilers/kind2/default.nix
	pkgs/development/embedded/fpga/ecpdap/default.nix
	pkgs/development/interpreters/evcxr/default.nix
	pkgs/development/interpreters/wasmer/default.nix
	pkgs/development/interpreters/wasmtime/default.nix
	pkgs/development/tools/analysis/dotenv-linter/default.nix
	pkgs/development/tools/build-managers/fac/default.nix
	pkgs/development/tools/build-managers/moon/default.nix
	pkgs/development/tools/cocogitto/default.nix
	pkgs/development/tools/continuous-integration/buildkite-test-collector-rust/default.nix
	pkgs/development/tools/database/dynein/default.nix
	pkgs/development/tools/database/indradb/default.nix
	pkgs/development/tools/database/surrealdb-migrations/default.nix
	pkgs/development/tools/dump_syms/default.nix
	pkgs/development/tools/fnm/default.nix
	pkgs/development/tools/geckodriver/default.nix
	pkgs/development/tools/git-ps-rs/default.nix
	pkgs/development/tools/gptcommit/default.nix
	pkgs/development/tools/graphql-client/default.nix
	pkgs/development/tools/hors/default.nix
	pkgs/development/tools/htmlq/default.nix
	pkgs/development/tools/jless/default.nix
	pkgs/development/tools/kdash/default.nix
	pkgs/development/tools/kubie/default.nix
	pkgs/development/tools/misc/dura/default.nix
	pkgs/development/tools/misc/pwninit/default.nix
	pkgs/development/tools/misc/texlab/default.nix
	pkgs/development/tools/misc/tokei/default.nix
	pkgs/development/tools/pactorio/default.nix
	pkgs/development/tools/parsing/tree-sitter/default.nix
	pkgs/development/tools/perseus-cli/default.nix
	pkgs/development/tools/py-spy/default.nix
	pkgs/development/tools/rbspy/default.nix
	pkgs/development/tools/remodel/default.nix
	pkgs/development/tools/rover/default.nix
	pkgs/development/tools/rover/update.sh
	pkgs/development/tools/rubyfmt/default.nix
	pkgs/development/tools/rust/bindgen/unwrapped.nix
	pkgs/development/tools/rust/cargo-audit/default.nix
	pkgs/development/tools/rust/cargo-bazel/default.nix
	pkgs/development/tools/rust/cargo-c/default.nix
	pkgs/development/tools/rust/cargo-cache/default.nix
	pkgs/development/tools/rust/cargo-clone/default.nix
	pkgs/development/tools/rust/cargo-codspeed/default.nix
	pkgs/development/tools/rust/cargo-crev/default.nix
	pkgs/development/tools/rust/cargo-cyclonedx/default.nix
	pkgs/development/tools/rust/cargo-edit/default.nix
	pkgs/development/tools/rust/cargo-flamegraph/default.nix
	pkgs/development/tools/rust/cargo-fund/default.nix
	pkgs/development/tools/rust/cargo-hf2/default.nix
	pkgs/development/tools/rust/cargo-lambda/default.nix
	pkgs/development/tools/rust/cargo-ndk/default.nix
	pkgs/development/tools/rust/cargo-outdated/default.nix
	pkgs/development/tools/rust/cargo-udeps/default.nix
	pkgs/development/tools/rust/cargo-vet/default.nix
	pkgs/development/tools/rust/cargo-watch/default.nix
	pkgs/development/tools/rust/cargo-whatfeatures/default.nix
	pkgs/development/tools/rust/cargo-zigbuild/default.nix
	pkgs/development/tools/rust/duckscript/default.nix
	pkgs/development/tools/rust/rustup/default.nix
	pkgs/development/tools/rust/sqlx-cli/default.nix
	pkgs/development/tools/sentry-cli/default.nix
	pkgs/development/tools/spr/default.nix
	pkgs/development/tools/viceroy/default.nix
	pkgs/development/tools/wrangler_1/default.nix
	pkgs/games/blightmud/default.nix
	pkgs/games/ferium/default.nix
	pkgs/kde/gear/akonadi-search/default.nix
	pkgs/kde/gear/angelfish/default.nix
	pkgs/kde/gear/kdepim-addons/default.nix
	pkgs/misc/cliscord/default.nix
	pkgs/misc/t-rec/default.nix
	pkgs/misc/wiki-tui/default.nix
	pkgs/os-specific/linux/scx/scx_rustscheds.nix
	pkgs/servers/bindle/default.nix
	pkgs/servers/dns/doh-proxy-rust/default.nix
	pkgs/servers/gemini/stargazer/default.nix
	pkgs/servers/geospatial/martin/default.nix
	pkgs/servers/krill/default.nix
	pkgs/servers/monitoring/laurel/default.nix
	pkgs/servers/monitoring/prometheus/wireguard-exporter.nix
	pkgs/servers/oxigraph/default.nix
	pkgs/servers/piping-server-rust/default.nix
	pkgs/servers/rtrtr/default.nix
	pkgs/servers/sql/postgresql/ext/pgvecto-rs/default.nix
	pkgs/servers/sql/postgresql/ext/pgx_ulid.nix
	pkgs/servers/sql/postgresql/ext/timescaledb_toolkit.nix
	pkgs/shells/nushell/default.nix
	pkgs/shells/nushell/plugins/dbus.nix
	pkgs/shells/nushell/plugins/formats.nix
	pkgs/shells/nushell/plugins/gstat.nix
	pkgs/shells/nushell/plugins/highlight.nix
	pkgs/shells/nushell/plugins/net.nix
	pkgs/shells/nushell/plugins/polars.nix
	pkgs/shells/nushell/plugins/query.nix
	pkgs/shells/nushell/plugins/skim.nix
	pkgs/shells/nushell/plugins/units.nix
	pkgs/tools/X11/xidlehook/default.nix
	pkgs/tools/admin/coldsnap/default.nix
	pkgs/tools/admin/procs/default.nix
	pkgs/tools/backup/awsbck/default.nix
	pkgs/tools/backup/bupstash/default.nix
	pkgs/tools/backup/monolith/default.nix
	pkgs/tools/backup/rdedup/default.nix
	pkgs/tools/misc/aoc-cli/default.nix
	pkgs/tools/misc/apkeep/default.nix
	pkgs/tools/misc/didyoumean/default.nix
	pkgs/tools/misc/dijo/default.nix
	pkgs/tools/misc/diskus/default.nix
	pkgs/tools/misc/eludris/default.nix
	pkgs/tools/misc/fclones/default.nix
	pkgs/tools/misc/fclones/gui.nix
	pkgs/tools/misc/ffsend/default.nix
	pkgs/tools/misc/flowgger/default.nix
	pkgs/tools/misc/gh-cal/default.nix
	pkgs/tools/misc/grex/default.nix
	pkgs/tools/misc/hiksink/default.nix
	pkgs/tools/misc/hyperfine/default.nix
	pkgs/tools/misc/iay/default.nix
	pkgs/tools/misc/jsonwatch/default.nix
	pkgs/tools/misc/killport/default.nix
	pkgs/tools/misc/lighthouse-steamvr/default.nix
	pkgs/tools/misc/lorri/default.nix
	pkgs/tools/misc/nvfancontrol/default.nix
	pkgs/tools/misc/octofetch/default.nix
	pkgs/tools/misc/owofetch/default.nix
	pkgs/tools/misc/rust-motd/default.nix
	pkgs/tools/misc/shadowenv/default.nix
	pkgs/tools/misc/sheldon/default.nix
	pkgs/tools/misc/starship/default.nix
	pkgs/tools/misc/synth/default.nix
	pkgs/tools/misc/tab-rs/default.nix
	pkgs/tools/misc/tmux-sessionizer/default.nix
	pkgs/tools/misc/toastify/default.nix
	pkgs/tools/misc/topgrade/default.nix
	pkgs/tools/misc/tremor-rs/default.nix
	pkgs/tools/misc/vrc-get/default.nix
	pkgs/tools/misc/wagyu/default.nix
	pkgs/tools/misc/watchexec/default.nix
	pkgs/tools/networking/bore-cli/default.nix
	pkgs/tools/networking/bore/default.nix
	pkgs/tools/networking/cocom/default.nix
	pkgs/tools/networking/drill/default.nix
	pkgs/tools/networking/fast-ssh/default.nix
	pkgs/tools/networking/ifwifi/default.nix
	pkgs/tools/networking/innernet/default.nix
	pkgs/tools/networking/lychee/default.nix
	pkgs/tools/networking/mozwire/default.nix
	pkgs/tools/networking/ockam/default.nix
	pkgs/tools/networking/onetun/default.nix
	pkgs/tools/networking/rosenpass/default.nix
	pkgs/tools/networking/s3rs/default.nix
	pkgs/tools/networking/shadowsocks-rust/default.nix
	pkgs/tools/networking/suckit/default.nix
	pkgs/tools/networking/wg-netmanager/default.nix
	pkgs/tools/nix/nixci/default.nix
	pkgs/tools/package-management/nix-du/default.nix
	pkgs/tools/package-management/nix-template/default.nix
	pkgs/tools/security/age-plugin-ledger/default.nix
	pkgs/tools/security/feroxbuster/default.nix
	pkgs/tools/security/genpass/default.nix
	pkgs/tools/security/gpg-tui/default.nix
	pkgs/tools/security/kbs2/default.nix
	pkgs/tools/security/lethe/default.nix
	pkgs/tools/security/rblake2sum/default.nix
	pkgs/tools/security/rblake3sum/default.nix
	pkgs/tools/security/rucredstash/default.nix
	pkgs/tools/security/rustscan/default.nix
	pkgs/tools/security/solo2-cli/default.nix
	pkgs/tools/text/amber/default.nix
	pkgs/tools/text/chars/default.nix
	pkgs/tools/text/coloursum/default.nix
	pkgs/tools/text/diffr/default.nix
	pkgs/tools/text/fastmod/default.nix
	pkgs/tools/text/igrep/default.nix
	pkgs/tools/text/languagetool-rust/default.nix
	pkgs/tools/text/mdbook-admonish/default.nix
	pkgs/tools/text/mdbook-epub/default.nix
	pkgs/tools/text/mdbook-footnote/default.nix
	pkgs/tools/text/mdbook-katex/default.nix
	pkgs/tools/text/mdbook-mermaid/default.nix
	pkgs/tools/text/mdbook-pdf/default.nix
	pkgs/tools/text/mdbook-plantuml/default.nix
	pkgs/tools/text/mdbook-toc/default.nix
	pkgs/tools/text/mdcat/default.nix
	pkgs/tools/text/pinyin-tool/default.nix
	pkgs/tools/text/ruplacer/default.nix
	pkgs/tools/typesetting/tex/texpresso/tectonic.nix
	pkgs/tools/video/yaydl/default.nix

Then I ran:

	xargs -n 1 nix-update --version=skip

With this list of attributes corresponding to the changed files given
as standard input:

	listenbrainz-mpd
	minidsp
	muso
	parrot
	electrs
	snarkos
	teos
	teos-watchtower-plugin
	zcash
	greetd.greetd
	greetd.regreet
	greetd.tuigreet
	greetd.wlgreet
	emacsPackages.lspce.lspce-module
	gnvim.unwrapped
	vimPlugins.LanguageClient-neovim.LanguageClient-neovim-bin
	vimPlugins.avante-nvim.avante-nvim-lib
	vimPlugins.codesnap-nvim.codesnap-lib
	vimPlugins.cord-nvim.cord-nvim-rust
	vimPlugins.nvim-spectre.spectre_oxi
	vimPlugins.sg-nvim.sg-nvim-rust
	vimPlugins.sniprun.sniprun-bin
	vimPlugins.vim-markdown-composer.vim-markdown-composer-bin
	vscode-extensions.vadimcn.vscode-lldb.adapter
	zee
	whitebox-tools
	emulsion
	menyoki
	binocle
	cobalt
	eureka-ideas
	inherd-quake
	inlyne
	klipper-estimator
	mdzk
	pastel
	pomodoro
	pueue
	reddsaver
	stork
	terminal-typeracer
	asuka
	tuifeed
	geph.cli
	phetch
	twitch-tui
	tiny
	mhost
	mujmap
	synapse-bt
	aw-server-rust
	finalfrontier
	finalfusion-utils
	rink
	coolercontrol.coolercontrol-gui
	gfold
	git-absorb
	git-branchless
	git-cliff
	git-credential-keepassxc
	git-gone
	git-quickfix
	git-stack
	git-trim
	git-workspace
	gitoxide
	lucky-commit
	crosvm
	rust-hypervisor-firmware
	dwm-status
	i3status-rust
	i3-auto-layout
	i3-cycle-focus
	i3-ratiosplit
	wmfocus
	i3wsr
	mitm-cache
	gleam
	kind2
	ecpdap
	evcxr
	wasmer
	wasmtime
	dotenv-linter
	fac-build
	moon
	cocogitto
	buildkite-test-collector-rust
	dynein
	indradb-client
	indradb-server
	surrealdb-migrations
	dump_syms
	fnm
	geckodriver
	git-ps-rs
	gptcommit
	graphql-client
	hors
	htmlq
	jless
	kdash
	kubie
	dura
	pwninit
	texlab
	tokei
	pactorio
	tree-sitter
	perseus-cli
	py-spy
	rbspy
	remodel
	rover
	rover
	rubyfmt
	rust-bindgen-unwrapped
	cargo-audit
	cargo-bazel
	cargo-c
	cargo-cache
	cargo-clone
	cargo-codspeed
	cargo-crev
	cargo-cyclonedx
	cargo-edit
	cargo-flamegraph
	cargo-fund
	cargo-hf2
	cargo-lambda
	cargo-ndk
	cargo-outdated
	cargo-udeps
	cargo-vet
	cargo-watch
	cargo-whatfeatures
	cargo-zigbuild
	duckscript
	rustup
	sqlx-cli
	sentry-cli
	spr
	viceroy
	wrangler_1
	blightmud
	ferium
	kdePackages.akonadi-search
	kdePackages.angelfish
	kdePackages.kdepim-addons
	cliscord
	t-rec
	wiki-tui
	scx.rustscheds
	bindle
	doh-proxy-rust
	stargazer
	martin
	krill
	laurel
	prometheus-wireguard-exporter
	oxigraph
	piping-server-rust
	rtrtr
	postgresql16Packages.pgvecto-rs
	postgresql16Packages.pgx_ulid
	postgresql16Packages.timescaledb_toolkit
	nushell
	nushellPlugins.dbus
	nushellPlugins.formats
	nushellPlugins.gstat
	nushellPlugins.highlight
	nushellPlugins.net
	nushellPlugins.polars
	nushellPlugins.query
	nushellPlugins.skim
	nushellPlugins.units
	xidlehook
	coldsnap
	procs
	awsbck
	bupstash
	monolith
	rdedup
	aoc-cli
	apkeep
	didyoumean
	dijo
	diskus
	eludris
	fclones
	fclones-gui
	ffsend
	flowgger
	gh-cal
	grex
	hiksink
	hyperfine
	iay
	jsonwatch
	killport
	lighthouse-steamvr
	lorri
	nvfancontrol
	octofetch
	owofetch
	rust-motd
	shadowenv
	sheldon
	starship
	synth
	tab-rs
	tmux-sessionizer
	toastify
	topgrade
	tremor-rs
	vrc-get
	wagyu
	watchexec
	bore-cli
	bore
	cocom
	drill
	fast-ssh
	ifwifi
	innernet
	lychee
	mozwire
	ockam
	onetun
	rosenpass
	s3rs
	shadowsocks-rust
	suckit
	wg-netmanager
	nixci
	nix-du
	nix-template
	age-plugin-ledger
	feroxbuster
	genpass
	gpg-tui
	kbs2
	lethe
	rblake2sum
	rblake3sum
	rucredstash
	rustscan
	solo2-cli
	amber
	chars
	coloursum
	diffr
	fastmod
	igrep
	languagetool-rust
	mdbook-admonish
	mdbook-epub
	mdbook-footnote
	mdbook-katex
	mdbook-mermaid
	mdbook-pdf
	mdbook-plantuml
	mdbook-toc
	mdcat
	pinyin-tool
	ruplacer
	texpresso.tectonic
	yaydl

The list of files for the first command and the list of attributes for
the second command are in the same order, so it should be easy enough
to check their correspondence by putting them side by side.

It might be possible to parallelize the nix-update operations using
xargs' -P option.  I haven't tested it.
2025-01-23 12:23:46 +01:00
Silvan Mosberger 667d42c00d treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
      --argstr baseRev 57b193d8dd
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:27:17 +01:00
Leon Schuermann 72e71af459 rustup: add missing rust-darwin-setup script for ld-wrapper 2024-11-19 10:27:55 -05:00
Artturin e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Alyssa RossandEmily bd4bddc0d7 rustup: 1.26.0 -> 1.27.1
Required to build with Rust 1.80.

Link: https://github.com/rust-lang/rust/issues/127343
2024-08-10 17:24:54 +01:00
Alyssa Ross 3fe9664e2a rustup: convert to cargoHash
This used to have git dependencies, but no longer does.

Fixes: 26f5d6fbec ("rustup: 1.25.2 -> 1.26.0")
2024-08-06 21:43:48 +02:00
Alexis Hildebrandt f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +02:00
DianQK 198d71292f rustup: addressing a series of issues encountered while using Rust's
self-contained `ld.lld`
2024-06-08 10:07:31 +08:00
Utkarsh Gupta 26f5d6fbec rustup: 1.25.2 -> 1.26.0 2023-05-09 15:23:38 +05:30
Yureka f8cbc3c281 tree-wide: convert rust with git deps to importCargoLock 2023-03-26 01:52:04 +01:00
Vladimír Čunát bbd31f5ec2 rustup: 1.25.1 -> 1.25.2
.1 won't build since 2023-02-01 (date impurity)
https://hydra.nixos.org/log/akk9d52ainbdvd8x9v9l34csl1hr8ilz-rustup-1.25.1.drv
2023-02-09 12:20:24 +01:00
Nils 485fe8e9ba rustup: use makeBinaryWrapper instead of makeWrapper
Fix https://github.com/rust-lang/rustup/issues/3072
2022-09-23 18:26:41 +01:00
ajs124 659ea66a8e rustup: pin to openssl_1_1 2022-08-17 20:16:23 +02:00
Jörg ThalheimandYt 9813f7eede rustup: add rust-gdbgui symlink 2022-07-17 15:21:08 -04:00
Jiajie Chen 736f280e37 rustup: 1.24.3 -> 1.25.1 2022-07-16 12:11:13 +08:00
figsoda 314d6b8c35 rustup: use buildFeatures 2021-11-16 08:11:54 -05:00
R. RyanTM e48701e904 rustup: 1.24.2 -> 1.24.3 2021-09-14 09:49:21 +00:00
happysalada ceb8edb369 rustup: fix darwin build 2021-05-21 10:59:12 +09:00
happysalada 97335842d1 rustup: nixpkgs-fmt 2021-05-21 10:59:12 +09:00
Felix RathandJonathan Ringer 4df4036348 rustup: 1.24.1 -> 1.24.2 2021-05-20 17:27:28 -07:00
happysalada 246f329d53 rustup: 1.23.1 -> 1.24.1 2021-04-30 19:59:10 +09:00
Ben Siraphob c522fec274 pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
Jonathan RingerandJonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Profpatsch 4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Eduard-Mihai Burtescu dfc4b9d107 rustup: 1.22.1 -> 1.23.1 2020-12-09 12:49:11 +00:00
Tobias HappandJon b2679e8b41 rustup: add zlib as runtime dependency
Fixes https://github.com/NixOS/nixpkgs/issues/92946.
2020-09-02 10:57:35 -07:00
zowoq 473536e3b5 buildRustPackage: remove platform.all from packages 2020-08-16 12:48:18 +10:00
Maximilian Bosch 7713fba8f8 Revert "buildRustPackage: fix cargoBuildFlags"
This reverts commit deb78151a9.

Mixing up two distinct phases of a derivation's build is not a good idea. See
also https://github.com/NixOS/nixpkgs/pull/91689#issuecomment-657813954.
2020-07-14 17:39:09 +02:00
Frederik Rietdijk ae8eee9c3f Merge master into staging-next 2020-07-11 08:59:54 +02:00
R. RyanTM 0d68512749 rustup: 1.21.1 -> 1.22.1 2020-07-11 01:11:05 +00:00
Flakebiandzowoq deb78151a9 buildRustPackage: fix cargoBuildFlags
When features were supplied in cargoBuildFlags, the binaries were built
with these features enabled. Unless checking was disabled, `cargo test`
was executed without these build flags, meaning the binaries were
rebuilt and overwritten without the specified features.

Fix this bug by running tests after the installation phase.
2020-07-03 08:53:57 +10:00
Jade Harley 05b765d299 (rustup): (add zlib to rpath in rustup libraries)
(Rust now has a dynamic library dependence on zlib. (see https://github.com/rust-lang/rust/pull/72696))
2020-06-22 21:23:01 -05:00