mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-11-23 00:13:02 +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
|
upstream, so that it's quick and can run often without blocking the
|
||||||
iteration cycle unnecessarily.
|
iteration cycle unnecessarily.
|
||||||
*/
|
*/
|
||||||
checks.linkcheck =
|
# checks.linkcheck =
|
||||||
pkgs.runCommand "linkcheck"
|
# pkgs.runCommand "linkcheck"
|
||||||
{
|
# {
|
||||||
nativeBuildInputs = [pkgs.linkchecker pkgs.python3];
|
# nativeBuildInputs = [pkgs.linkchecker pkgs.python3];
|
||||||
site = config.packages.website;
|
# site = config.packages.website;
|
||||||
} ''
|
# } ''
|
||||||
# https://linkchecker.github.io/linkchecker/man/linkcheckerrc.html
|
# # https://linkchecker.github.io/linkchecker/man/linkcheckerrc.html
|
||||||
cat >>$TMPDIR/linkcheckrc <<EOF
|
# cat >>$TMPDIR/linkcheckrc <<EOF
|
||||||
[checking]
|
# [checking]
|
||||||
threads=''${NIX_BUILD_CORES:-4}
|
# threads=100
|
||||||
|
|
||||||
[AnchorCheck]
|
# [AnchorCheck]
|
||||||
|
|
||||||
EOF
|
# EOF
|
||||||
|
|
||||||
echo Checking $site
|
# echo Checking $site
|
||||||
linkchecker -f $TMPDIR/linkcheckrc $site/
|
# linkchecker -f $TMPDIR/linkcheckrc $site/
|
||||||
|
|
||||||
touch $out
|
# touch $out
|
||||||
'';
|
# '';
|
||||||
|
|
||||||
packages = {
|
packages = {
|
||||||
website = pkgs.stdenvNoCC.mkDerivation {
|
website = pkgs.stdenvNoCC.mkDerivation {
|
||||||
|
Loading…
Reference in New Issue
Block a user