hermit: Fix build

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

View file

@ -8,9 +8,12 @@ in fetchzip rec {
url = "https://pcaro.es/d/otf-${name}.tar.gz";
stripRoot = false;
postFetch = ''
tar xf $downloadedFile
install -m444 -Dt $out/share/fonts/opentype *.otf
install -m444 -Dt $out/share/fonts/opentype $out/*.otf
shopt -s extglob dotglob
rm -rf $out/!(share)
shopt -u extglob dotglob
'';
sha256 = "127hnpxicqya7v1wmzxxqafq3aj1n33i4j5ncflbw6gj5g3bizwl";