mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-11-26 09:46:04 +03:00
linkchecker: disable because of performance issues
This commit is contained in:
parent
5798a23484
commit
1caf997f69
@ -22,26 +22,26 @@
|
||||
upstream, so that it's quick and can run often without blocking the
|
||||
iteration cycle unnecessarily.
|
||||
*/
|
||||
checks.linkcheck =
|
||||
pkgs.runCommand "linkcheck"
|
||||
{
|
||||
nativeBuildInputs = [pkgs.linkchecker pkgs.python3];
|
||||
site = config.packages.website;
|
||||
} ''
|
||||
# https://linkchecker.github.io/linkchecker/man/linkcheckerrc.html
|
||||
cat >>$TMPDIR/linkcheckrc <<EOF
|
||||
[checking]
|
||||
threads=''${NIX_BUILD_CORES:-4}
|
||||
# checks.linkcheck =
|
||||
# pkgs.runCommand "linkcheck"
|
||||
# {
|
||||
# nativeBuildInputs = [pkgs.linkchecker pkgs.python3];
|
||||
# site = config.packages.website;
|
||||
# } ''
|
||||
# # https://linkchecker.github.io/linkchecker/man/linkcheckerrc.html
|
||||
# cat >>$TMPDIR/linkcheckrc <<EOF
|
||||
# [checking]
|
||||
# threads=100
|
||||
|
||||
[AnchorCheck]
|
||||
# [AnchorCheck]
|
||||
|
||||
EOF
|
||||
# EOF
|
||||
|
||||
echo Checking $site
|
||||
linkchecker -f $TMPDIR/linkcheckrc $site/
|
||||
# echo Checking $site
|
||||
# linkchecker -f $TMPDIR/linkcheckrc $site/
|
||||
|
||||
touch $out
|
||||
'';
|
||||
# touch $out
|
||||
# '';
|
||||
|
||||
packages = {
|
||||
website = pkgs.stdenvNoCC.mkDerivation {
|
||||
|
Loading…
Reference in New Issue
Block a user