publicsuffix-list: Fix build

Fallout from #173430. Fixes #178825.
This commit is contained in:
Zhaofeng Li 2022-09-08 14:55:32 -06:00
parent 834287523c
commit 40e49795aa

View file

@ -11,8 +11,10 @@ in fetchFromGitHub {
sha256 = "sha256-Q8uIXM1CMu8dlWcVoL17M1XRGu3kG7Y7jpx0oHQh+2I=";
postFetch = ''
tar xf $downloadedFile --strip=1
install -Dm0444 public_suffix_list.dat tests/test_psl.txt -t $out/share/publicsuffix
install -Dm0444 $out/public_suffix_list.dat $out/tests/test_psl.txt -t $out/share/publicsuffix
shopt -s extglob dotglob
rm -rf $out/!(share)
shopt -u extglob dotglob
'';
meta = with lib; {