R. Ryantm
457c6bff3c
cedar: 4.11.2 -> 4.12.0
2026-08-02 08:29:46 +00:00
R. Ryantm
497e8c6383
cedar: 4.11.0 -> 4.11.2
2026-07-05 16:08:07 +00:00
Cathal Mullan
6e9a995c27
cedar: build cedar-language-server
2026-07-01 14:57:04 +01:00
Cathal Mullan
2f7a664841
cedar: 4.5.1 -> 4.11.0
2026-06-03 14:53:38 +01: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
R. Ryantm
436ae13191
cedar: 4.5.0 -> 4.5.1
2025-08-17 22:44:58 +00:00
TomaSajt
398b16e16c
treewide: remove useFetchCargoVendor usages
2025-07-26 11:39:35 +02:00
R. Ryantm
232f861e5f
cedar: 4.4.1 -> 4.5.0
2025-07-05 03:54:51 +00:00
R. Ryantm
488739423e
cedar: 4.4.0 -> 4.4.1
2025-05-26 11:22:17 +00:00
R. Ryantm
2db05fba55
cedar: 4.3.3 -> 4.4.0
2025-04-25 16:27:11 +00:00
R. Ryantm
1bdd1a9240
cedar: 4.3.2 -> 4.3.3
2025-03-03 07:35:09 +00:00
R. Ryantm
ca7dd87016
cedar: 4.3.1 -> 4.3.2
2025-02-18 07:58:15 +00:00
K900
3029205c9c
Merge remote-tracking branch 'origin/master' into staging-next
2025-02-04 17:12:39 +03:00
R. Ryantm
07f14030db
cedar: 4.3.0 -> 4.3.1
2025-02-04 07:30:03 +00:00
Alyssa Ross
53de5140ae
Merge remote-tracking branch 'origin/staging-next' into staging
...
Conflicts:
pkgs/applications/editors/vim/plugins/non-generated/nvim-spectre/default.nix
pkgs/applications/editors/vim/plugins/non-generated/sg-nvim/default.nix
pkgs/by-name/ce/cedar/package.nix
pkgs/by-name/gn/gnome-podcasts/package.nix
pkgs/by-name/ru/rust-analyzer-unwrapped/package.nix
pkgs/by-name/sy/systemctl-tui/package.nix
pkgs/by-name/ti/tinty/package.nix
2025-01-24 16:40:22 +01:00
R. Ryantm
7427877976
cedar: 4.2.2 -> 4.3.0
2025-01-23 20:54:04 +00:00
Alyssa Ross
63bff8c132
treewide: migrate to fetchCargoVendor, batch 1
...
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 do so, get the list
of files changed by this commit, e.g. with git diff --name-only, then
run the following two commands, each with that list of files as their
standard input:
xargs sed -i 's/^\(. *\)\(cargoHash\)\b/\1useFetchCargoVendor = true;\n\1cargoHash/'
cut -d / -f 4 | xargs -n 1 nix-update --version=skip
This will take a long time. It might be possible to parallelize it
using xargs' -P option. I haven't tested it.
2025-01-23 11:46:43 +01:00
Peder Bergebakken Sundt
0cd04d3036
treewide: migrate fetchgit rev = "refs/tags/..." to tag
2025-01-04 00:19:17 +01:00
Abin Simon
d163a0ea76
cedar: init at 4.2.2 ( #360328 )
2024-12-09 04:19:21 -05:00