sarasa-gothic: replace p7zip with libarchive
This commit is contained in:
parent
683c68232e
commit
4eb3829539
|
@ -1,4 +1,4 @@
|
||||||
{ lib, fetchurl, p7zip }:
|
{ lib, fetchurl, libarchive }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "0.8.2";
|
version = "0.8.2";
|
||||||
|
@ -12,7 +12,8 @@ in fetchurl {
|
||||||
downloadToTemp = true;
|
downloadToTemp = true;
|
||||||
|
|
||||||
postFetch = ''
|
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; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in New Issue