R. Ryantm
|
55c5ceb3d6
|
git-workspace: 1.10.1 -> 1.11.0
|
2026-08-13 12:19:12 +00:00 |
|
Eman Resu
|
ff094f60ad
|
treewide: replace more singleton license lists
|
2026-07-15 14:04:39 -04:00 |
|
R. Ryantm
|
dc02c5ea0b
|
git-workspace: 1.10.0 -> 1.10.1
|
2026-03-27 08:29:44 +00:00 |
|
R. Ryantm
|
e3aaf14f69
|
git-workspace: 1.9.0 -> 1.10.0
|
2026-02-22 08:28:51 +00:00 |
|
quantenzitrone
|
d26a1a9e5e
|
various: switch buildRustPackage packages to use finalAttrs
this shouldn't create any rebuilds
the following script was used to generate this:
```fish
#!/usr/bin/env fish
# nix shell .#nixfmt nixpkgs#{nixf-diagnose,ripgrep,sd}
set base (git rev-parse HEAD)
set scope pkgs/by-name
set builder buildRustPackage
set files (rg --files-with-matches -F "$builder rec {" $scope | sort -u)
for file in $files
echo $file
sd -F "$builder rec {" "$builder (finalAttrs: {" $file
# version
sd -F 'version}' 'finalAttrs.version}' $file
sd -F '${version' '${finalAttrs.version' $file
sd -F '= version' '= finalAttrs.version' $file
sd -F 'inherit version;' 'inherit (finalAttrs) version;' $file
sd -F ' + version;' ' + finalAttrs.version;' $file
sd 'replaceStrings (.*) version' 'replaceStrings $1 finalAttrs.version' $file
sd -F 'splitVersion version' 'splitVersion finalAttrs.version' $file
sd -F 'versionAtLeast version' 'versionAtLeast finalAttrs.version' $file
sd 'versions\.([a-z]+) version' 'versions.$1 finalAttrs.version' $file
# src
sd -F 'src}' 'finalAttrs.src}' $file
sd -F '${src' '${finalAttrs.src' $file
sd -F '= src' '= finalAttrs.src' $file
sd -F 'inherit src;' 'inherit (finalAttrs) src;' $file
sd -F 'inherit (src' 'inherit (finalAttrs.src' $file
# meta
sd -F '${meta' '${finalAttrs.meta' $file
sd -F '= meta' '= finalAttrs.meta' $file
sd -F 'inherit (meta' 'inherit (finalAttrs.meta' $file
# other
sd -F 'inherit version src;' 'inherit (finalAttrs) version src;' $file
sd -F 'inherit src version;' 'inherit (finalAttrs) src version;' $file
sd -F 'makeLibraryPath buildInputs' 'makeLibraryPath finalAttrs.buildInputs' $file
sd -F 'buildInputs}' 'finalAttrs.buildInputs}' $file
sd -F 'desktopItem}' 'finalAttrs.desktopItem}' $file
sd -F 'runtimeLibs}' 'finalAttrs.runtimeLibs}' $file
sd -F 'libPath}' 'finalAttrs.libPath}' $file
sd -F 'runtimeDependencies}' 'finalAttrs.runtimeDependencies}' $file
sd -F 'nativeRuntimeInputs}' 'finalAttrs.nativeRuntimeInputs}' $file
sd -F '(!doCheck)' '(!finalAttrs.doCheck)' $file
sd -F 'optional doCheck' 'optional finalAttrs.doCheck' $file
sd -F 'optionals doCheck' 'optionals finalAttrs.doCheck' $file
sd -F '++ runtimeDependencies' '++ finalAttrs.runtimeDependencies' $file
# pname (restored afterwards)
sd -F 'pname}' 'finalAttrs.pname}' $file
sd -F '${pname' '${finalAttrs.pname' $file
sd -F '= pname' '= finalAttrs.pname' $file
# close finalAttrs lambda
echo ')' >>$file
# catch some errors early
if ! nixfmt $file
git restore $file
continue
end
if ! nixf-diagnose -i sema-primop-overridden $file
git restore $file
continue
end
end
set torestore (rg -F .finalAttrs --files-with-matches $scope)
if test (count $torestore) -gt 0
git restore $torestore
end
set torestore (rg -F finalAttrs.pname --files-with-matches $scope)
if test (count $torestore) -gt 0
git restore $torestore
end
# commit for faster eval times
git add pkgs
git commit --no-gpg-sign -m temp
set torestore
for file in $files
# file hasn't changed
if git diff --quiet $base $file
continue
end
# try to eval the package to definitely catch all errors
echo $file
set pname (string split / $file -f 4)
if ! nix eval .#$pname
set torestore $torestore $file
end
end
# restore files that don't eval
git reset --soft $base
git restore --staged .
if test (count $torestore) -gt 0
git restore $torestore
end
```
after that some manual cleanup was done:
- restoring files that cause changes in the number of lines
- restoring files that cause rebuilds
- restoring files that cause merge conflicts with staging
|
2026-02-07 09:53:17 +01:00 |
|
TomaSajt
|
398b16e16c
|
treewide: remove useFetchCargoVendor usages
|
2025-07-26 11:39:35 +02:00 |
|
emaryn
|
50bd78f8b7
|
git-workspace: 1.8.0 -> 1.9.0
|
2025-02-22 19:03:32 +08:00 |
|
emaryn
|
2654e2a0ed
|
git-workspace: refactor
|
2025-02-22 10:26:50 +08:00 |
|
Alyssa Ross
|
502c77492b
|
Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
pkgs/applications/editors/vim/plugins/non-generated/avante-nvim/default.nix
pkgs/applications/editors/vim/plugins/non-generated/cord-nvim/default.nix
pkgs/applications/version-management/git-stack/default.nix
pkgs/by-name/bo/boxbuddy/package.nix
pkgs/by-name/ca/capnproto-rust/package.nix
pkgs/by-name/ca/cargo-binstall/package.nix
pkgs/by-name/ca/cargo-deb/package.nix
pkgs/by-name/ca/cargo-modules/package.nix
pkgs/by-name/cl/clapboard/package.nix
pkgs/by-name/do/dotslash/package.nix
pkgs/by-name/fe/felix-fm/package.nix
pkgs/by-name/gi/gitlab-ci-ls/package.nix
pkgs/by-name/go/gotify-desktop/package.nix
pkgs/by-name/ha/handlr-regex/package.nix
pkgs/by-name/ir/iroh/package.nix
pkgs/by-name/ma/manga-tui/package.nix
pkgs/by-name/ob/obs-cmd/package.nix
pkgs/by-name/ox/oxlint/package.nix
pkgs/by-name/pi/pik/package.nix
pkgs/by-name/re/reindeer/package.nix
pkgs/by-name/rn/rnr/package.nix
pkgs/by-name/ro/routinator/package.nix
pkgs/by-name/rw/rwpspread/package.nix
pkgs/by-name/sk/skim/package.nix
pkgs/by-name/so/sope/package.nix
pkgs/by-name/so/soteria/package.nix
pkgs/by-name/sp/spacer/package.nix
pkgs/by-name/st/stylance-cli/package.nix
pkgs/by-name/su/subxt/package.nix
pkgs/by-name/sw/swayfx-unwrapped/package.nix
pkgs/by-name/te/television/package.nix
pkgs/by-name/to/toast/package.nix
pkgs/by-name/wa/wastebin/package.nix
pkgs/by-name/wi/wit-bindgen/package.nix
pkgs/by-name/wo/workshop-runner/package.nix
pkgs/development/interpreters/wasmtime/default.nix
pkgs/development/tools/rust/cargo-edit/default.nix
pkgs/development/tools/sentry-cli/default.nix
pkgs/misc/t-rec/default.nix
pkgs/tools/video/yaydl/default.nix
|
2025-01-26 14:55:08 +01:00 |
|
misuzu
|
82bc5bbd5b
|
git-workspace: nixfmt
|
2025-01-23 20:33:32 +02:00 |
|
misuzu
|
3eeb3fed00
|
git-workspace: move to pkgs/by-name
|
2025-01-23 20:33:19 +02:00 |
|