sarasa-gothic: replace p7zip with libarchive

This commit is contained in:
oxalica 2020-05-13 13:24:14 +08:00
parent 683c68232e
commit 4eb3829539
No known key found for this signature in database
GPG key ID: CED392DE0C483D00

View file

@ -1,4 +1,4 @@
{ lib, fetchurl, p7zip }:
{ lib, fetchurl, libarchive }:
let
version = "0.8.2";
@ -12,7 +12,8 @@ in fetchurl {
downloadToTemp = true;
postFetch = ''
${p7zip}/bin/7z x $downloadedFile -o$out/share/fonts
mkdir -p $out/share/fonts
${libarchive}/bin/bsdtar -xf $downloadedFile -C $out/share/fonts
'';
meta = with lib; {