packages/{ai_blocklist,hategroup_blocklist,hrt-time}: enable local build

This commit is contained in:
Primrose 2025-12-17 11:21:10 +08:00
parent 454869ca86
commit 1ee7160610
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
3 changed files with 12 additions and 0 deletions

View file

@ -17,6 +17,10 @@ stdenvNoCC.mkDerivation {
hash = "sha256-p3wfR28DH6V8BHn9DT10d09Yq3mdbBecWwlR1CdDYUA="; hash = "sha256-p3wfR28DH6V8BHn9DT10d09Yq3mdbBecWwlR1CdDYUA=";
}; };
# Build takes no time
preferLocalBuild = true;
allowSubstitutes = false;
installPhase = '' installPhase = ''
mkdir -p $out/share mkdir -p $out/share
cp noai_hosts.txt $out/share/hosts.txt cp noai_hosts.txt $out/share/hosts.txt

View file

@ -17,6 +17,10 @@ stdenvNoCC.mkDerivation {
hash = "sha256-SZBrjIBUw687MdrbOV7WrP5IhAAtKvPL2GqdcICHNvQ="; hash = "sha256-SZBrjIBUw687MdrbOV7WrP5IhAAtKvPL2GqdcICHNvQ=";
}; };
# Build takes no time
preferLocalBuild = true;
allowSubstitutes = false;
installPhase = '' installPhase = ''
mkdir -p $out/share mkdir -p $out/share
cp blocklist.txt $out/share/domains.txt cp blocklist.txt $out/share/domains.txt

View file

@ -17,6 +17,10 @@ stdenvNoCC.mkDerivation {
hash = "sha256-+AhLkcCETVnF6S+ov1oKxhs3M9F6ghyyERoLN3aMMxw="; hash = "sha256-+AhLkcCETVnF6S+ov1oKxhs3M9F6ghyyERoLN3aMMxw=";
}; };
# Build takes no time
preferLocalBuild = true;
allowSubstitutes = false;
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/bin
cp hrt-time.sh $out/bin/hrt-time cp hrt-time.sh $out/bin/hrt-time