R. Ryantm
edd4c9cb8c
lychee: 0.24.1 -> 0.24.2
2026-06-15 18:55:37 +00:00
Robert Hensing
fb0d18ee0b
testers.lycheeLinkCheck: improve root-relative link UX
...
Lychee by itself does not have a way to explicitly declare the
intent for the site to be relocatable.
Recent-ish changes in lychee and/or its dependencies have made
it catch the a root reference in all mdbook 404.html pages,
which is quite confusing.
By improving the UX around this aspect of the site, we resolve
at least part of that confusion.
(Though mdbook users should probably exclude the 404 page)
2026-05-16 12:35:07 +02:00
Robert Hensing
d8e48b9c9d
lychee.tests.network: use with subtest
2026-05-09 23:03:35 +02:00
Robert Hensing
e6b8b50ab4
lychee.tests.fail-emptyDirectory: fix
...
The textual output format changed in the last update, so let's
switch this to JSON, so that it's less likely to be affected by
similar kinds of changes going forward.
2026-05-09 23:01:02 +02:00
Robert Hensing
71a39baee8
testers.lycheeLinkCheck: add extraArgs
2026-05-09 23:01:02 +02:00
Thomas Zahner
39aea2d52a
lychee: 0.23.0 -> 0.24.1
2026-04-29 11:38:16 +02:00
Thomas Zahner
3238052222
lychee: 0.22.0 -> 0.23.0
...
Thank you @Scrumplex for suggesting the fix for lycheeLinkCheck
Co-authored-by: Philip Taron <philip.taron@gmail.com >
2026-03-06 11:16:45 -08: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
Thomas Zahner
4f9b3c2548
lychee: 0.21.0 -> 0.22.0
...
Note that we include one revision after 0.22.0 where octocrab was bumped to v0.48.1.
This fixes a build error. See https://github.com/XAMPPRocky/octocrab/pull/828
2026-02-02 12:09:28 +01:00
Martin Joerg
7122d0a7e3
lychee: avoid unstable usage of fetchgit.leaveDotGit
2025-10-29 16:45:42 +00:00
Thomas Zahner
81618d1a82
lychee: 0.20.1 -> 0.21.0
2025-10-23 19:35:16 +02:00
R. Ryantm
12a1905020
lychee: 0.20.0 -> 0.20.1
2025-09-02 08:33:01 +00:00
R. Ryantm
352dc09a50
lychee: 0.19.1 -> 0.20.0
2025-08-22 07:44:47 +00:00
TomaSajt
398b16e16c
treewide: remove useFetchCargoVendor usages
2025-07-26 11:39:35 +02:00
Paul Meyer
2bdeaaf1c4
lychee: re-enable some tests
...
as discussed in https://github.com/NixOS/nixpkgs/pull/423986#discussion_r2213305197
Signed-off-by: Paul Meyer <katexochen0@gmail.com >
2025-07-17 17:02:01 +02:00
Paul Meyer
2c48e1cdd5
lychee: 0.18.1 -> 0.19.1 ( #423986 )
2025-07-16 17:33:24 +02:00
Jakob Schöttl
bc122c4fab
lychee: 0.18.1 -> 0.19.1
2025-07-09 22:29:29 +02:00
Peder Bergebakken Sundt
c4f02ff31e
treewide: substitute pname for strings
2025-05-29 17:04:28 +02:00
jopejoe1
7d30c40939
treewide: migrate packages to pkgs/by-name, again
2025-03-25 17:00:45 +01:00